apress-moysklad 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,23 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+
4
+ require 'simplecov'
5
+
6
+ SimpleCov.start do
7
+ minimum_coverage 95
8
+ end
9
+
10
+ require 'apress/moysklad'
11
+
12
+ require 'rspec'
13
+ require 'rspec/its'
14
+ require 'rspec/collection_matchers'
15
+
16
+ require 'timecop'
17
+ require 'webmock/rspec'
18
+ require 'vcr'
19
+
20
+ VCR.configure do |config|
21
+ config.cassette_library_dir = 'spec/fixtures'
22
+ config.hook_into :webmock
23
+ end
metadata ADDED
@@ -0,0 +1,228 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: apress-moysklad
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Korotaev Danil
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-01-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: oj
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.6'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: '11.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "<"
53
+ - !ruby/object:Gem::Version
54
+ version: '11.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '3.5'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '3.5'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec-its
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec-collection_matchers
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: timecop
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "<"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.3'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "<"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.3'
125
+ - !ruby/object:Gem::Dependency
126
+ name: vcr
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: simplecov
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 0.10.0
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 0.10.0
153
+ description:
154
+ email:
155
+ - korotaev.danil@gmail.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".drone.yml"
161
+ - ".gitignore"
162
+ - ".rspec"
163
+ - CHANGELOG.md
164
+ - Gemfile
165
+ - README.md
166
+ - Rakefile
167
+ - apress-moysklad.gemspec
168
+ - dip.yml
169
+ - docker-compose.development.yml
170
+ - docker-compose.drone.yml
171
+ - docker-compose.yml
172
+ - lib/apress/moysklad.rb
173
+ - lib/apress/moysklad/api.rb
174
+ - lib/apress/moysklad/api/client.rb
175
+ - lib/apress/moysklad/api/error.rb
176
+ - lib/apress/moysklad/presenters.rb
177
+ - lib/apress/moysklad/presenters/assortment.rb
178
+ - lib/apress/moysklad/readers.rb
179
+ - lib/apress/moysklad/readers/assortment.rb
180
+ - lib/apress/moysklad/version.rb
181
+ - spec/apress/moysklad/api/client_spec.rb
182
+ - spec/apress/moysklad/api/error_spec.rb
183
+ - spec/apress/moysklad/presenters/assortment_spec.rb
184
+ - spec/apress/moysklad/readers/assortment_spec.rb
185
+ - spec/fixtures/assortment.json
186
+ - spec/fixtures/get_assortment.yml
187
+ - spec/fixtures/get_assortment_unauthorized.yml
188
+ - spec/fixtures/get_assortment_with_invalid_params.yml
189
+ - spec/fixtures/get_assortment_with_limit_and_offset.yml
190
+ - spec/fixtures/get_invalid_entity.yml
191
+ - spec/fixtures/read_assortment.yml
192
+ - spec/spec_helper.rb
193
+ homepage: https://github.com/abak-press/apress-moysklad
194
+ licenses: []
195
+ metadata: {}
196
+ post_install_message:
197
+ rdoc_options: []
198
+ require_paths:
199
+ - lib
200
+ required_ruby_version: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ version: '0'
205
+ required_rubygems_version: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ requirements: []
211
+ rubyforge_project:
212
+ rubygems_version: 2.6.1
213
+ signing_key:
214
+ specification_version: 4
215
+ summary: Tools for synchronization with MoySklad online-service
216
+ test_files:
217
+ - spec/apress/moysklad/api/client_spec.rb
218
+ - spec/apress/moysklad/api/error_spec.rb
219
+ - spec/apress/moysklad/presenters/assortment_spec.rb
220
+ - spec/apress/moysklad/readers/assortment_spec.rb
221
+ - spec/fixtures/assortment.json
222
+ - spec/fixtures/get_assortment.yml
223
+ - spec/fixtures/get_assortment_unauthorized.yml
224
+ - spec/fixtures/get_assortment_with_invalid_params.yml
225
+ - spec/fixtures/get_assortment_with_limit_and_offset.yml
226
+ - spec/fixtures/get_invalid_entity.yml
227
+ - spec/fixtures/read_assortment.yml
228
+ - spec/spec_helper.rb