dry-swagger 0.6.0 → 0.6.4

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: 81ebe584ca27d649b54274106892160bc2b093f99b478dffc06873da1d4e46a5
4
- data.tar.gz: eaecf374689642228916df2b7abf02799aa6ac6f22c7d31cbc1786ba215527d1
3
+ metadata.gz: 512f0bcda8978f81446a9d38defe2032ea6112c15ffa88161a93377f15e60749
4
+ data.tar.gz: 63a96b4b908446f0c94dd9892378e429de2ff495b8872746493209b059aa4a20
5
5
  SHA512:
6
- metadata.gz: e29e1554ee459d668656ef0dfb9dba87dc531cd27d841a3b6dc77eb9d97eb5b40a7fee88fdc3cf968e4b87db65ba7ee4dec285d24e619ad4149b7ba012ba02b8
7
- data.tar.gz: 61a89adcc627a3ee432cfdad4de2d1bafb1ee215046f46e4fa20188111e1676ff87507587c612474dc0441d207944e1c794c37246b851ff6428221f510c3f6fb
6
+ metadata.gz: 76c2051449806015b5c460304e9bd5a9612ad3d3fbf609bc3f84abe1cb50654c45f2ac0cbf4059a8b2bb1914cdca6b53343e9f396e8073e83d3688acc4b74a1a
7
+ data.tar.gz: 49f14db2da9335806c623107f639e8806561170224020fd5d1962285f3997bfbeeda3ae3c65b96b1398b9a9aff3e16053955c8228b3277107f51e4a15967d25c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dry-swagger (0.6.0)
4
+ dry-swagger (0.6.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/lib/dry/swagger.rb CHANGED
@@ -8,6 +8,7 @@ require 'dry/swagger/config/configuration'
8
8
  require 'dry/swagger/config/contract_configuration'
9
9
  require 'dry/swagger/config/struct_configuration'
10
10
  require 'i18n'
11
+ require 'dry/swagger/railtie' if defined?(Rails)
11
12
 
12
13
  module Dry
13
14
  module Swagger
@@ -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 :"dry-swagger"
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.0"
3
+ VERSION = "0.6.4"
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.0
4
+ version: 0.6.4
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
- - rakelib/configuration_generator.rake
46
47
  homepage: https://github.com/Jane-Terziev/dry-swagger
47
48
  licenses:
48
49
  - MIT