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

nepalez / rom-cassandra / 34
98%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2015 10:59PM UTC
Jobs 5
Files 10
Run time 23s
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
34

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

== Changed

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

153 of 160 relevant lines covered (95.63%)

42.72 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
lib/rom/cassandra/dataset.rb
2
100.0
lib/rom/cassandra/commands/delete.rb
Jobs
ID Job ID Ran Files Coverage
1 34.1 (1.9.3) 07 Aug 2015 10:59PM UTC 0
95.63
Travis Job 34.1
2 34.2 (2.0) 07 Aug 2015 10:59PM UTC 0
95.63
Travis Job 34.2
3 34.3 (2.1) 07 Aug 2015 10:59PM UTC 0
95.63
Travis Job 34.3
4 34.4 (2.2) 07 Aug 2015 10:59PM UTC 0
95.63
Travis Job 34.4
5 34.5 (ruby-head) 07 Aug 2015 11:00PM UTC 0
95.63
Travis Job 34.5
Source Files on build 34
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #34
  • 888c21cf on github
  • Prev Build on master (#33)
  • Next Build on master (#35)
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