dry-swagger 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed8f56ae8c51d9c43a963361c5d50a59c50be461223c4d0488644a3c6721f116
4
- data.tar.gz: 3190f18d3e6b34a30855900cd4c708c830bae42ce2799fef5fc9d173e44318dd
3
+ metadata.gz: 9b26879187416eeb9a9bafee3cb7f7cfc11cf507b7c9684fc8415f12ed246bfd
4
+ data.tar.gz: dea3839fce17641081fc569c29f32d758eccb5bfe2b3e9139e35b9495104be47
5
5
  SHA512:
6
- metadata.gz: ca5ef42e0a128ec1bf9c4665b898004567eb6508ab87eda793608361b4fd1e0969f8ac867e33f08074c9202c6c14e444f0f4dd95f84986e53c75d86781822227
7
- data.tar.gz: ee6338737bafbbd83bacd46bc84df58897c4963456d882784097dd928338ea118600263856921986c10142b7cf396c0812d8d1df346bfab773e4e5b1c8154cee
6
+ metadata.gz: c1526dbb96d90dfa3631d92289e861d66af20bd7709a4e79d214275699e611f22739e660ea1ec4a3a7c93eb19bf92141d8dd2e5fce4f177567db50a07a6b3d37
7
+ data.tar.gz: 0a51759965cd85fd48a5177ddb68b8999a3b2b63eb6d8108e4b6d39ae07696b9b46cc095ff01f470fb413b956196c94a9d7655eb7cc1d64419dfcb6268d9ea84
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dry-swagger (0.6.1)
4
+ dry-swagger (0.6.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/dry/swagger.rb CHANGED
@@ -12,5 +12,6 @@ require 'i18n'
12
12
  module Dry
13
13
  module Swagger
14
14
  ::I18n.load_path << Dir[File.expand_path("config/locales") + "/*.yml"]
15
+ require 'my_gem/railtie' if defined?(Rails)
15
16
  end
16
17
  end
@@ -0,0 +1,15 @@
1
+ require 'dry/swagger'
2
+ require 'rails'
3
+
4
+ module Dry
5
+ module Swagger
6
+ class Railtie < Rails::Railtie
7
+ railtie_name :my_gem
8
+
9
+ rake_tasks do
10
+ path = File.expand_path(__dir__)
11
+ Dir.glob("#{path}/tasks/**/*.rake").each { |f| load f }
12
+ end
13
+ end
14
+ end
15
+ end
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Swagger
3
- VERSION = "0.6.1"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-swagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jane-Terziev
@@ -39,10 +39,11 @@ files:
39
39
  - lib/dry/swagger/documentation_generator.rb
40
40
  - lib/dry/swagger/errors/missing_hash_schema_error.rb
41
41
  - lib/dry/swagger/errors/missing_type_error.rb
42
+ - lib/dry/swagger/railtie.rb
42
43
  - lib/dry/swagger/struct_parser.rb
44
+ - lib/dry/swagger/tasks/configuration_generator.rake
43
45
  - lib/dry/swagger/types.rb
44
46
  - lib/dry/swagger/version.rb
45
- - lib/tasks/configuration_generator.rake
46
47
  homepage: https://github.com/Jane-Terziev/dry-swagger
47
48
  licenses:
48
49
  - MIT