forked from mhgbrown/cached_resource
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ISSUE-68] - Add linter, remove support ruby < 3.0 and rails < 6.1
- Loading branch information
Showing
14 changed files
with
148 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fix: true | ||
parallel: true | ||
ruby_version: 3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
require "bundler/gem_tasks" | ||
require 'rspec/core/rake_task' | ||
require "rspec/core/rake_task" | ||
|
||
desc "Run all examples" | ||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
task :default => :spec | ||
task default: :spec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
# -*- encoding: utf-8 -*- | ||
$:.push File.expand_path("../lib", __FILE__) | ||
require "cached_resource/version" | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "cached_resource" | ||
s.version = CachedResource::VERSION | ||
s.authors = "Morgan Brown" | ||
s.email = "[email protected]" | ||
s.homepage = "https://github.com/mhgbrown/cached_resource" | ||
s.summary = %q{Caching for ActiveResource} | ||
s.description = %q{Enables request-based caching for ActiveResource} | ||
s.licenses = ["MIT"] | ||
s.name = "cached_resource" | ||
s.version = CachedResource::VERSION | ||
s.authors = "Morgan Brown" | ||
s.email = "[email protected]" | ||
s.homepage = "https://github.com/mhgbrown/cached_resource" | ||
s.summary = "Caching for ActiveResource" | ||
s.description = "Enables request-based caching for ActiveResource" | ||
s.licenses = ["MIT"] | ||
|
||
s.files = `git ls-files`.split("\n") | ||
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
s.files = `git ls-files`.split("\n") | ||
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } | ||
s.require_paths = ["lib"] | ||
|
||
s.required_ruby_version = ">= 1.9.0" | ||
s.required_ruby_version = ">= 3.0" | ||
|
||
s.add_runtime_dependency "activeresource", ">= 4.0" | ||
s.add_runtime_dependency "activesupport", ">= 4.0" | ||
|
@@ -29,5 +27,5 @@ Gem::Specification.new do |s| | |
s.add_development_dependency "rspec" | ||
s.add_development_dependency "simplecov", "~> 0.22.0" | ||
s.add_development_dependency "timecop", "~> 0.9.10" | ||
|
||
s.add_development_dependency "standard", "~> 1.39", ">= 1.39.1" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.