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

nepalez / rom-cassandra / 35
98%

Build:
DEFAULT BRANCH: master
Ran 08 Aug 2015 08:48AM UTC
Jobs 5
Files 10
Run time 22s
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
35

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

Jobs
ID Job ID Ran Files Coverage
1 35.1 (1.9.3) 08 Aug 2015 08:48AM UTC 0
95.63
Travis Job 35.1
2 35.2 (2.0) 08 Aug 2015 08:49AM UTC 0
95.63
Travis Job 35.2
3 35.3 (2.1) 08 Aug 2015 08:48AM UTC 0
95.63
Travis Job 35.3
4 35.4 (2.2) 08 Aug 2015 08:48AM UTC 0
95.63
Travis Job 35.4
5 35.5 (ruby-head) 08 Aug 2015 08:49AM UTC 0
95.63
Travis Job 35.5
Source Files on build 35
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #35
  • 25c0af8a on github
  • Prev Build on master (#34)
  • Next Build on master (#36)
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