locomotivecms_coal 1.6.0 → 1.8.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +3 -3
  4. data/lib/locomotive/coal/resources/concerns/request.rb +1 -1
  5. data/lib/locomotive/coal/version.rb +1 -1
  6. metadata +20 -123
  7. data/.gitignore +0 -4
  8. data/.rspec +0 -2
  9. data/.travis.yml +0 -8
  10. data/Gemfile +0 -21
  11. data/Gemfile.lock +0 -125
  12. data/Rakefile +0 -21
  13. data/locomotivecms_coal.gemspec +0 -27
  14. data/spec/fixtures/assets/locomotive.png +0 -0
  15. data/spec/fixtures/assets/rails.png +0 -0
  16. data/spec/fixtures/coal_cassettes/accounts.yml +0 -214
  17. data/spec/fixtures/coal_cassettes/client.yml +0 -479
  18. data/spec/fixtures/coal_cassettes/content_assets.yml +0 -270
  19. data/spec/fixtures/coal_cassettes/content_entries.yml +0 -2189
  20. data/spec/fixtures/coal_cassettes/content_types.yml +0 -726
  21. data/spec/fixtures/coal_cassettes/current_site.yml +0 -166
  22. data/spec/fixtures/coal_cassettes/memberships.yml +0 -270
  23. data/spec/fixtures/coal_cassettes/my_account.yml +0 -260
  24. data/spec/fixtures/coal_cassettes/pages.yml +0 -333
  25. data/spec/fixtures/coal_cassettes/sections.yml +0 -267
  26. data/spec/fixtures/coal_cassettes/sites.yml +0 -212
  27. data/spec/fixtures/coal_cassettes/snippets.yml +0 -269
  28. data/spec/fixtures/coal_cassettes/theme_assets.yml +0 -270
  29. data/spec/fixtures/coal_cassettes/token.yml +0 -103
  30. data/spec/fixtures/coal_cassettes/translations.yml +0 -267
  31. data/spec/fixtures/coal_cassettes/version.yml +0 -103
  32. data/spec/integration/client_spec.rb +0 -67
  33. data/spec/integration/resources/accounts_spec.rb +0 -38
  34. data/spec/integration/resources/content_assets_spec.rb +0 -42
  35. data/spec/integration/resources/content_entries_spec.rb +0 -97
  36. data/spec/integration/resources/content_types_spec.rb +0 -44
  37. data/spec/integration/resources/current_site_spec.rb +0 -22
  38. data/spec/integration/resources/engine_version_spec.rb +0 -17
  39. data/spec/integration/resources/memberships_spec.rb +0 -39
  40. data/spec/integration/resources/my_account_spec.rb +0 -34
  41. data/spec/integration/resources/pages_spec.rb +0 -43
  42. data/spec/integration/resources/sections_spec.rb +0 -46
  43. data/spec/integration/resources/sites_spec.rb +0 -43
  44. data/spec/integration/resources/snippets_spec.rb +0 -38
  45. data/spec/integration/resources/theme_assets_spec.rb +0 -43
  46. data/spec/integration/resources/token_spec.rb +0 -38
  47. data/spec/integration/resources/translations_spec.rb +0 -38
  48. data/spec/spec_helper.rb +0 -28
  49. data/spec/support/api_settings.rb +0 -10
  50. data/spec/support/assets.rb +0 -4
  51. data/spec/support/default_resources.rb +0 -7
  52. data/spec/support/pry.rb +0 -4
  53. data/spec/support/vcr.rb +0 -10
  54. data/spec/unit/client_spec.rb +0 -52
  55. data/spec/unit/client_v2_spec.rb +0 -22
  56. data/spec/unit/error_spec.rb +0 -36
  57. data/spec/unit/paginated_resources_spec.rb +0 -50
  58. data/spec/unit/resource_spec.rb +0 -29
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18c5d93a7d8ddd3b680a81600c4a9f9eebd7bf0f60289f09d7f0d7c4f00ef0f9
4
- data.tar.gz: ac1a507795ff933fd996a86ca441be74dee33a6c3ecee9d55d51d5dd16758cae
3
+ metadata.gz: ee23ba942b730ab030f4cffef28cabe62f1f49cd994e3c047adc68267adc0897
4
+ data.tar.gz: 31311dbc08f3453b5aa7405080a9001a1176132ef08d4a468aed841f659e38c2
5
5
  SHA512:
6
- metadata.gz: d43d247ae25642ff481bafc3e06716ab1bda1be618a100ba221869927ee1e13dcb8ed911185c1258233cbff9fc60007f278c0ef8caad14a77809052624986079
7
- data.tar.gz: 9df12ed1125fa3ae5359df6be9ac361bd02897db15e1b5b20a67018b192f710ada788246aef1e01edb80fd1af4ca0650c87289b23730417dfe1d47db975ed17b
6
+ metadata.gz: 2268a9fff87b2720c4e2be03b25bfa28b8fc4b2fad465044928dadb701fab067517c03a0676cff2071b8c148ae50a7185e7aef042f40662128fac4f851c51690
7
+ data.tar.gz: c69e9f32e56cc4d64ae940065e45d444f97f86c5393e9bdc73b0070e8759ca0cc523dbc1239be072b043d0d53662296f2a9d71dc5bed1b3ed929babc7959cebb
data/MIT-LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 NoCoffee
3
+ Copyright (c) 2020 NoCoffee
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Coal
2
2
 
3
- [![Code Climate](https://codeclimate.com/github/locomotivecms/coal/badges/gpa.svg)](https://codeclimate.com/github/locomotivecms/coal) [![Dependency Status](https://gemnasium.com/locomotivecms/coal.svg)](https://gemnasium.com/locomotivecms/coal) [![Build Status](https://travis-ci.org/locomotivecms/coal.svg?branch=master)](https://travis-ci.org/locomotivecms/coal) [![Coverage Status](https://coveralls.io/repos/locomotivecms/coal/badge.svg?branch=master)](https://coveralls.io/r/locomotivecms/coal?branch=master)
3
+ [![Code Climate](https://codeclimate.com/github/locomotivecms/coal/badges/gpa.svg)](https://codeclimate.com/github/locomotivecms/coal) [![Build Status](https://travis-ci.org/locomotivecms/coal.svg?branch=master)](https://travis-ci.org/locomotivecms/coal) [![Coverage Status](https://coveralls.io/repos/github/locomotivecms/coal/badge.svg?branch=master)](https://coveralls.io/github/locomotivecms/coal?branch=master)
4
4
 
5
- The Ruby API Client for LocomotiveCMS V3.
5
+ The Ruby API Client for LocomotiveCMS V4.
6
6
 
7
7
  ## Table of Contents
8
8
 
@@ -337,4 +337,4 @@ Check the issues section of the repository to see what is missing.
337
337
 
338
338
  ## License
339
339
 
340
- Copyright (c) 2019 NoCoffee. MIT Licensed, see LICENSE for details.
340
+ Copyright (c) 2020 NoCoffee. MIT Licensed, see LICENSE for details.
@@ -25,7 +25,7 @@ module Locomotive::Coal::Resources
25
25
  # Just uncomment following line if you want to trace protocol between wagon & engine live
26
26
  # puts "#{parameters}"
27
27
  _do_request(action, "#{uri.path}/#{endpoint}.json", parameters)
28
- rescue ::Timeout::Error, ::Errno::ETIMEDOUT, Faraday::Error::TimeoutError => e
28
+ rescue ::Timeout::Error, ::Errno::ETIMEDOUT, Faraday::TimeoutError => e
29
29
  if max_count > 0
30
30
  puts "\n Warning => timeout detected, attempts left: #{max_count}\n\n"
31
31
  max_count -= 1
@@ -3,6 +3,6 @@
3
3
  # 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
4
4
  module Locomotive
5
5
  module Coal
6
- VERSION = '1.6.0'
6
+ VERSION = '1.8.0.alpha1'
7
7
  end
8
8
  end
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
4
+ version: 1.8.0.alpha1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didier Lafforgue
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-20 00:00:00.000000000 Z
11
+ date: 2024-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -16,90 +16,84 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 13.0.1
19
+ version: '13.1'
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: 13.0.1
26
+ version: '13.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: httpclient
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.8.3
33
+ version: '2.8'
34
34
  type: :runtime
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: 2.8.3
40
+ version: '2.8'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: faraday
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.15.4
47
+ version: '1.0'
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: 0.15.4
54
+ version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: faraday_middleware
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.13.1
61
+ version: '1.2'
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.13.1
68
+ version: '1.2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activesupport
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 5.1.5
76
- - - "<="
77
- - !ruby/object:Gem::Version
78
- version: '6.0'
75
+ version: '7.1'
79
76
  type: :runtime
80
77
  prerelease: false
81
78
  version_requirements: !ruby/object:Gem::Requirement
82
79
  requirements:
83
80
  - - ">="
84
81
  - !ruby/object:Gem::Version
85
- version: 5.1.5
86
- - - "<="
87
- - !ruby/object:Gem::Version
88
- version: '6.0'
82
+ version: '7.1'
89
83
  - !ruby/object:Gem::Dependency
90
84
  name: mime-types
91
85
  requirement: !ruby/object:Gem::Requirement
92
86
  requirements:
93
87
  - - "~>"
94
88
  - !ruby/object:Gem::Version
95
- version: 3.1.0
89
+ version: '3.5'
96
90
  type: :runtime
97
91
  prerelease: false
98
92
  version_requirements: !ruby/object:Gem::Requirement
99
93
  requirements:
100
94
  - - "~>"
101
95
  - !ruby/object:Gem::Version
102
- version: 3.1.0
96
+ version: '3.5'
103
97
  description: The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform
104
98
  email:
105
99
  - didier@nocoffee.fr
@@ -107,14 +101,8 @@ executables: []
107
101
  extensions: []
108
102
  extra_rdoc_files: []
109
103
  files:
110
- - ".gitignore"
111
- - ".rspec"
112
- - ".travis.yml"
113
- - Gemfile
114
- - Gemfile.lock
115
104
  - MIT-LICENSE
116
105
  - README.md
117
- - Rakefile
118
106
  - lib/locomotive/coal.rb
119
107
  - lib/locomotive/coal/client.rb
120
108
  - lib/locomotive/coal/client_v2.rb
@@ -140,57 +128,11 @@ files:
140
128
  - lib/locomotive/coal/resources/translations.rb
141
129
  - lib/locomotive/coal/upload_io.rb
142
130
  - lib/locomotive/coal/version.rb
143
- - locomotivecms_coal.gemspec
144
- - spec/fixtures/assets/locomotive.png
145
- - spec/fixtures/assets/rails.png
146
- - spec/fixtures/coal_cassettes/accounts.yml
147
- - spec/fixtures/coal_cassettes/client.yml
148
- - spec/fixtures/coal_cassettes/content_assets.yml
149
- - spec/fixtures/coal_cassettes/content_entries.yml
150
- - spec/fixtures/coal_cassettes/content_types.yml
151
- - spec/fixtures/coal_cassettes/current_site.yml
152
- - spec/fixtures/coal_cassettes/memberships.yml
153
- - spec/fixtures/coal_cassettes/my_account.yml
154
- - spec/fixtures/coal_cassettes/pages.yml
155
- - spec/fixtures/coal_cassettes/sections.yml
156
- - spec/fixtures/coal_cassettes/sites.yml
157
- - spec/fixtures/coal_cassettes/snippets.yml
158
- - spec/fixtures/coal_cassettes/theme_assets.yml
159
- - spec/fixtures/coal_cassettes/token.yml
160
- - spec/fixtures/coal_cassettes/translations.yml
161
- - spec/fixtures/coal_cassettes/version.yml
162
- - spec/integration/client_spec.rb
163
- - spec/integration/resources/accounts_spec.rb
164
- - spec/integration/resources/content_assets_spec.rb
165
- - spec/integration/resources/content_entries_spec.rb
166
- - spec/integration/resources/content_types_spec.rb
167
- - spec/integration/resources/current_site_spec.rb
168
- - spec/integration/resources/engine_version_spec.rb
169
- - spec/integration/resources/memberships_spec.rb
170
- - spec/integration/resources/my_account_spec.rb
171
- - spec/integration/resources/pages_spec.rb
172
- - spec/integration/resources/sections_spec.rb
173
- - spec/integration/resources/sites_spec.rb
174
- - spec/integration/resources/snippets_spec.rb
175
- - spec/integration/resources/theme_assets_spec.rb
176
- - spec/integration/resources/token_spec.rb
177
- - spec/integration/resources/translations_spec.rb
178
- - spec/spec_helper.rb
179
- - spec/support/api_settings.rb
180
- - spec/support/assets.rb
181
- - spec/support/default_resources.rb
182
- - spec/support/pry.rb
183
- - spec/support/vcr.rb
184
- - spec/unit/client_spec.rb
185
- - spec/unit/client_v2_spec.rb
186
- - spec/unit/error_spec.rb
187
- - spec/unit/paginated_resources_spec.rb
188
- - spec/unit/resource_spec.rb
189
131
  homepage: https://github.com/locomotivecms/coal
190
132
  licenses:
191
133
  - MIT
192
134
  metadata: {}
193
- post_install_message:
135
+ post_install_message:
194
136
  rdoc_options: []
195
137
  require_paths:
196
138
  - lib
@@ -198,60 +140,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
198
140
  requirements:
199
141
  - - ">="
200
142
  - !ruby/object:Gem::Version
201
- version: '2.0'
143
+ version: '3.0'
202
144
  required_rubygems_version: !ruby/object:Gem::Requirement
203
145
  requirements:
204
146
  - - ">="
205
147
  - !ruby/object:Gem::Version
206
148
  version: '0'
207
149
  requirements: []
208
- rubygems_version: 3.0.3
209
- signing_key:
150
+ rubygems_version: 3.5.4
151
+ signing_key:
210
152
  specification_version: 4
211
153
  summary: The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform
212
- test_files:
213
- - spec/fixtures/assets/locomotive.png
214
- - spec/fixtures/assets/rails.png
215
- - spec/fixtures/coal_cassettes/accounts.yml
216
- - spec/fixtures/coal_cassettes/client.yml
217
- - spec/fixtures/coal_cassettes/content_assets.yml
218
- - spec/fixtures/coal_cassettes/content_entries.yml
219
- - spec/fixtures/coal_cassettes/content_types.yml
220
- - spec/fixtures/coal_cassettes/current_site.yml
221
- - spec/fixtures/coal_cassettes/memberships.yml
222
- - spec/fixtures/coal_cassettes/my_account.yml
223
- - spec/fixtures/coal_cassettes/pages.yml
224
- - spec/fixtures/coal_cassettes/sections.yml
225
- - spec/fixtures/coal_cassettes/sites.yml
226
- - spec/fixtures/coal_cassettes/snippets.yml
227
- - spec/fixtures/coal_cassettes/theme_assets.yml
228
- - spec/fixtures/coal_cassettes/token.yml
229
- - spec/fixtures/coal_cassettes/translations.yml
230
- - spec/fixtures/coal_cassettes/version.yml
231
- - spec/integration/client_spec.rb
232
- - spec/integration/resources/accounts_spec.rb
233
- - spec/integration/resources/content_assets_spec.rb
234
- - spec/integration/resources/content_entries_spec.rb
235
- - spec/integration/resources/content_types_spec.rb
236
- - spec/integration/resources/current_site_spec.rb
237
- - spec/integration/resources/engine_version_spec.rb
238
- - spec/integration/resources/memberships_spec.rb
239
- - spec/integration/resources/my_account_spec.rb
240
- - spec/integration/resources/pages_spec.rb
241
- - spec/integration/resources/sections_spec.rb
242
- - spec/integration/resources/sites_spec.rb
243
- - spec/integration/resources/snippets_spec.rb
244
- - spec/integration/resources/theme_assets_spec.rb
245
- - spec/integration/resources/token_spec.rb
246
- - spec/integration/resources/translations_spec.rb
247
- - spec/spec_helper.rb
248
- - spec/support/api_settings.rb
249
- - spec/support/assets.rb
250
- - spec/support/default_resources.rb
251
- - spec/support/pry.rb
252
- - spec/support/vcr.rb
253
- - spec/unit/client_spec.rb
254
- - spec/unit/client_v2_spec.rb
255
- - spec/unit/error_spec.rb
256
- - spec/unit/paginated_resources_spec.rb
257
- - spec/unit/resource_spec.rb
154
+ test_files: []
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- coverage/
2
- pkg/
3
- .DS_Store
4
- .ruby-version
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --format=progress
2
- --color
data/.travis.yml DELETED
@@ -1,8 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.6.5
4
- env:
5
- - CODECLIMATE_REPO_TOKEN=8d9c25de4eff1cd06d3accdc09775397e1a81be67e2a159453ba4e4408acae16
6
- addons:
7
- code_climate:
8
- repo_token: 8d9c25de4eff1cd06d3accdc09775397e1a81be67e2a159453ba4e4408acae16
data/Gemfile DELETED
@@ -1,21 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- group :development do
6
- end
7
-
8
- group :test do
9
- gem 'rest-client', '~> 2.0.2'
10
-
11
- gem 'rspec', '~> 3.5.0'
12
- gem 'json_spec', '~> 1.1.4'
13
-
14
- gem 'pry-byebug', '~> 3.4.2'
15
-
16
- gem 'webmock'
17
- gem 'vcr'
18
-
19
- gem 'codeclimate-test-reporter', '~> 1.0.7', require: false
20
- gem 'coveralls', '~> 0.8.19', require: false
21
- end
data/Gemfile.lock DELETED
@@ -1,125 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- locomotivecms_coal (1.6.0)
5
- activesupport (>= 5.1.5, <= 6.0)
6
- faraday (~> 0.15.4)
7
- faraday_middleware (~> 0.13.1)
8
- httpclient (~> 2.8.3)
9
- mime-types (~> 3.1.0)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- activesupport (6.0.0)
15
- concurrent-ruby (~> 1.0, >= 1.0.2)
16
- i18n (>= 0.7, < 2)
17
- minitest (~> 5.1)
18
- tzinfo (~> 1.1)
19
- zeitwerk (~> 2.1, >= 2.1.8)
20
- addressable (2.5.2)
21
- public_suffix (>= 2.0.2, < 4.0)
22
- byebug (9.0.6)
23
- codeclimate-test-reporter (1.0.7)
24
- simplecov
25
- coderay (1.1.2)
26
- concurrent-ruby (1.1.5)
27
- coveralls (0.8.21)
28
- json (>= 1.8, < 3)
29
- simplecov (~> 0.14.1)
30
- term-ansicolor (~> 1.3)
31
- thor (~> 0.19.4)
32
- tins (~> 1.6)
33
- crack (0.4.3)
34
- safe_yaml (~> 1.0.0)
35
- diff-lcs (1.3)
36
- docile (1.1.5)
37
- domain_name (0.5.20170404)
38
- unf (>= 0.0.5, < 1.0.0)
39
- faraday (0.15.4)
40
- multipart-post (>= 1.2, < 3)
41
- faraday_middleware (0.13.1)
42
- faraday (>= 0.7.4, < 1.0)
43
- hashdiff (0.3.7)
44
- http-cookie (1.0.3)
45
- domain_name (~> 0.5)
46
- httpclient (2.8.3)
47
- i18n (1.7.0)
48
- concurrent-ruby (~> 1.0)
49
- json (2.1.0)
50
- json_spec (1.1.5)
51
- multi_json (~> 1.0)
52
- rspec (>= 2.0, < 4.0)
53
- method_source (0.9.0)
54
- mime-types (3.1)
55
- mime-types-data (~> 3.2015)
56
- mime-types-data (3.2016.0521)
57
- minitest (5.13.0)
58
- multi_json (1.13.1)
59
- multipart-post (2.1.1)
60
- netrc (0.11.0)
61
- pry (0.11.3)
62
- coderay (~> 1.1.0)
63
- method_source (~> 0.9.0)
64
- pry-byebug (3.4.3)
65
- byebug (>= 9.0, < 9.1)
66
- pry (~> 0.10)
67
- public_suffix (3.0.2)
68
- rake (13.0.1)
69
- rest-client (2.0.2)
70
- http-cookie (>= 1.0.2, < 2.0)
71
- mime-types (>= 1.16, < 4.0)
72
- netrc (~> 0.8)
73
- rspec (3.5.0)
74
- rspec-core (~> 3.5.0)
75
- rspec-expectations (~> 3.5.0)
76
- rspec-mocks (~> 3.5.0)
77
- rspec-core (3.5.4)
78
- rspec-support (~> 3.5.0)
79
- rspec-expectations (3.5.0)
80
- diff-lcs (>= 1.2.0, < 2.0)
81
- rspec-support (~> 3.5.0)
82
- rspec-mocks (3.5.0)
83
- diff-lcs (>= 1.2.0, < 2.0)
84
- rspec-support (~> 3.5.0)
85
- rspec-support (3.5.0)
86
- safe_yaml (1.0.4)
87
- simplecov (0.14.1)
88
- docile (~> 1.1.0)
89
- json (>= 1.8, < 3)
90
- simplecov-html (~> 0.10.0)
91
- simplecov-html (0.10.2)
92
- term-ansicolor (1.6.0)
93
- tins (~> 1.0)
94
- thor (0.19.4)
95
- thread_safe (0.3.6)
96
- tins (1.16.3)
97
- tzinfo (1.2.5)
98
- thread_safe (~> 0.1)
99
- unf (0.1.4)
100
- unf_ext
101
- unf_ext (0.0.7.5)
102
- vcr (4.0.0)
103
- webmock (3.3.0)
104
- addressable (>= 2.3.6)
105
- crack (>= 0.3.2)
106
- hashdiff
107
- zeitwerk (2.2.1)
108
-
109
- PLATFORMS
110
- ruby
111
-
112
- DEPENDENCIES
113
- codeclimate-test-reporter (~> 1.0.7)
114
- coveralls (~> 0.8.19)
115
- json_spec (~> 1.1.4)
116
- locomotivecms_coal!
117
- pry-byebug (~> 3.4.2)
118
- rake (~> 13.0.1)
119
- rest-client (~> 2.0.2)
120
- rspec (~> 3.5.0)
121
- vcr
122
- webmock
123
-
124
- BUNDLED WITH
125
- 1.17.3
data/Rakefile DELETED
@@ -1,21 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler/setup'
3
- require 'bundler/gem_tasks'
4
-
5
- require 'rake'
6
- require 'rspec'
7
-
8
- require_relative 'lib/locomotive/coal'
9
-
10
- require 'rspec/core/rake_task'
11
- RSpec::Core::RakeTask.new('spec')
12
-
13
- RSpec::Core::RakeTask.new('spec:integration') do |spec|
14
- spec.pattern = 'spec/integration/**/*_spec.rb'
15
- end
16
-
17
- RSpec::Core::RakeTask.new('spec:unit') do |spec|
18
- spec.pattern = 'spec/unit/**/*_spec.rb'
19
- end
20
-
21
- task default: [:spec]
@@ -1,27 +0,0 @@
1
- require_relative 'lib/locomotive/coal/version'
2
-
3
- Gem::Specification.new do |spec|
4
- spec.name = 'locomotivecms_coal'
5
- spec.version = Locomotive::Coal::VERSION
6
- spec.authors = ['Didier Lafforgue']
7
- spec.email = ['didier@nocoffee.fr']
8
- spec.description = %q{The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform}
9
- spec.summary = %q{The LocomotiveCMS Coal is the API ruby client for the LocomotiveCMS platform}
10
- spec.homepage = 'https://github.com/locomotivecms/coal'
11
- spec.license = 'MIT'
12
-
13
- spec.files = `git ls-files`.split($/)
14
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
15
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
- spec.require_paths = ['lib']
17
-
18
- spec.add_development_dependency 'rake', '~> 13.0.1'
19
-
20
- spec.add_dependency 'httpclient', '~> 2.8.3'
21
- spec.add_dependency 'faraday', '~> 0.15.4'
22
- spec.add_dependency 'faraday_middleware', '~> 0.13.1'
23
- spec.add_dependency 'activesupport', '>= 5.1.5', '<= 6.0'
24
- spec.add_dependency 'mime-types', '~> 3.1.0'
25
-
26
- spec.required_ruby_version = '>= 2.0'
27
- end
Binary file
Binary file