blsk_ruby_core_api 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b3b215fa09bf2314a87a1c65dd89bd2831d6e9fe5d3d1c0c029b4191c269b61
4
- data.tar.gz: af3303db5efecd8196d61199003fd81a9359e06794d5f70c443f5de4d30228a9
3
+ metadata.gz: 951752d03f54da4ddbf6d0b906bbe453332912625b091bab48c7c7e37e5e25bb
4
+ data.tar.gz: d720cdadec8d3028824975157e60e2399622cd9191b807e9d87bb8891728a626
5
5
  SHA512:
6
- metadata.gz: de76b2ceba5a1bed4548863b5fbc5446f333b23b4867a24c532afa3db4c1727bb2637c82255ab52be7a00b05393b7f467d6861d6755c60becb7a1b24d612d6dd
7
- data.tar.gz: eb2a7d559858d29f8f46f1496574ff030a5a66cc0d7793bcca72baeb8960a27922168163724855a027339f0334a51ec6643cc2958f5230bcf52c2af1d5e36695
6
+ metadata.gz: 5cb52c3820d425bea73fef1efc672ef581a35cf06cec8a2e63ad519260b63f6455379f9be9f310d195af414058c31f9332ef17d102005a1d0a818609a29ee367
7
+ data.tar.gz: fe0eda37e2478952eb4589c96debca2dbb0afceb80076381cda00e983545b85b01251bb03431aae3d4dd44f6fb1bf6e4978f2e75de4b1100a1986a063f5d801e
@@ -50,7 +50,7 @@ module AbstractedCassandraRepository
50
50
  end
51
51
  end
52
52
 
53
- def run_cql(cql_query='', keyspace_name=nil, table_name=nil)
53
+ def run_query(cql_query='', keyspace_name=nil, table_name=nil)
54
54
  if keyspace_name && table_name
55
55
  session = cassandra_cluster.connect(keyspace_name)
56
56
  result = session.execute(cql_query)
@@ -20,7 +20,7 @@ class CassandraService
20
20
  def start
21
21
  # puts 'start cassandra, create cluster'
22
22
  if !cassandra_cluster
23
- cassandra_cluster = Cassandra.cluster(CassandraConfiguration::CONFIG)
23
+ cassandra_cluster = Cassandra.cluster(CassandraConfiguration::CONFIG)
24
24
  end
25
25
  cassandra_cluster
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blsk_ruby_core_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fusin Thang