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

nepalez / rom-cassandra / 42
98%

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

push

travis-ci

nepalez
[FEATURE] Add `Batch` command

The command provides batched CQL query.
Modifiers `#add` (low-level), `#create`, `#update`, and `#delete` are available.

    class Batch < ROM::Cassandra::Commands::Batch
      relation :users
      register_as :batch

      def execture(id, name)
        super delete(id: id).create(id: id, name: name)
      end
    end

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

The `Dataset#add` method has also been defined.

== Added

* ROM::Cassandra::Commands::Batch
* ROM::Cassandra::Dataset#add

197 of 205 relevant lines covered (96.1%)

44.8 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
lib/rom/cassandra/dataset.rb
Jobs
ID Job ID Ran Files Coverage
1 42.1 (1.9.3) 09 Aug 2015 08:43AM UTC 0
96.1
Travis Job 42.1
2 42.2 (2.0) 09 Aug 2015 08:43AM UTC 0
96.1
Travis Job 42.2
3 42.3 (2.1) 09 Aug 2015 08:42AM UTC 0
96.1
Travis Job 42.3
4 42.4 (2.2) 09 Aug 2015 08:43AM UTC 0
96.1
Travis Job 42.4
5 42.5 (ruby-head) 09 Aug 2015 08:43AM UTC 0
96.1
Travis Job 42.5
Source Files on build 42
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #42
  • b1fe02b0 on github
  • Prev Build on master (#41)
  • Next Build on master (#43)
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