siteleaf 2.0.0.pre.beta1 → 2.0.0.pre.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/siteleaf +2 -2
- data/lib/siteleaf/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aaec0c3df69391969dd9131dfb377b5bef1daff8
|
4
|
+
data.tar.gz: b7b8f520f0441ad47bf3715d5e2e0a95be578046
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74364572d79d227b00f5823d9b92c58649deac88256b4037a883f0de3a2fd07f7708f3dff002ab7e922ef1ca2fbebc153699cde567ed3761d9a7b219e1b0d01b
|
7
|
+
data.tar.gz: f33f21558322bdd00d3062a02668f8dd3535b68243b7e38ff5f6fb58d5b609ef5dad246ce941712d1e98e21b3c733d166519ac4c0ddd91a2953ab9b47ba49039
|
data/bin/siteleaf
CHANGED
@@ -63,12 +63,12 @@ end
|
|
63
63
|
def get_site_id
|
64
64
|
# check env vars
|
65
65
|
[:api_key, :api_secret, :api_base, :api_version].each do |key|
|
66
|
-
if value = ENV[key.to_s.upcase]
|
66
|
+
if value = ENV['SITELEAF_'+key.to_s.upcase]
|
67
67
|
Siteleaf.send "#{key}=", value
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
ENV['
|
71
|
+
ENV['SITELEAF_SITE_ID'] || if settings = Siteleaf.load_settings('.siteleaf.yml')
|
72
72
|
settings[:site_id]
|
73
73
|
end
|
74
74
|
end
|
data/lib/siteleaf/version.rb
CHANGED