netlify 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +21 -5
- data/lib/netlify/access_tokens.rb +1 -1
- data/lib/netlify/client.rb +2 -1
- data/lib/netlify/deploy_key.rb +1 -1
- data/lib/netlify/deploy_keys.rb +1 -1
- data/lib/netlify/deploys.rb +1 -1
- data/lib/netlify/dns_records.rb +2 -2
- data/lib/netlify/dns_zone.rb +2 -2
- data/lib/netlify/dns_zones.rb +2 -2
- data/lib/netlify/files.rb +2 -2
- data/lib/netlify/forms.rb +2 -2
- data/lib/netlify/sites.rb +1 -1
- data/lib/netlify/snippets.rb +2 -2
- data/lib/netlify/submissions.rb +2 -2
- data/lib/netlify/users.rb +2 -2
- data/lib/netlify/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c72dfb654f316b931bded09235fe428a4bafaa73
|
4
|
+
data.tar.gz: afd364ee0e63a4faa3c00410733bd9e29662b90c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbe97cb8486236171ea17edbe9c985b15048ec7a4bfcc5f59fbf9eec589bf3d7b40fd8893b8c95ea66d9daee91ac9a71e6a11d5a2aae27829165616ef4fb427b
|
7
|
+
data.tar.gz: 191b1af59d508a358dab849608ae108bebf29e050df9e3f4839eee94b61d5f60c150d7311a3027502e99e4e7f7c3ba9f404ef993be3206a69d29da416cf14859
|
data/Gemfile.lock
CHANGED
@@ -2,6 +2,7 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
netlify (0.2.1)
|
5
|
+
github_api
|
5
6
|
highline
|
6
7
|
oauth2 (>= 0.9.2)
|
7
8
|
slop
|
@@ -11,22 +12,37 @@ GEM
|
|
11
12
|
specs:
|
12
13
|
addressable (2.3.3)
|
13
14
|
crack (0.3.2)
|
14
|
-
|
15
|
+
descendants_tracker (0.0.4)
|
16
|
+
thread_safe (~> 0.3, >= 0.3.1)
|
17
|
+
faraday (0.9.1)
|
15
18
|
multipart-post (>= 1.2, < 3)
|
19
|
+
github_api (0.12.2)
|
20
|
+
addressable (~> 2.3)
|
21
|
+
descendants_tracker (~> 0.0.4)
|
22
|
+
faraday (~> 0.8, < 0.10)
|
23
|
+
hashie (>= 3.3)
|
24
|
+
multi_json (>= 1.7.5, < 2.0)
|
25
|
+
nokogiri (~> 1.6.3)
|
26
|
+
oauth2
|
27
|
+
hashie (3.3.1)
|
16
28
|
highline (1.6.21)
|
17
|
-
jwt (1.
|
29
|
+
jwt (1.5.1)
|
30
|
+
mini_portile (0.6.2)
|
18
31
|
minitest (5.0.8)
|
19
|
-
multi_json (1.
|
32
|
+
multi_json (1.11.1)
|
20
33
|
multi_xml (0.5.5)
|
21
34
|
multipart-post (2.0.0)
|
35
|
+
nokogiri (1.6.6.2)
|
36
|
+
mini_portile (~> 0.6.0)
|
22
37
|
oauth2 (1.0.0)
|
23
38
|
faraday (>= 0.8, < 0.10)
|
24
39
|
jwt (~> 1.0)
|
25
40
|
multi_json (~> 1.3)
|
26
41
|
multi_xml (~> 0.5)
|
27
42
|
rack (~> 1.2)
|
28
|
-
rack (1.
|
29
|
-
slop (
|
43
|
+
rack (1.6.1)
|
44
|
+
slop (4.0.0)
|
45
|
+
thread_safe (0.3.5)
|
30
46
|
webmock (1.11.0)
|
31
47
|
addressable (>= 2.2.7)
|
32
48
|
crack (>= 0.3.2)
|
data/lib/netlify/client.rb
CHANGED
@@ -73,7 +73,8 @@ module Netlify
|
|
73
73
|
begin
|
74
74
|
raise AuthenticationError, "Authorize with Netlify before making requests" unless oauth_token
|
75
75
|
|
76
|
-
|
76
|
+
ssl_options = {:version => :TLSv1_2}
|
77
|
+
oauth_token.request(verb, ::File.join("/api", API_VERSION, path), ssl_options.merge(opts), &block)
|
77
78
|
rescue OAuth2::Error => e
|
78
79
|
case e.response.status
|
79
80
|
when 401
|
data/lib/netlify/deploy_key.rb
CHANGED
data/lib/netlify/deploy_keys.rb
CHANGED
data/lib/netlify/deploys.rb
CHANGED
data/lib/netlify/dns_records.rb
CHANGED
data/lib/netlify/dns_zone.rb
CHANGED
data/lib/netlify/dns_zones.rb
CHANGED
data/lib/netlify/files.rb
CHANGED
data/lib/netlify/forms.rb
CHANGED
data/lib/netlify/sites.rb
CHANGED
data/lib/netlify/snippets.rb
CHANGED
data/lib/netlify/submissions.rb
CHANGED
data/lib/netlify/users.rb
CHANGED
data/lib/netlify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netlify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mathias Biilmann Christensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oauth2
|
@@ -171,3 +171,4 @@ test_files:
|
|
171
171
|
- test/multipass_test.rb
|
172
172
|
- test/sites_test.rb
|
173
173
|
- test/test_helper.rb
|
174
|
+
has_rdoc:
|