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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b163f9a10681add3de4aee5e6eb18e16634a50a
4
- data.tar.gz: 4683680196a957815215170ed5c0c535fa144b80
3
+ metadata.gz: aaec0c3df69391969dd9131dfb377b5bef1daff8
4
+ data.tar.gz: b7b8f520f0441ad47bf3715d5e2e0a95be578046
5
5
  SHA512:
6
- metadata.gz: 96d07c4683161d4b174a1b4253f82cd81de741c4d90e4ee6cf861d30aa0376d259f7a8878060eb1d3b4fd74bb3cc0ed0020d9b43f57ca4956d5f0ebc5b3bb633
7
- data.tar.gz: 54194023b24413f1703f5a0ff23ee722cef7e2f75cbcd7c5c8468e72406795262b62109a729ebad7be253d7107acd9a3172b3c3cebc617cdc07f57cc26fc6856
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['SITE_ID'] || if settings = Siteleaf.load_settings('.siteleaf.yml')
71
+ ENV['SITELEAF_SITE_ID'] || if settings = Siteleaf.load_settings('.siteleaf.yml')
72
72
  settings[:site_id]
73
73
  end
74
74
  end
@@ -1,3 +1,3 @@
1
1
  module Siteleaf
2
- VERSION = "2.0.0.pre.beta1"
2
+ VERSION = "2.0.0.pre.beta2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: siteleaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre.beta1
4
+ version: 2.0.0.pre.beta2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siteleaf