golos_cloud 1.0.0 → 1.1.1rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +7 -0
- data/lib/golos_cloud/models/sql_base.rb +3 -3
- data/lib/golos_cloud/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 469fad818b71c50bd9ddaf020e0a3375b1c1e9a0
|
4
|
+
data.tar.gz: 109be3befea5d2b91931f0fbfae1254daae33a50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80f7a35ff853d93b40b099a24d7605dd33ed9f97e807446bf019df81fe2d3277998d4d9c5b245893268731119451cac29ca429d0690e138cace7f35b0f3a8ca0
|
7
|
+
data.tar.gz: 54aa5997b50818c32a7f4cee95c9d9fb172158e0f9958dc4560f122eecf599c004d41b1c7d2b4bce1f8ebf0b9df233b20506abbe3fd368a6ec2440e0dafafb6e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
golos_cloud (1.
|
4
|
+
golos_cloud (1.1.1rc1)
|
5
5
|
activerecord (>= 4, < 6)
|
6
6
|
activerecord-sqlserver-adapter (>= 4, < 6)
|
7
7
|
nokogiri (~> 1.8)
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
activemodel (= 5.1.4)
|
18
18
|
activesupport (= 5.1.4)
|
19
19
|
arel (~> 8.0)
|
20
|
-
activerecord-sqlserver-adapter (5.1.
|
20
|
+
activerecord-sqlserver-adapter (5.1.6)
|
21
21
|
activerecord (~> 5.1.0)
|
22
22
|
tiny_tds
|
23
23
|
activesupport (5.1.4)
|
@@ -32,13 +32,13 @@ GEM
|
|
32
32
|
unf (>= 0.0.5, < 1.0.0)
|
33
33
|
http-cookie (1.0.3)
|
34
34
|
domain_name (~> 0.5)
|
35
|
-
i18n (0.9.
|
35
|
+
i18n (0.9.3)
|
36
36
|
concurrent-ruby (~> 1.0)
|
37
37
|
mime-types (3.1)
|
38
38
|
mime-types-data (~> 3.2015)
|
39
39
|
mime-types-data (3.2016.0521)
|
40
40
|
mini_portile2 (2.3.0)
|
41
|
-
minitest (5.
|
41
|
+
minitest (5.11.2)
|
42
42
|
netrc (0.11.0)
|
43
43
|
nokogiri (1.8.1)
|
44
44
|
mini_portile2 (~> 2.3.0)
|
data/README.md
CHANGED
@@ -7,9 +7,16 @@
|
|
7
7
|
* `gem 'golos_cloud', '~> 1.0'`
|
8
8
|
- Bundle Install Gems
|
9
9
|
* `bundle install`
|
10
|
+
|
11
|
+
### How to Subscribe
|
12
|
+
|
13
|
+
As of 2018-01-23, [SteemSQL is moving to a monthly subscription model](https://steemit.com/steemsql/@arcange/steemsql-is-moving-to-a-monthly-subscription-model). To use this gem, you must subscribe to @steemsql and store the credentials as environment variables.
|
10
14
|
|
11
15
|
### How To Use (Standalone)
|
12
16
|
- `gem install golos_cloud`
|
17
|
+
- export GOLOSCLOUD_HOST=<your steemsql host>
|
18
|
+
- export GOLOSCLOUD_USERNAME=<your steemsql username>
|
19
|
+
- export GOLOSCLOUD_PASSWORD=<your steemsql password>
|
13
20
|
- `irb`
|
14
21
|
- `require 'golos_cloud'`
|
15
22
|
- `GolosCloud::Comment.last`
|
@@ -5,9 +5,9 @@ module GolosCloud
|
|
5
5
|
|
6
6
|
establish_connection({
|
7
7
|
adapter: "sqlserver",
|
8
|
-
host:
|
9
|
-
username:
|
10
|
-
password:
|
8
|
+
host: ENV['GOLOSCLOUD_HOST'] || 'api.golos.cloud',
|
9
|
+
username: ENV['GOLOSCLOUD_USERNAME'] || 'golos',
|
10
|
+
password: ENV['GOLOSCLOUD_PASSWORD'] || 'golos',
|
11
11
|
timeout: 60
|
12
12
|
})
|
13
13
|
|
data/lib/golos_cloud/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: golos_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Martin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -228,9 +228,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
228
228
|
version: '0'
|
229
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
230
|
requirements:
|
231
|
-
- - "
|
231
|
+
- - ">"
|
232
232
|
- !ruby/object:Gem::Version
|
233
|
-
version:
|
233
|
+
version: 1.3.1
|
234
234
|
requirements: []
|
235
235
|
rubyforge_project:
|
236
236
|
rubygems_version: 2.6.14
|