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

nepalez / rom-cassandra / 36
98%

Build:
DEFAULT BRANCH: master
Ran 08 Aug 2015 09:55AM UTC
Jobs 5
Files 11
Run time 28s
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
36

push

travis-ci

nepalez
[FEATURE] Add modifiers to the `Delete` command

The command's dataset can be modified locally using commands
`#where`, `#using` and `#columns`:

    class DeleteColumns < ROM::Commands::Delete[:cassandra]
      relation :tasks
      register_as :delete_columns

      def execute(*cols)
        super columns(cols).using(consistency: :quorum)
      end
    end

    delete_columns = rom.command(:delete_columns)
    delete_columns.by_id(1).call(:text) # deletes 'text' column of the row with id = 1

The `Delete` class has been refactored on the base of `Commands::DSL`.

== Changed

* ROM::Cassandra::Commands::Delete
* ROM::Cassandra::Dataset#delete (restricted by :using, :where and :columns options)

160 of 165 relevant lines covered (96.97%)

41.76 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 36.1 (1.9.3) 08 Aug 2015 09:55AM UTC 0
96.97
Travis Job 36.1
2 36.2 (2.0) 08 Aug 2015 09:55AM UTC 0
96.97
Travis Job 36.2
3 36.3 (2.1) 08 Aug 2015 09:55AM UTC 0
96.97
Travis Job 36.3
4 36.4 (2.2) 08 Aug 2015 09:55AM UTC 0
96.97
Travis Job 36.4
5 36.5 (ruby-head) 08 Aug 2015 09:55AM UTC 0
96.97
Travis Job 36.5
Source Files on build 36
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #36
  • bf793e5b on github
  • Prev Build on master (#35)
  • Next Build on master (#37)
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