apipie-rails 0.3.6 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +13 -3
- data/CHANGELOG.md +33 -0
- data/Gemfile +3 -3
- data/Gemfile.rails41 +1 -0
- data/Gemfile.rails42 +7 -1
- data/Gemfile.rails50 +7 -0
- data/Gemfile.rails51 +7 -0
- data/README.rst +12 -12
- data/apipie-rails.gemspec +2 -3
- data/app/controllers/apipie/apipies_controller.rb +10 -6
- data/config/locales/it.yml +31 -0
- data/config/locales/ja.yml +31 -0
- data/lib/apipie/apipie_module.rb +6 -4
- data/lib/apipie/application.rb +6 -11
- data/lib/apipie/dsl_definition.rb +2 -2
- data/lib/apipie/extractor/recorder.rb +5 -9
- data/lib/apipie/extractor/writer.rb +18 -13
- data/lib/apipie/extractor.rb +2 -2
- data/lib/apipie/param_description.rb +16 -1
- data/lib/apipie/validator.rb +3 -3
- data/lib/apipie/version.rb +1 -1
- data/lib/apipie-rails.rb +1 -0
- data/lib/tasks/apipie.rake +5 -1
- data/spec/controllers/apipies_controller_spec.rb +12 -12
- data/spec/controllers/concerns_controller_spec.rb +2 -2
- data/spec/controllers/users_controller_spec.rb +93 -74
- data/spec/dummy/app/controllers/application_controller.rb +1 -1
- data/spec/dummy/app/controllers/concerns/sample_controller.rb +5 -5
- data/spec/dummy/app/controllers/users_controller.rb +11 -10
- data/spec/dummy/config/environments/development.rb +3 -0
- data/spec/dummy/config/environments/production.rb +3 -0
- data/spec/dummy/config/environments/test.rb +3 -0
- data/spec/dummy/config/initializers/apipie.rb +1 -1
- data/spec/dummy/config/routes.rb +1 -1
- data/spec/spec_helper.rb +27 -0
- metadata +10 -22
- data/Gemfile.rails32 +0 -6
- data/Gemfile.rails40 +0 -5
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apipie-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Pokorny
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-04-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -17,28 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
21
|
-
type: :development
|
22
|
-
prerelease: false
|
23
|
-
version_requirements: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: 3.0.20
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: json
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0'
|
20
|
+
version: '4.1'
|
35
21
|
type: :runtime
|
36
22
|
prerelease: false
|
37
23
|
version_requirements: !ruby/object:Gem::Requirement
|
38
24
|
requirements:
|
39
25
|
- - ">="
|
40
26
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
27
|
+
version: '4.1'
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
29
|
name: rspec-rails
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,10 +137,10 @@ files:
|
|
151
137
|
- APACHE-LICENSE-2.0
|
152
138
|
- CHANGELOG.md
|
153
139
|
- Gemfile
|
154
|
-
- Gemfile.rails32
|
155
|
-
- Gemfile.rails40
|
156
140
|
- Gemfile.rails41
|
157
141
|
- Gemfile.rails42
|
142
|
+
- Gemfile.rails50
|
143
|
+
- Gemfile.rails51
|
158
144
|
- MIT-LICENSE
|
159
145
|
- NOTICE
|
160
146
|
- README.rst
|
@@ -191,6 +177,8 @@ files:
|
|
191
177
|
- config/locales/de.yml
|
192
178
|
- config/locales/en.yml
|
193
179
|
- config/locales/es.yml
|
180
|
+
- config/locales/it.yml
|
181
|
+
- config/locales/ja.yml
|
194
182
|
- config/locales/pl.yml
|
195
183
|
- config/locales/pt-BR.yml
|
196
184
|
- config/locales/ru.yml
|
@@ -303,7 +291,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
303
291
|
requirements:
|
304
292
|
- - ">="
|
305
293
|
- !ruby/object:Gem::Version
|
306
|
-
version:
|
294
|
+
version: 2.0.0
|
307
295
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
308
296
|
requirements:
|
309
297
|
- - ">="
|
@@ -311,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
311
299
|
version: '0'
|
312
300
|
requirements: []
|
313
301
|
rubyforge_project:
|
314
|
-
rubygems_version: 2.
|
302
|
+
rubygems_version: 2.4.5
|
315
303
|
signing_key:
|
316
304
|
specification_version: 4
|
317
305
|
summary: Rails REST API documentation tool
|
data/Gemfile.rails32
DELETED