Skip to content

Commit 16f905d

Browse files
author
ragsden
committed
Merge pull request #2 from OneRedOak/master
Fix to Build Failing
2 parents c033365 + 5cf3206 commit 16f905d

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cassandra-buildsample
1+
Cassandra-Buildsample
22
=====================
33

44
Build sample written in ruby that uses `cassandra` database service

sample.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
require 'cassandra'
32

43
puts "creating new keyspace.."
@@ -18,7 +17,4 @@
1817
puts "output data from the program.."
1918
client.each_key("users") do |user|
2019
puts "key : " + user
21-
end
22-
23-
24-
20+
end

shippable.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ services:
55

66
install:
77
- gem install cassandra
8-
9-
before_script:
10-
- cassandra-cli -host localhost -port 9160 -f removeKeyspace.txt
118

129
script:
1310
- cassandra-cli -host localhost -port 9160 -f schema.txt
1411
- ruby sample.rb
12+
- cassandra-cli -host localhost -port 9160 -f removeKeyspace.txt
13+

0 commit comments

Comments
 (0)