stormglass 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/stormglass.rb +1 -1
- data/lib/stormglass/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ba3a8c713935c1a410a716de3f97aca15d3369b
|
4
|
+
data.tar.gz: 52f5aab5437326be1e385f85991899cb967c9f21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1741f6b05be27bb600d46bf99a9bec40c2ebd1b96385bed469f3dcab5f641052002e66bb63b55de555361e8a35965ca0e47315342822308b8c969792bd4910a
|
7
|
+
data.tar.gz: d9fe55ac75134418f4b67415c24a48b0af582b351125e30494ef276243fc116d29a5daf15f398a67ed883816d036d5fd165790a987a645ec0cddc0ff12f5ecf8
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
|
4
|
+
stormglass (0.1.1)
|
5
5
|
geocoder
|
6
6
|
rest-client
|
7
7
|
|
@@ -31,10 +31,10 @@ PLATFORMS
|
|
31
31
|
ruby
|
32
32
|
|
33
33
|
DEPENDENCIES
|
34
|
-
Stormglass!
|
35
34
|
bundler (~> 1.16)
|
36
35
|
minitest (~> 5.3)
|
37
36
|
rake (~> 10.0)
|
37
|
+
stormglass!
|
38
38
|
|
39
39
|
BUNDLED WITH
|
40
40
|
1.16.6
|
data/lib/stormglass.rb
CHANGED
@@ -87,7 +87,7 @@ module Stormglass
|
|
87
87
|
# - when passed directly to parameters
|
88
88
|
def self.api_key
|
89
89
|
key = Stormglass.settings.api_key
|
90
|
-
key ||= Rails.application.
|
90
|
+
key ||= Rails.application.credentials[:stormglass_api_key] if Gem.loaded_specs.has_key?('rails')
|
91
91
|
key
|
92
92
|
end
|
93
93
|
|
data/lib/stormglass/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stormglass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Russell Jennings
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|