• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nepalez / rom-cassandra / 38
98%

Build:
DEFAULT BRANCH: master
Ran 08 Aug 2015 10:44AM UTC
Jobs 4
Files 12
Run time 20s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
38

push

travis-ci

nepalez
[FEATURE] Add `Update` command

The command updates selected records.
Dataset modifiers `#set`, `#where` and `#using` are available:

    class UpdateName < ROM::Commands::Update[:cassandra]
      relation :items
      register_as :update_name

      def execture(id, name)
        super set(name: name).where(id: id).using(consistency: :quorum)
      end
    end

    update_name = rom.command(:users).update_name
    update_name.call(1, "Andrew")

== Added

* ROM::Cassandra::Commands::Update

== Changed

* ROM::Cassandra::Dataset#update (only :set, :where and :using keys are available)

169 of 174 relevant lines covered (97.13%)

35.08 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/rom/cassandra/dataset.rb
Jobs
ID Job ID Ran Files Coverage
1 38.1 (1.9.3) 08 Aug 2015 10:44AM UTC 0
97.13
Travis Job 38.1
2 38.2 (2.0) 08 Aug 2015 10:44AM UTC 0
97.13
Travis Job 38.2
4 38.4 (2.2) 08 Aug 2015 10:44AM UTC 0
97.13
Travis Job 38.4
5 38.5 (ruby-head) 08 Aug 2015 10:44AM UTC 0
97.13
Travis Job 38.5
Source Files on build 38
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #38
  • eb913325 on github
  • Prev Build on master (#37)
  • Next Build on master (#39)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc