buttercms-ruby 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/buttercms-ruby.rb +5 -0
- data/lib/buttercms/version.rb +1 -1
- data/lib/core_ext/ostruct.rb +9 -0
- metadata +27 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef6395b8ea97cf6808ca570520d413a25e3ec934
|
4
|
+
data.tar.gz: a50b785d2391547514e40bd0f758dabbffbad0f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 556bee36b09b3f034365224056529309e316dc287daed1c33ddfe3b57fa9d3bf77d43c3d2088ecef0f534c6970127e51053a7b19f3a3118e25f5e2c5814b6456
|
7
|
+
data.tar.gz: 3d9c45d19706ba1a60ca9fe229b61220e197b4aa7a41ae9d2db97cc5bdbd700a6cf63ee35e0cdedad72385bb757770edf229640bdd0192bad99338bdf951b524
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.7
|
data/lib/buttercms-ruby.rb
CHANGED
@@ -10,6 +10,11 @@ require 'buttercms/category'
|
|
10
10
|
require 'buttercms/post'
|
11
11
|
require 'buttercms/feed'
|
12
12
|
|
13
|
+
# See https://github.com/jruby/jruby/issues/3113
|
14
|
+
if RUBY_VERSION < '2.0.0'
|
15
|
+
require_relative 'core_ext/ostruct'
|
16
|
+
end
|
17
|
+
|
13
18
|
module ButterCMS
|
14
19
|
@api_url = 'https://api.buttercms.com/v2'
|
15
20
|
@token = nil
|
data/lib/buttercms/version.rb
CHANGED
metadata
CHANGED
@@ -1,73 +1,72 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buttercms-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ButterCMS
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: rest-client
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
16
15
|
requirements:
|
17
|
-
- -
|
16
|
+
- - '>='
|
18
17
|
- !ruby/object:Gem::Version
|
19
18
|
version: 1.7.0
|
20
|
-
- -
|
19
|
+
- - <
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: '2'
|
23
|
-
|
22
|
+
name: rest-client
|
24
23
|
prerelease: false
|
24
|
+
type: :runtime
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: 1.7.0
|
30
|
-
- -
|
30
|
+
- - <
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name: rspec
|
35
34
|
requirement: !ruby/object:Gem::Requirement
|
36
35
|
requirements:
|
37
|
-
- -
|
36
|
+
- - ~>
|
38
37
|
- !ruby/object:Gem::Version
|
39
38
|
version: '2.7'
|
40
|
-
|
39
|
+
name: rspec
|
41
40
|
prerelease: false
|
41
|
+
type: :development
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- -
|
44
|
+
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '2.7'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
|
-
name: webmock
|
49
48
|
requirement: !ruby/object:Gem::Requirement
|
50
49
|
requirements:
|
51
|
-
- -
|
50
|
+
- - '>='
|
52
51
|
- !ruby/object:Gem::Version
|
53
52
|
version: '0'
|
54
|
-
|
53
|
+
name: webmock
|
55
54
|
prerelease: false
|
55
|
+
type: :development
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - '>='
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '0'
|
61
|
-
description: Butter is a blogging platform loved by engineers. See https://buttercms.com
|
62
|
-
for details.
|
61
|
+
description: Butter is a blogging platform loved by engineers. See https://buttercms.com for details.
|
63
62
|
email:
|
64
63
|
- support@buttercms.com
|
65
64
|
executables: []
|
66
65
|
extensions: []
|
67
66
|
extra_rdoc_files: []
|
68
67
|
files:
|
69
|
-
-
|
70
|
-
-
|
68
|
+
- .gitignore
|
69
|
+
- .rspec
|
71
70
|
- Gemfile
|
72
71
|
- LICENSE
|
73
72
|
- README.md
|
@@ -83,6 +82,7 @@ files:
|
|
83
82
|
- lib/buttercms/hash_to_object.rb
|
84
83
|
- lib/buttercms/post.rb
|
85
84
|
- lib/buttercms/version.rb
|
85
|
+
- lib/core_ext/ostruct.rb
|
86
86
|
- spec/lib/butter-ruby_spec.rb
|
87
87
|
- spec/lib/buttercms/butter_collection_spec.rb
|
88
88
|
- spec/lib/buttercms/butter_resource_spec.rb
|
@@ -92,24 +92,24 @@ homepage: https://buttercms.com/docs
|
|
92
92
|
licenses:
|
93
93
|
- MIT
|
94
94
|
metadata: {}
|
95
|
-
post_install_message:
|
95
|
+
post_install_message:
|
96
96
|
rdoc_options: []
|
97
97
|
require_paths:
|
98
98
|
- lib
|
99
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 1.9.3
|
104
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- -
|
106
|
+
- - '>='
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
|
-
rubyforge_project:
|
111
|
-
rubygems_version: 2.
|
112
|
-
signing_key:
|
110
|
+
rubyforge_project:
|
111
|
+
rubygems_version: 2.1.9
|
112
|
+
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: A simple Ruby client for the buttercms.com REST API
|
115
115
|
test_files:
|