siteleaf 2.0.0.pre.beta2 → 2.0.0.pre.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/siteleaf +3 -3
- data/lib/siteleaf/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: 7d9daa0addc86661e583c55511c7a8f81aef8b5b
|
4
|
+
data.tar.gz: 3ee0da5032908f0a3638415e43805cc43129246a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d60be4bf50da50893c5b28dc02e02cce10ccd1f76f0567258656763c40eba8286c5cc71d51d1561f7c415aaa43dbaa70536c19261255b3a98e42a690f947032c
|
7
|
+
data.tar.gz: 9d6706b2a84c41161a74ecf1e68916e45a7f6d4d2f9aeaa16abbcd7beca81e2ab57df50798e0e4b216160a910b0b9fe22dd3f8d50b5435f81def1978aebbcc22
|
data/README.md
CHANGED
@@ -29,7 +29,7 @@ Important: if using a Gemfile, make sure to prepend all commands with `bundle ex
|
|
29
29
|
|
30
30
|
This will create an authorization file located at `~/.siteleaf.yml`.
|
31
31
|
|
32
|
-
Alternatively, you can also use environment variables: `
|
32
|
+
Alternatively, you can also use environment variables: `SITELEAF_API_KEY=xxx SITELEAF_API_SECRET=yyy siteleaf command`
|
33
33
|
|
34
34
|
You can also include use a `.siteleaf.yml` file in the root of your project:
|
35
35
|
|
data/bin/siteleaf
CHANGED
@@ -31,7 +31,7 @@ See https://github.com/siteleaf/siteleaf-gem for additional documentation.
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def auth(re_auth = false)
|
34
|
-
Siteleaf.load_settings if !re_auth
|
34
|
+
Siteleaf.load_settings if !re_auth && !Siteleaf.api_key
|
35
35
|
|
36
36
|
if re_auth or !Siteleaf.api_key
|
37
37
|
print 'Enter your Siteleaf e-mail: '
|
@@ -216,9 +216,9 @@ def push(site_id)
|
|
216
216
|
asset.delete if asset
|
217
217
|
asset = model.create(attrs)
|
218
218
|
if metadata && !metadata.empty?
|
219
|
-
asset
|
220
|
-
asset.save
|
219
|
+
asset = model.new(id: asset.id, metadata: metadata).save
|
221
220
|
end
|
221
|
+
asset
|
222
222
|
|
223
223
|
end
|
224
224
|
|
data/lib/siteleaf/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: siteleaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.pre.
|
4
|
+
version: 2.0.0.pre.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Siteleaf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|