-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gemfile is cleaned up and drop ruby support below 2.5 version
- Loading branch information
1 parent
a67a273
commit 65a0b07
Showing
3 changed files
with
30 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "minitest", "~> 5.2" | ||
gem "cells-erb"#, path: "../cells-erb" | ||
gem "benchmark-ips" | ||
gem "minitest-line" | ||
|
||
gemspec | ||
|
||
# gem "uber", path: "../uber" |
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,31 +1,38 @@ | ||
lib = File.expand_path("../lib/", __FILE__) | ||
$:.unshift lib unless $:.include?(lib) | ||
|
||
require "cell/version" | ||
require_relative 'lib/cell/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "cells" | ||
spec.name = 'cells' | ||
spec.version = Cell::VERSION | ||
spec.platform = Gem::Platform::RUBY | ||
spec.authors = ["Nick Sutterer"] | ||
spec.email = ["[email protected]"] | ||
spec.homepage = "https://github.com/apotonick/cells" | ||
spec.summary = %q{View Models for Ruby and Rails.} | ||
spec.description = %q{View Models for Ruby and Rails, replacing helpers and partials while giving you a clean view architecture with proper encapsulation.} | ||
spec.license = "MIT" | ||
spec.authors = ['Nick Sutterer'] | ||
spec.email = ['[email protected]'] | ||
spec.homepage = 'https://github.com/trailblazer/cells' | ||
spec.summary = 'View Models for Ruby and Rails.' | ||
spec.description = 'View Models for Ruby and Rails, replacing helpers and partials while giving you a clean view architecture with proper encapsulation.' | ||
spec.license = 'MIT' | ||
|
||
spec.metadata['bug_tracker_uri'] = "#{spec.homepage}/issues" | ||
spec.metadata['changelog_uri'] = "#{spec.homepage}/blob/HEAD/CHANGES.md" | ||
spec.metadata['documentation_uri'] = 'https://trailblazer.to/2.1/docs/cells' | ||
spec.metadata['homepage_uri'] = spec.homepage | ||
spec.metadata['source_code_uri'] = spec.homepage | ||
spec.metadata['wiki_uri'] = "#{spec.homepage}/wiki" | ||
|
||
spec.files = `git ls-files`.split("\n") | ||
spec.test_files = `git ls-files -- {test}/*`.split("\n") | ||
spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
spec.files = Dir.chdir(__dir__) do | ||
`git ls-files -z`.split("\x0").reject do |file| | ||
file.start_with?(*%w[.git Gemfile Rakefile TODO test]) | ||
end | ||
end | ||
spec.require_paths = ['lib'] | ||
spec.required_ruby_version = '>= 2.5' | ||
|
||
spec.add_dependency "uber", "< 0.2.0" | ||
spec.add_dependency 'declarative-builder', '~> 0.2.0' | ||
spec.add_dependency 'tilt', '>= 1.4', '< 3' | ||
spec.add_dependency "declarative-option", "< 0.2.0" | ||
spec.add_dependency "declarative-builder", "< 0.2.0" | ||
spec.add_dependency "tilt", ">= 1.4", "< 3" | ||
spec.add_dependency 'uber', '< 0.2.0' | ||
|
||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency "capybara" | ||
spec.add_development_dependency "cells-erb", ">= 0.0.4" | ||
spec.add_development_dependency 'capybara' | ||
spec.add_development_dependency 'cells-erb', '>= 0.1.0' | ||
spec.add_development_dependency 'minitest' | ||
spec.add_development_dependency 'rake' | ||
spec.add_development_dependency 'debug' | ||
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