locomotivecms_coal 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/Gemfile +6 -6
- data/Gemfile.lock +70 -66
- data/lib/locomotive/coal/version.rb +1 -1
- data/locomotivecms_coal.gemspec +6 -6
- data/spec/spec_helper.rb +0 -7
- data/spec/unit/resource_spec.rb +1 -1
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91a1d4a1efb1fab59ff1ad8f7b1c8ce9329a3014
|
4
|
+
data.tar.gz: 960eacbbe064b6510b1e3de3c40ef3845910ccdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49f29484624b4b243a4a2917eff5c7c26262b110466b73b5a6bcd7b9c37aadcc603ed438d2018c3decf41fb303d04eb732bc5eccfae6a2197f2d9c4827a77558
|
7
|
+
data.tar.gz: 06d43dcc6b78542287005065ce3840136ba613fceedf7b8294062d237b9c63b8df12870b9d8822c961653d935aebd464505060141252e8c9d773660fd7c606f2
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -6,20 +6,20 @@ group :development do
|
|
6
6
|
end
|
7
7
|
|
8
8
|
group :test do
|
9
|
-
gem 'rest-client', '~>
|
9
|
+
gem 'rest-client', '~> 2.0.1'
|
10
10
|
|
11
|
-
gem 'rspec', '~> 3.
|
11
|
+
gem 'rspec', '~> 3.5.0'
|
12
12
|
gem 'json_spec', '~> 1.1.4'
|
13
13
|
|
14
|
-
gem 'pry-byebug', '~> 3.
|
14
|
+
gem 'pry-byebug', '~> 3.4.2'
|
15
15
|
|
16
16
|
gem 'webmock'
|
17
17
|
gem 'vcr'
|
18
18
|
|
19
|
-
gem 'codeclimate-test-reporter', '~> 0.
|
20
|
-
gem 'coveralls', '~> 0.
|
19
|
+
gem 'codeclimate-test-reporter', '~> 1.0.7', require: false
|
20
|
+
gem 'coveralls', '~> 0.8.19', require: false
|
21
21
|
end
|
22
22
|
|
23
23
|
platform :ruby do
|
24
|
-
ruby '2.
|
24
|
+
ruby '2.3.3'
|
25
25
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,103 +1,104 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
locomotivecms_coal (1.
|
5
|
-
activesupport (~> 4.2.
|
6
|
-
faraday (~> 0.
|
7
|
-
faraday_middleware (~> 0.
|
8
|
-
httpclient (~> 2.
|
4
|
+
locomotivecms_coal (1.4.0)
|
5
|
+
activesupport (~> 4.2.8)
|
6
|
+
faraday (~> 0.11.0)
|
7
|
+
faraday_middleware (~> 0.11.0.1)
|
8
|
+
httpclient (~> 2.8.3)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (4.2.
|
13
|
+
activesupport (4.2.8)
|
14
14
|
i18n (~> 0.7)
|
15
|
-
json (~> 1.7, >= 1.7.7)
|
16
15
|
minitest (~> 5.1)
|
17
16
|
thread_safe (~> 0.3, >= 0.3.4)
|
18
17
|
tzinfo (~> 1.1)
|
19
|
-
addressable (2.
|
20
|
-
|
21
|
-
|
22
|
-
codeclimate-test-reporter (0.
|
23
|
-
simplecov
|
18
|
+
addressable (2.5.0)
|
19
|
+
public_suffix (~> 2.0, >= 2.0.2)
|
20
|
+
byebug (9.0.6)
|
21
|
+
codeclimate-test-reporter (1.0.7)
|
22
|
+
simplecov
|
24
23
|
coderay (1.1.1)
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
rest-client (>= 1.6.8, < 2)
|
29
|
-
simplecov (~> 0.9.1)
|
24
|
+
coveralls (0.8.19)
|
25
|
+
json (>= 1.8, < 3)
|
26
|
+
simplecov (~> 0.12.0)
|
30
27
|
term-ansicolor (~> 1.3)
|
31
28
|
thor (~> 0.19.1)
|
29
|
+
tins (~> 1.6)
|
32
30
|
crack (0.4.3)
|
33
31
|
safe_yaml (~> 1.0.0)
|
34
|
-
diff-lcs (1.
|
32
|
+
diff-lcs (1.3)
|
35
33
|
docile (1.1.5)
|
36
|
-
domain_name (0.5.
|
34
|
+
domain_name (0.5.20170223)
|
37
35
|
unf (>= 0.0.5, < 1.0.0)
|
38
|
-
faraday (0.
|
36
|
+
faraday (0.11.0)
|
39
37
|
multipart-post (>= 1.2, < 3)
|
40
|
-
faraday_middleware (0.
|
41
|
-
faraday (>= 0.7.4, < 0
|
42
|
-
hashdiff (0.3.
|
43
|
-
http-cookie (1.0.
|
38
|
+
faraday_middleware (0.11.0.1)
|
39
|
+
faraday (>= 0.7.4, < 1.0)
|
40
|
+
hashdiff (0.3.2)
|
41
|
+
http-cookie (1.0.3)
|
44
42
|
domain_name (~> 0.5)
|
45
|
-
httpclient (2.
|
46
|
-
i18n (0.
|
47
|
-
json (
|
43
|
+
httpclient (2.8.3)
|
44
|
+
i18n (0.8.1)
|
45
|
+
json (2.0.3)
|
48
46
|
json_spec (1.1.4)
|
49
47
|
multi_json (~> 1.0)
|
50
48
|
rspec (>= 2.0, < 4.0)
|
51
49
|
method_source (0.8.2)
|
52
|
-
mime-types (
|
53
|
-
|
54
|
-
|
50
|
+
mime-types (3.1)
|
51
|
+
mime-types-data (~> 3.2015)
|
52
|
+
mime-types-data (3.2016.0521)
|
53
|
+
minitest (5.10.1)
|
54
|
+
multi_json (1.12.1)
|
55
55
|
multipart-post (2.0.0)
|
56
56
|
netrc (0.11.0)
|
57
|
-
pry (0.10.
|
57
|
+
pry (0.10.4)
|
58
58
|
coderay (~> 1.1.0)
|
59
59
|
method_source (~> 0.8.1)
|
60
60
|
slop (~> 3.4)
|
61
|
-
pry-byebug (3.
|
62
|
-
byebug (~>
|
61
|
+
pry-byebug (3.4.2)
|
62
|
+
byebug (~> 9.0)
|
63
63
|
pry (~> 0.10)
|
64
|
-
|
65
|
-
|
64
|
+
public_suffix (2.0.5)
|
65
|
+
rake (12.0.0)
|
66
|
+
rest-client (2.0.1)
|
66
67
|
http-cookie (>= 1.0.2, < 2.0)
|
67
|
-
mime-types (>= 1.16, <
|
68
|
-
netrc (~> 0.
|
69
|
-
rspec (3.
|
70
|
-
rspec-core (~> 3.
|
71
|
-
rspec-expectations (~> 3.
|
72
|
-
rspec-mocks (~> 3.
|
73
|
-
rspec-core (3.
|
74
|
-
rspec-support (~> 3.
|
75
|
-
rspec-expectations (3.
|
68
|
+
mime-types (>= 1.16, < 4.0)
|
69
|
+
netrc (~> 0.8)
|
70
|
+
rspec (3.5.0)
|
71
|
+
rspec-core (~> 3.5.0)
|
72
|
+
rspec-expectations (~> 3.5.0)
|
73
|
+
rspec-mocks (~> 3.5.0)
|
74
|
+
rspec-core (3.5.4)
|
75
|
+
rspec-support (~> 3.5.0)
|
76
|
+
rspec-expectations (3.5.0)
|
76
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
-
rspec-support (~> 3.
|
78
|
-
rspec-mocks (3.
|
78
|
+
rspec-support (~> 3.5.0)
|
79
|
+
rspec-mocks (3.5.0)
|
79
80
|
diff-lcs (>= 1.2.0, < 2.0)
|
80
|
-
rspec-support (~> 3.
|
81
|
-
rspec-support (3.
|
81
|
+
rspec-support (~> 3.5.0)
|
82
|
+
rspec-support (3.5.0)
|
82
83
|
safe_yaml (1.0.4)
|
83
|
-
simplecov (0.
|
84
|
+
simplecov (0.12.0)
|
84
85
|
docile (~> 1.1.0)
|
85
|
-
|
86
|
-
simplecov-html (~> 0.
|
87
|
-
simplecov-html (0.
|
86
|
+
json (>= 1.8, < 3)
|
87
|
+
simplecov-html (~> 0.10.0)
|
88
|
+
simplecov-html (0.10.0)
|
88
89
|
slop (3.6.0)
|
89
|
-
term-ansicolor (1.
|
90
|
+
term-ansicolor (1.4.0)
|
90
91
|
tins (~> 1.0)
|
91
|
-
thor (0.19.
|
92
|
-
thread_safe (0.3.
|
93
|
-
tins (1.
|
92
|
+
thor (0.19.4)
|
93
|
+
thread_safe (0.3.6)
|
94
|
+
tins (1.13.2)
|
94
95
|
tzinfo (1.2.2)
|
95
96
|
thread_safe (~> 0.1)
|
96
97
|
unf (0.1.4)
|
97
98
|
unf_ext
|
98
99
|
unf_ext (0.0.7.2)
|
99
|
-
vcr (3.0.
|
100
|
-
webmock (
|
100
|
+
vcr (3.0.3)
|
101
|
+
webmock (2.3.2)
|
101
102
|
addressable (>= 2.3.6)
|
102
103
|
crack (>= 0.3.2)
|
103
104
|
hashdiff
|
@@ -106,17 +107,20 @@ PLATFORMS
|
|
106
107
|
ruby
|
107
108
|
|
108
109
|
DEPENDENCIES
|
109
|
-
bundler (~> 1.
|
110
|
-
codeclimate-test-reporter (~> 0.
|
111
|
-
coveralls (~> 0.
|
110
|
+
bundler (~> 1.14.6)
|
111
|
+
codeclimate-test-reporter (~> 1.0.7)
|
112
|
+
coveralls (~> 0.8.19)
|
112
113
|
json_spec (~> 1.1.4)
|
113
114
|
locomotivecms_coal!
|
114
|
-
pry-byebug (~> 3.
|
115
|
-
rake (~>
|
116
|
-
rest-client (~>
|
117
|
-
rspec (~> 3.
|
115
|
+
pry-byebug (~> 3.4.2)
|
116
|
+
rake (~> 12.0.0)
|
117
|
+
rest-client (~> 2.0.1)
|
118
|
+
rspec (~> 3.5.0)
|
118
119
|
vcr
|
119
120
|
webmock
|
120
121
|
|
122
|
+
RUBY VERSION
|
123
|
+
ruby 2.3.3p222
|
124
|
+
|
121
125
|
BUNDLED WITH
|
122
|
-
1.
|
126
|
+
1.14.6
|
data/locomotivecms_coal.gemspec
CHANGED
@@ -15,13 +15,13 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
16
16
|
spec.require_paths = ['lib']
|
17
17
|
|
18
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
19
|
-
spec.add_development_dependency 'rake', '~>
|
18
|
+
spec.add_development_dependency 'bundler', '~> 1.14.6'
|
19
|
+
spec.add_development_dependency 'rake', '~> 12.0.0'
|
20
20
|
|
21
|
-
spec.add_dependency 'httpclient', '~> 2.
|
22
|
-
spec.add_dependency 'faraday', '~> 0.
|
23
|
-
spec.add_dependency 'faraday_middleware', '~> 0.
|
24
|
-
spec.add_dependency 'activesupport', '~> 4.2.
|
21
|
+
spec.add_dependency 'httpclient', '~> 2.8.3'
|
22
|
+
spec.add_dependency 'faraday', '~> 0.11.0'
|
23
|
+
spec.add_dependency 'faraday_middleware', '~> 0.11.0.1'
|
24
|
+
spec.add_dependency 'activesupport', '~> 4.2.8'
|
25
25
|
|
26
26
|
spec.required_ruby_version = '>= 2.0'
|
27
27
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,14 +1,7 @@
|
|
1
1
|
require 'simplecov'
|
2
|
-
require 'codeclimate-test-reporter'
|
3
2
|
require 'coveralls'
|
4
3
|
|
5
4
|
SimpleCov.start do
|
6
|
-
formatter SimpleCov::Formatter::MultiFormatter[
|
7
|
-
SimpleCov::Formatter::HTMLFormatter,
|
8
|
-
CodeClimate::TestReporter::Formatter,
|
9
|
-
Coveralls::SimpleCov::Formatter
|
10
|
-
]
|
11
|
-
|
12
5
|
add_filter 'spec/'
|
13
6
|
add_filter 'lib/locomotive/coal/version.rb'
|
14
7
|
end
|
data/spec/unit/resource_spec.rb
CHANGED
@@ -7,7 +7,7 @@ describe Locomotive::Coal::Resource do
|
|
7
7
|
|
8
8
|
describe 'unknown attribute' do
|
9
9
|
subject { resource.name }
|
10
|
-
it { expect { subject }.to raise_error }
|
10
|
+
it { expect { subject }.to raise_error(NoMethodError, /undefined method `name'/) }
|
11
11
|
end
|
12
12
|
|
13
13
|
describe 'existing attribute' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotivecms_coal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Didier Lafforgue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,84 +16,84 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.14.6
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.14.6
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 12.0.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 12.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: httpclient
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: 2.8.3
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: 2.8.3
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: faraday
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.
|
61
|
+
version: 0.11.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.
|
68
|
+
version: 0.11.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: faraday_middleware
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.11.0.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.11.0.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: activesupport
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 4.2.
|
89
|
+
version: 4.2.8
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 4.2.
|
96
|
+
version: 4.2.8
|
97
97
|
description: The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform
|
98
98
|
email:
|
99
99
|
- did@locomotivecms.com
|
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
195
|
version: '0'
|
196
196
|
requirements: []
|
197
197
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.
|
198
|
+
rubygems_version: 2.5.2
|
199
199
|
signing_key:
|
200
200
|
specification_version: 4
|
201
201
|
summary: The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform
|