-
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.
Merge pull request #510 from trailblazer/maintenance
Maintenance
- Loading branch information
Showing
24 changed files
with
251 additions
and
394 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0' | ||
ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2, 3.3, head] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
- run: bundle exec rake |
This file was deleted.
Oops, something went wrong.
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,30 +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
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.