locomotivecms_coal 1.6.0.rc1 → 1.6.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +1 -1
  4. data/Gemfile +0 -4
  5. data/Gemfile.lock +7 -8
  6. data/MIT-LICENSE +1 -1
  7. data/README.md +18 -3
  8. data/lib/locomotive/coal/client.rb +8 -0
  9. data/lib/locomotive/coal/resources/accounts.rb +33 -0
  10. data/lib/locomotive/coal/resources/concerns/request.rb +19 -1
  11. data/lib/locomotive/coal/version.rb +1 -1
  12. data/lib/locomotive/coal.rb +1 -0
  13. data/locomotivecms_coal.gemspec +1 -1
  14. data/spec/fixtures/coal_cassettes/accounts.yml +214 -0
  15. data/spec/fixtures/coal_cassettes/client.yml +277 -163
  16. data/spec/fixtures/coal_cassettes/content_assets.yml +144 -445
  17. data/spec/fixtures/coal_cassettes/content_entries.yml +963 -1647
  18. data/spec/fixtures/coal_cassettes/content_types.yml +387 -209
  19. data/spec/fixtures/coal_cassettes/current_site.yml +89 -49
  20. data/spec/fixtures/coal_cassettes/memberships.yml +143 -77
  21. data/spec/fixtures/coal_cassettes/my_account.yml +163 -99
  22. data/spec/fixtures/coal_cassettes/pages.yml +177 -99
  23. data/spec/fixtures/coal_cassettes/sections.yml +121 -78
  24. data/spec/fixtures/coal_cassettes/sites.yml +108 -141
  25. data/spec/fixtures/coal_cassettes/snippets.yml +140 -76
  26. data/spec/fixtures/coal_cassettes/theme_assets.yml +142 -254
  27. data/spec/fixtures/coal_cassettes/token.yml +64 -43
  28. data/spec/fixtures/coal_cassettes/translations.yml +140 -76
  29. data/spec/fixtures/coal_cassettes/version.yml +54 -30
  30. data/spec/integration/resources/accounts_spec.rb +38 -0
  31. data/spec/integration/resources/sections_spec.rb +1 -1
  32. data/spec/integration/resources/token_spec.rb +1 -1
  33. metadata +10 -6
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.6.0.rc1
4
+ version: 1.6.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didier Lafforgue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -73,7 +73,7 @@ dependencies:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: 5.1.5
76
- - - "<"
76
+ - - "<="
77
77
  - !ruby/object:Gem::Version
78
78
  version: '6.0'
79
79
  type: :runtime
@@ -83,7 +83,7 @@ dependencies:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: 5.1.5
86
- - - "<"
86
+ - - "<="
87
87
  - !ruby/object:Gem::Version
88
88
  version: '6.0'
89
89
  - !ruby/object:Gem::Dependency
@@ -121,6 +121,7 @@ files:
121
121
  - lib/locomotive/coal/error.rb
122
122
  - lib/locomotive/coal/paginated_resources.rb
123
123
  - lib/locomotive/coal/resource.rb
124
+ - lib/locomotive/coal/resources/accounts.rb
124
125
  - lib/locomotive/coal/resources/base.rb
125
126
  - lib/locomotive/coal/resources/concerns/request.rb
126
127
  - lib/locomotive/coal/resources/content_assets.rb
@@ -142,6 +143,7 @@ files:
142
143
  - locomotivecms_coal.gemspec
143
144
  - spec/fixtures/assets/locomotive.png
144
145
  - spec/fixtures/assets/rails.png
146
+ - spec/fixtures/coal_cassettes/accounts.yml
145
147
  - spec/fixtures/coal_cassettes/client.yml
146
148
  - spec/fixtures/coal_cassettes/content_assets.yml
147
149
  - spec/fixtures/coal_cassettes/content_entries.yml
@@ -158,6 +160,7 @@ files:
158
160
  - spec/fixtures/coal_cassettes/translations.yml
159
161
  - spec/fixtures/coal_cassettes/version.yml
160
162
  - spec/integration/client_spec.rb
163
+ - spec/integration/resources/accounts_spec.rb
161
164
  - spec/integration/resources/content_assets_spec.rb
162
165
  - spec/integration/resources/content_entries_spec.rb
163
166
  - spec/integration/resources/content_types_spec.rb
@@ -202,14 +205,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
202
205
  - !ruby/object:Gem::Version
203
206
  version: 1.3.1
204
207
  requirements: []
205
- rubyforge_project:
206
- rubygems_version: 2.7.3
208
+ rubygems_version: 3.0.3
207
209
  signing_key:
208
210
  specification_version: 4
209
211
  summary: The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform
210
212
  test_files:
211
213
  - spec/fixtures/assets/locomotive.png
212
214
  - spec/fixtures/assets/rails.png
215
+ - spec/fixtures/coal_cassettes/accounts.yml
213
216
  - spec/fixtures/coal_cassettes/client.yml
214
217
  - spec/fixtures/coal_cassettes/content_assets.yml
215
218
  - spec/fixtures/coal_cassettes/content_entries.yml
@@ -226,6 +229,7 @@ test_files:
226
229
  - spec/fixtures/coal_cassettes/translations.yml
227
230
  - spec/fixtures/coal_cassettes/version.yml
228
231
  - spec/integration/client_spec.rb
232
+ - spec/integration/resources/accounts_spec.rb
229
233
  - spec/integration/resources/content_assets_spec.rb
230
234
  - spec/integration/resources/content_entries_spec.rb
231
235
  - spec/integration/resources/content_types_spec.rb