-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
103 additions
and
76 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,27 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
ruby: [ '3.3', '3.2', '3.1', '3.0', '2.7', '2.6', '2.5', '2.4' ] | ||
fail-fast: false | ||
runs-on: ubuntu-latest | ||
name: ${{ matrix.ruby }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- run: bundle exec rspec | ||
|
||
env: | ||
BUNDLE_JOBS: 4 | ||
BUNDLE_PATH: vendor/bundle | ||
CI: true |
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,3 +1,7 @@ | ||
source 'https://rubygems.org' | ||
source "https://rubygems.org" | ||
|
||
gemspec | ||
|
||
group :development do | ||
gem "standard", require: false | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,27 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDhjCCAm6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBNMQ0wCwYDVQQDDARnZW1z | ||
MIIEhjCCAu6gAwIBAgIBATANBgkqhkiG9w0BAQsFADBNMQ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N | ||
AQELBQADggGBAAw69VoNOTd5HQOQczs0zm+p5bZw3e+EFiDy/N9o8Lv5rHfyGhA5 | ||
f+faBqfxQHDB3VSEFtCnoVFsCUaC1AdRzWztqS40x5GgQRwcM2llTwMYv5C++gC2 | ||
xPchTvi5FgDI++a05isObUvtNZ/wrZYBhy75ofzGAAMfuB/+XzsGbsOxSwZVlCne | ||
YLkPa26euounYtKRGLz+X9YD4vDHP5VwsrqsvACMwVGHv+MIM3TQ3TvVrQ7QR9Ov | ||
yUmuDhnAXep8omj9HyiukfqIdTsIMZK8nMcJH4wXC7mjjOBoyRtMwsQIT8OpwSP9 | ||
A7++64WBwTLbbGSCMCdw8X1kmmaZjaPrNkJ4wNaeJPZPPgDmL1XKJavQ8xZ/nwGF | ||
VXf+6/IyX9OrQwL2uw0b+1NiR2gFpOLcOy2ixKdua13S9CWRRsR3VJve+PIyycC7 | ||
aLV+FI9i9b1YUXG2gDKqLOkF/FNBWNckAmGj7kYkdLG76G5aRGP0HvfKbIiQ3HTC | ||
jAtsfxiSgc0fAw== | ||
-----END CERTIFICATE----- |
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,5 @@ | ||
# Decorators Changelog | ||
## 2.0.6 | ||
|
||
* Created branch 'main' | ||
* Updated railties dependency to "railties", ">= 4.0.0", "< 7.2" |
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,28 +1,28 @@ | ||
Gem::Specification.new do |s| | ||
s.platform = Gem::Platform::RUBY | ||
s.name = %q{decorators} | ||
s.version = %q{2.0.4} | ||
s.description = %q{Manages the process of loading decorators into your Rails application.} | ||
s.summary = %q{Rails decorators plugin.} | ||
s.email = %q{[email protected]} | ||
s.homepage = %q{https://github.com/parndt/decorators} | ||
s.authors = ["Philip Arndt"] | ||
s.license = %q{MIT} | ||
s.require_paths = %w(lib) | ||
s.platform = Gem::Platform::RUBY | ||
s.name = "decorators" | ||
s.version = "2.0.6" | ||
s.description = "Manages the process of loading decorators into your Rails application." | ||
s.summary = "Rails decorators plugin." | ||
s.email = "[email protected]" | ||
s.homepage = "https://github.com/parndt/decorators" | ||
s.authors = ["Philip Arndt"] | ||
s.license = "MIT" | ||
s.require_paths = %w[lib] | ||
|
||
s.files = %w[ | ||
s.files = %w[ | ||
lib/decorators.rb | ||
lib/decorators/paths.rb | ||
lib/decorators/railtie.rb | ||
license.md | ||
readme.md | ||
] | ||
|
||
s.add_dependency "railties", ">= 4.0.0", "< 6" | ||
s.add_dependency "railties", ">= 4.0.0", "< 7.2" | ||
s.add_development_dependency "rspec", "~> 3.5", ">= 3.5.0" | ||
|
||
s.cert_chain = ["certs/parndt.pem"] | ||
if $0 =~ /gem\z/ && ARGV.include?("build") && ARGV.include?(__FILE__) | ||
s.cert_chain = ["certs/parndt.pem"] | ||
if $0.end_with?("gem") && ARGV.include?("build") && ARGV.include?(__FILE__) | ||
s.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") | ||
end | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
require 'pathname' | ||
require "pathname" | ||
|
||
module Decorators | ||
class Paths | ||
|
||
attr_reader :registered | ||
|
||
def initialize(*args) | ||
@registered = Array.new(*args) | ||
end | ||
|
||
def register!(path) | ||
@registered << Pathname.new(path) | ||
end | ||
|
||
end | ||
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
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