introspective_grape 0.3.5 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +5 -52
  3. data/CHANGELOG.md +40 -0
  4. data/Gemfile +2 -0
  5. data/README.md +15 -0
  6. data/gemfiles/{Gemfile.rails.4.2.7.1 → Gemfile.rails.5.0.0} +5 -4
  7. data/gemfiles/Gemfile.rails.5.0.1 +1 -0
  8. data/gemfiles/{Gemfile.rails.4.2.7.1.new.swagger → Gemfile.rails.5.1.0} +5 -3
  9. data/gemfiles/{Gemfile.rails.3.2.22 → Gemfile.rails.5.2.0} +5 -4
  10. data/gemfiles/Gemfile.rails.master +1 -0
  11. data/introspective_grape.gemspec +13 -12
  12. data/lib/introspective_grape.rb +3 -1
  13. data/lib/introspective_grape/api.rb +36 -31
  14. data/lib/introspective_grape/camel_snake.rb +30 -31
  15. data/lib/introspective_grape/configuration.rb +15 -0
  16. data/lib/introspective_grape/create_helpers.rb +2 -2
  17. data/lib/introspective_grape/version.rb +1 -1
  18. data/spec/dummy/Gemfile +6 -3
  19. data/spec/dummy/app/api/api_helpers.rb +2 -0
  20. data/spec/dummy/app/api/dummy/company_api.rb +1 -1
  21. data/spec/dummy/app/models/role.rb +1 -1
  22. data/spec/dummy/app/models/user.rb +2 -2
  23. data/spec/dummy/config.ru +12 -0
  24. data/spec/dummy/config/application.rb +1 -1
  25. data/spec/dummy/config/environments/development.rb +3 -3
  26. data/spec/dummy/config/initializers/paperclip_adapter.rb +1 -1
  27. data/spec/dummy/db/migrate/20190325231304_add_test_data.rb +5 -0
  28. data/spec/dummy/db/schema.rb +154 -173
  29. data/spec/requests/chat_api_spec.rb +26 -26
  30. data/spec/requests/company_api_spec.rb +15 -15
  31. data/spec/requests/location_api_spec.rb +18 -18
  32. data/spec/requests/project_api_spec.rb +21 -21
  33. data/spec/requests/role_api_spec.rb +4 -4
  34. data/spec/requests/sessions_api_spec.rb +10 -10
  35. data/spec/requests/swagger_spec.rb +1 -1
  36. data/spec/requests/user_api_spec.rb +34 -36
  37. metadata +49 -51
  38. data/gemfiles/2.0.0-Gemfile +0 -22
  39. data/gemfiles/2.2.0-Gemfile +0 -21
  40. data/gemfiles/Gemfile.rails.4.1.13 +0 -13
  41. data/gemfiles/Gemfile.rails.4.2.8 +0 -12
@@ -1,22 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Declare your gem's dependencies in introspective_grape.gemspec.
4
- # Bundler will treat runtime dependencies like base dependencies, and
5
- # development dependencies will be added by default to the :development group.
6
-
7
- gemspec :path => '../'
8
-
9
- gem 'grape', '< 0.17'
10
- gem 'grape-swagger', '< 0.12.0'
11
- gem 'nokogiri', '< 1.6.9'
12
- gem 'coveralls', require: false
13
-
14
- # Declare any dependencies that are still in development here instead of in
15
- # your gemspec. These might include edge Rails or gems from your path or
16
- # Git. Remember to move these dependencies to your gemspec before releasing
17
- # your gem to rubygems.org.
18
-
19
- group :development,:test do
20
- gem 'rspec'
21
- # gem 'byebug'
22
- end
@@ -1,21 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Declare your gem's dependencies in introspective_grape.gemspec.
4
- # Bundler will treat runtime dependencies like base dependencies, and
5
- # development dependencies will be added by default to the :development group.
6
-
7
- gemspec :path => '../'
8
-
9
- gem 'grape'
10
- gem 'grape-swagger'
11
- gem 'coveralls', require: false
12
-
13
- #
14
- # Declare any dependencies that are still in development here instead of in
15
- # your gemspec. These might include edge Rails or gems from your path or
16
- # Git. Remember to move these dependencies to your gemspec before releasing
17
- # your gem to rubygems.org.
18
-
19
- group :development do
20
- # gem 'byebug'
21
- end
@@ -1,13 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec :path => '../'
4
-
5
- gem 'rails', '4.1.13'
6
- gem 'grape', '< 0.17'
7
- gem 'grape-swagger', '< 0.12.0'
8
- gem 'nokogiri', '< 1.6.9'
9
- gem 'coveralls', require: false
10
-
11
- group :development,:test do
12
- gem 'rspec'
13
- end
@@ -1,12 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec :path => '../'
4
-
5
- gem 'rails', '4.2.8'
6
- gem 'grape', '> 0.17'
7
- gem 'grape-swagger', '> 0.12.0'
8
- gem 'coveralls', require: false
9
-
10
- group :development,:test do
11
- gem 'rspec'
12
- end