dry-swagger 0.6.4 → 0.7.0

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: 512f0bcda8978f81446a9d38defe2032ea6112c15ffa88161a93377f15e60749
4
- data.tar.gz: 63a96b4b908446f0c94dd9892378e429de2ff495b8872746493209b059aa4a20
3
+ metadata.gz: b6fef3fca461d0c5cfd951ae54bf8dff0051728aa97a4ab5918372f7821c4b38
4
+ data.tar.gz: 0e04e6c2f9701b801d1d53aa99d97b605cff32e4c491bdacc81fcf2a9f4ecfd7
5
5
  SHA512:
6
- metadata.gz: 76c2051449806015b5c460304e9bd5a9612ad3d3fbf609bc3f84abe1cb50654c45f2ac0cbf4059a8b2bb1914cdca6b53343e9f396e8073e83d3688acc4b74a1a
7
- data.tar.gz: 49f14db2da9335806c623107f639e8806561170224020fd5d1962285f3997bfbeeda3ae3c65b96b1398b9a9aff3e16053955c8228b3277107f51e4a15967d25c
6
+ metadata.gz: eecb6dd9fff1e8c5fee20ea8a7d81f4090ea6617eb887eeb16b84757a9d41d9bfaee3c6584a149c34f30bf76e954337cac508a4fc698e1aaf1cfd8435edc1c6e
7
+ data.tar.gz: 826aa9737d2ae9ba26419662589d6f368d50f70198cadc34c0f8f037d3837298c541b07f3c9f4690d8c1d2fa9005d526b2d9d01b8f1120b8bff32666e3c0b24a
data/.gitignore CHANGED
@@ -10,4 +10,5 @@
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
12
  .idea/
13
- config/
13
+ config/
14
+ rakelib/
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dry-swagger (0.6.4)
4
+ dry-swagger (0.7.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -312,7 +312,7 @@ You can also modify the fields by passing a block after the .call() method.
312
312
 
313
313
  end.to_swagger()
314
314
 
315
- ##Custom Configuration For Your Project
315
+ ## Custom Configuration For Your Project
316
316
  You can override default configurations by changing the values in the `config/initializers/dry-swagger.rb` file generated from the rake command in the Installation section.
317
317
 
318
318
  To modify the descriptions for the Contracts, modify the values in `config/locale/dry-swagger.yml`.
@@ -4,6 +4,7 @@ namespace 'dry-swagger' do
4
4
  desc 'Create a configuration file for Struct and Contract'
5
5
  task :create_configuration_file do
6
6
  FileUtils.mkdir_p "#{ Dir.pwd }/config/initializers/"
7
+ puts "Created #{ Dir.pwd }/config/initializers/dry-swagger.rb"
7
8
  File.open("#{ Dir.pwd }/config/initializers/dry-swagger.rb", "w") { |file|
8
9
  file.puts 'Dry::Swagger::Config::StructConfiguration.configuration do |config|
9
10
  config.enable_required_validation = true
@@ -26,6 +27,7 @@ end'
26
27
  desc 'Create a YAML file for Contract swagger field descriptions'
27
28
  task :create_contract_descriptions_yaml do
28
29
  FileUtils.mkdir_p "#{ Dir.pwd }/config/locales/"
30
+ puts "Created #{ Dir.pwd }/config/locales/dry-swagger.yml"
29
31
  File.open("#{ Dir.pwd }/config/locales/dry-swagger.yml", "w") { |file|
30
32
  file.puts 'en:
31
33
  contract:
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Swagger
3
- VERSION = "0.6.4"
3
+ VERSION = "0.7.0"
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.4
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jane-Terziev