action_spec 1.0.0 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fccbffa8f14fb73bec7eade75add8f70d0371741999475ef292ed980d985ddc
4
- data.tar.gz: 20f1b1d3b86826b1cb9d2ed3d72f0259ccd28c397790bbf8bc8fb8766cab0329
3
+ metadata.gz: 0adf599aac952bde5c1969385d71ea5a023fe20814abd835a8ab55dca32ca319
4
+ data.tar.gz: 6761792a92ae44fd93b7fad87d350d952494ff6c3b7bc17023ae5fd7020d373f
5
5
  SHA512:
6
- metadata.gz: 552c83ccebe73754cb2b6e160cbfb8774ea818e22e665a1ba6df322c5051e5ff7902b533d82c2c2a93f94fd0f631264e2e344521b67a3582576a27b5f4ce2144
7
- data.tar.gz: 9585aa85edeb6654d00e06b7a0e2478aed741675d3d90e0b60c46ac99d267e68d13bbe30060f6b163b1869ac508b92c4509b8b0b0f69f3ae7d0c386da875afce
6
+ metadata.gz: 5490efab1cd187ab21a97c10401dc3471c81dccc161e40955b5e53cb2f9b5cacf375cb55cbed382bc19f47e7bd0b9f69aa870c4ca0bf9f78663b6f89e1973d74
7
+ data.tar.gz: ee1d9eb0eaacbbc8df53b5db72568006dde268ecf400f0de4f60087ee60511a51fde327716c5a23612398dd01a0f6e37665123569f28e9e95bba32bd74a03107
data/README.md CHANGED
@@ -557,7 +557,7 @@ Available config keys:
557
557
 
558
558
  ### I18n
559
559
 
560
- ActionSpec loads its own locale files and uses `ActiveModel::Errors`, so you can override both messages and attribute names:
560
+ ActionSpec uses `ActiveModel::Errors`, so you can override both messages and attribute names:
561
561
 
562
562
  ```yml
563
563
  en:
@@ -1,9 +1,5 @@
1
1
  module ActionSpec
2
2
  class Railtie < ::Rails::Railtie
3
- initializer "action_spec.i18n" do |app|
4
- app.config.i18n.load_path += Dir[root.join("config/locales/*.yml")]
5
- end
6
-
7
3
  initializer "action_spec.controller" do
8
4
  ActiveSupport.on_load(:action_controller_base) do
9
5
  include ActionSpec::Doc
@@ -1,3 +1,3 @@
1
1
  module ActionSpec
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhandao
@@ -43,7 +43,7 @@ dependencies:
43
43
  - - "<"
44
44
  - !ruby/object:Gem::Version
45
45
  version: '9.0'
46
- description: Concise and Powerful API Documentation Solution for Rails.
46
+ description: A concise Rails DSL for declaring API request and response schemas.
47
47
  email:
48
48
  - a@skipping.cat
49
49
  executables: []
@@ -87,8 +87,8 @@ licenses:
87
87
  - MIT
88
88
  metadata:
89
89
  homepage_uri: https://github.com/action-spec/action_spec
90
- source_code_uri: https://github.com/action-spec/action_spec
91
- changelog_uri: https://github.com/action-spec/action_spec/CHANils.
90
+ source_code_uri: https://github.com/action-spec/action_spec/tree/main
91
+ changelog_uri: https://github.com/action-spec/action_spec/releases
92
92
  rdoc_options: []
93
93
  require_paths:
94
94
  - lib