Skip to content

Commit

Permalink
Require AS deprecation, that way we can upgrade to AS 5
Browse files Browse the repository at this point in the history
I suspect auto-require of AS deprecation has been removed from
the project, even Rails requires it in files it is using it.
  • Loading branch information
adomokos committed Sep 16, 2016
1 parent 0c16693 commit 5462604
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/light-service/action.rb
@@ -1,3 +1,5 @@
require 'active_support/deprecation'

module LightService
module Action
def self.extended(base_class)
Expand Down
2 changes: 2 additions & 0 deletions lib/light-service/context.rb
@@ -1,3 +1,5 @@
require 'active_support/deprecation'

module LightService
module Outcomes
SUCCESS = 0
Expand Down
2 changes: 2 additions & 0 deletions lib/light-service/organizer.rb
@@ -1,3 +1,5 @@
require 'active_support/deprecation'

module LightService
module Organizer
def self.extended(base_class)
Expand Down
2 changes: 1 addition & 1 deletion light-service.gemspec
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.version = LightService::VERSION

gem.add_dependency("activesupport", ">= 3.0", "< 5")
gem.add_dependency("activesupport", ">= 3.0")

gem.add_development_dependency("rspec", "~> 3.0")
gem.add_development_dependency("simplecov", "~> 0.11")
Expand Down

0 comments on commit 5462604

Please sign in to comment.