Skip to content

Commit

Permalink
update version references to match semantic versioning properly
Browse files Browse the repository at this point in the history
  • Loading branch information
serggl committed Sep 22, 2016
1 parent 83617bd commit 68b5b74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 0.2.3 (Next)
### 0.3.0 (Next)

* [#70](https://github.com/ruby-grape/grape-swagger-rails/pull/70): Rails 5 support - [@serggl](https://github.com/serggl).
* [#68](https://github.com/ruby-grape/grape-swagger-rails/pull/68): Added danger, PR linter - [@dblock](https://github.com/dblock).
Expand Down
2 changes: 1 addition & 1 deletion lib/grape-swagger-rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module GrapeSwaggerRails
class Options < OpenStruct
def before_filter(&block)
ActiveSupport::Deprecation.warn('This option is deprecated and going to be removed in 0.3.0. ' \
ActiveSupport::Deprecation.warn('This option is deprecated and going to be removed in 1.0.0. ' \
'Please use `before_action` instead')
before_action(&block)
end
Expand Down
2 changes: 1 addition & 1 deletion spec/features/swagger_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
GrapeSwaggerRails.options.before_filter { true }

expect(ActiveSupport::Deprecation).to have_received(:warn).with('This option is deprecated ' \
'and going to be removed in 0.3.0. Please use `before_action` instead')
'and going to be removed in 1.0.0. Please use `before_action` instead')
end
end
context '#before_action' do
Expand Down

0 comments on commit 68b5b74

Please sign in to comment.