Skip to content

Commit 9548b68

Browse files
authored
Merge pull request #71 from anjlab/feature/update-version-for-rails5
update version references to match semantic versioning properly
2 parents 83617bd + 68b5b74 commit 9548b68

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### 0.2.3 (Next)
1+
### 0.3.0 (Next)
22

33
* [#70](https://github.com/ruby-grape/grape-swagger-rails/pull/70): Rails 5 support - [@serggl](https://github.com/serggl).
44
* [#68](https://github.com/ruby-grape/grape-swagger-rails/pull/68): Added danger, PR linter - [@dblock](https://github.com/dblock).

lib/grape-swagger-rails.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module GrapeSwaggerRails
44
class Options < OpenStruct
55
def before_filter(&block)
6-
ActiveSupport::Deprecation.warn('This option is deprecated and going to be removed in 0.3.0. ' \
6+
ActiveSupport::Deprecation.warn('This option is deprecated and going to be removed in 1.0.0. ' \
77
'Please use `before_action` instead')
88
before_action(&block)
99
end

spec/features/swagger_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
GrapeSwaggerRails.options.before_filter { true }
108108

109109
expect(ActiveSupport::Deprecation).to have_received(:warn).with('This option is deprecated ' \
110-
'and going to be removed in 0.3.0. Please use `before_action` instead')
110+
'and going to be removed in 1.0.0. Please use `before_action` instead')
111111
end
112112
end
113113
context '#before_action' do

0 commit comments

Comments
 (0)