lite-decorator 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +5 -2
- data/CHANGELOG.md +9 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +70 -68
- data/README.md +16 -15
- data/Rakefile +2 -2
- data/bin/console +3 -3
- data/lib/generators/rails/decorator_generator.rb +5 -5
- data/lib/lite/decorator/base.rb +1 -1
- data/lib/lite/decorator/version.rb +1 -1
- data/lib/lite/decorator.rb +3 -4
- data/lite-decorator.gemspec +26 -32
- metadata +9 -5
- data/.travis.yml +0 -24
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60d3ae53a48e641cb07f39420c98869a64197e59eecf15b6c268e87a3ef05edf
|
4
|
+
data.tar.gz: cd8539721c92583c28e19831d17ac8bf163ba96dad188beba0f3ee4f10237b20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 301f80a6ca6be17abc0a0b066710e425778df93a0a45b39567f4b6f4900708a9c52f26b68b1bd3c29be7fe27683451e35806843d8c672a3456a2e314bd6b9a0a
|
7
|
+
data.tar.gz: 781fd14419aa60d5d9ce058812c47c09132677ea48650ffb3fada9cc16bd754a13ab7845d094784a379748431dc7d1ac903eeabfd803bdc7a6bc63e3b3091e96
|
data/.rubocop.yml
CHANGED
@@ -3,7 +3,6 @@ require:
|
|
3
3
|
- rubocop-rake
|
4
4
|
- rubocop-rspec
|
5
5
|
AllCops:
|
6
|
-
TargetRubyVersion: 3.0
|
7
6
|
NewCops: enable
|
8
7
|
DisplayCopNames: true
|
9
8
|
DisplayStyleGuide: true
|
@@ -19,7 +18,7 @@ Layout/EmptyLinesAroundClassBody:
|
|
19
18
|
Layout/EmptyLinesAroundModuleBody:
|
20
19
|
EnforcedStyle: empty_lines_except_namespace
|
21
20
|
Layout/LineLength:
|
22
|
-
|
21
|
+
Enabled: false
|
23
22
|
Layout/SpaceAroundMethodCallOperator:
|
24
23
|
Enabled: true
|
25
24
|
Lint/RaiseException:
|
@@ -42,3 +41,7 @@ Style/Documentation:
|
|
42
41
|
Enabled: false
|
43
42
|
Style/ExpandPathArguments:
|
44
43
|
Enabled: false
|
44
|
+
Style/HashSyntax:
|
45
|
+
EnforcedShorthandSyntax: never
|
46
|
+
Style/StringLiterals:
|
47
|
+
EnforcedStyle: double_quotes
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.2.0] - 2022-11-19
|
10
|
+
### Changed
|
11
|
+
- Improved docs
|
12
|
+
- Improved rubocop setup
|
13
|
+
|
14
|
+
## [1.1.2] - 2021-07-21
|
15
|
+
### Changed
|
16
|
+
- Improved setup
|
17
|
+
|
9
18
|
## [1.1.1] - 2021-07-21
|
10
19
|
### Changed
|
11
20
|
- Improved Railtie support
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,39 +1,38 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lite-decorator (1.
|
4
|
+
lite-decorator (1.2.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actionpack (
|
10
|
-
actionview (=
|
11
|
-
activesupport (=
|
12
|
-
rack (~> 2.0, >= 2.0
|
9
|
+
actionpack (7.0.4)
|
10
|
+
actionview (= 7.0.4)
|
11
|
+
activesupport (= 7.0.4)
|
12
|
+
rack (~> 2.0, >= 2.2.0)
|
13
13
|
rack-test (>= 0.6.3)
|
14
14
|
rails-dom-testing (~> 2.0)
|
15
15
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
16
|
-
actionview (
|
17
|
-
activesupport (=
|
16
|
+
actionview (7.0.4)
|
17
|
+
activesupport (= 7.0.4)
|
18
18
|
builder (~> 3.1)
|
19
19
|
erubi (~> 1.4)
|
20
20
|
rails-dom-testing (~> 2.0)
|
21
21
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
22
|
-
activemodel (
|
23
|
-
activesupport (=
|
24
|
-
activerecord (
|
25
|
-
activemodel (=
|
26
|
-
activesupport (=
|
27
|
-
activesupport (
|
22
|
+
activemodel (7.0.4)
|
23
|
+
activesupport (= 7.0.4)
|
24
|
+
activerecord (7.0.4)
|
25
|
+
activemodel (= 7.0.4)
|
26
|
+
activesupport (= 7.0.4)
|
27
|
+
activesupport (7.0.4)
|
28
28
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
29
29
|
i18n (>= 1.6, < 2)
|
30
30
|
minitest (>= 5.1)
|
31
31
|
tzinfo (~> 2.0)
|
32
|
-
zeitwerk (~> 2.3)
|
33
32
|
ast (2.4.2)
|
34
33
|
builder (3.2.4)
|
35
34
|
colorize (0.8.1)
|
36
|
-
concurrent-ruby (1.1.
|
35
|
+
concurrent-ruby (1.1.10)
|
37
36
|
crass (1.0.6)
|
38
37
|
database_cleaner (2.0.1)
|
39
38
|
database_cleaner-active_record (~> 2.0.0)
|
@@ -41,89 +40,92 @@ GEM
|
|
41
40
|
activerecord (>= 5.a)
|
42
41
|
database_cleaner-core (~> 2.0.0)
|
43
42
|
database_cleaner-core (2.0.1)
|
44
|
-
diff-lcs (1.
|
45
|
-
erubi (1.
|
46
|
-
fasterer (0.
|
43
|
+
diff-lcs (1.5.0)
|
44
|
+
erubi (1.11.0)
|
45
|
+
fasterer (0.10.0)
|
47
46
|
colorize (~> 0.7)
|
48
|
-
ruby_parser (>= 3.
|
47
|
+
ruby_parser (>= 3.19.1)
|
49
48
|
generator_spec (0.9.4)
|
50
49
|
activesupport (>= 3.0.0)
|
51
50
|
railties (>= 3.0.0)
|
52
|
-
i18n (1.
|
51
|
+
i18n (1.12.0)
|
53
52
|
concurrent-ruby (~> 1.0)
|
54
|
-
|
53
|
+
json (2.6.2)
|
54
|
+
loofah (2.19.0)
|
55
55
|
crass (~> 1.0.2)
|
56
56
|
nokogiri (>= 1.5.9)
|
57
57
|
method_source (1.0.0)
|
58
|
-
mini_portile2 (2.
|
59
|
-
minitest (5.
|
60
|
-
nokogiri (1.
|
61
|
-
mini_portile2 (~> 2.
|
58
|
+
mini_portile2 (2.8.0)
|
59
|
+
minitest (5.16.3)
|
60
|
+
nokogiri (1.13.9)
|
61
|
+
mini_portile2 (~> 2.8.0)
|
62
62
|
racc (~> 1.4)
|
63
|
-
parallel (1.
|
64
|
-
parser (3.
|
63
|
+
parallel (1.22.1)
|
64
|
+
parser (3.1.2.1)
|
65
65
|
ast (~> 2.4.1)
|
66
|
-
racc (1.
|
67
|
-
rack (2.2.
|
68
|
-
rack-test (
|
69
|
-
rack (>= 1.
|
66
|
+
racc (1.6.0)
|
67
|
+
rack (2.2.4)
|
68
|
+
rack-test (2.0.2)
|
69
|
+
rack (>= 1.3)
|
70
70
|
rails-dom-testing (2.0.3)
|
71
71
|
activesupport (>= 4.2.0)
|
72
72
|
nokogiri (>= 1.6)
|
73
|
-
rails-html-sanitizer (1.3
|
73
|
+
rails-html-sanitizer (1.4.3)
|
74
74
|
loofah (~> 2.3)
|
75
|
-
railties (
|
76
|
-
actionpack (=
|
77
|
-
activesupport (=
|
75
|
+
railties (7.0.4)
|
76
|
+
actionpack (= 7.0.4)
|
77
|
+
activesupport (= 7.0.4)
|
78
78
|
method_source
|
79
|
-
rake (>=
|
79
|
+
rake (>= 12.2)
|
80
80
|
thor (~> 1.0)
|
81
|
-
|
81
|
+
zeitwerk (~> 2.5)
|
82
|
+
rainbow (3.1.1)
|
82
83
|
rake (13.0.6)
|
83
|
-
regexp_parser (2.
|
84
|
+
regexp_parser (2.6.1)
|
84
85
|
rexml (3.2.5)
|
85
|
-
rspec (3.
|
86
|
-
rspec-core (~> 3.
|
87
|
-
rspec-expectations (~> 3.
|
88
|
-
rspec-mocks (~> 3.
|
89
|
-
rspec-core (3.
|
90
|
-
rspec-support (~> 3.
|
91
|
-
rspec-expectations (3.
|
86
|
+
rspec (3.12.0)
|
87
|
+
rspec-core (~> 3.12.0)
|
88
|
+
rspec-expectations (~> 3.12.0)
|
89
|
+
rspec-mocks (~> 3.12.0)
|
90
|
+
rspec-core (3.12.0)
|
91
|
+
rspec-support (~> 3.12.0)
|
92
|
+
rspec-expectations (3.12.0)
|
92
93
|
diff-lcs (>= 1.2.0, < 2.0)
|
93
|
-
rspec-support (~> 3.
|
94
|
-
rspec-mocks (3.
|
94
|
+
rspec-support (~> 3.12.0)
|
95
|
+
rspec-mocks (3.12.0)
|
95
96
|
diff-lcs (>= 1.2.0, < 2.0)
|
96
|
-
rspec-support (~> 3.
|
97
|
-
rspec-support (3.
|
98
|
-
rubocop (1.
|
97
|
+
rspec-support (~> 3.12.0)
|
98
|
+
rspec-support (3.12.0)
|
99
|
+
rubocop (1.39.0)
|
100
|
+
json (~> 2.3)
|
99
101
|
parallel (~> 1.10)
|
100
|
-
parser (>= 3.
|
102
|
+
parser (>= 3.1.2.1)
|
101
103
|
rainbow (>= 2.2.2, < 4.0)
|
102
104
|
regexp_parser (>= 1.8, < 3.0)
|
103
|
-
rexml
|
104
|
-
rubocop-ast (>= 1.
|
105
|
+
rexml (>= 3.2.5, < 4.0)
|
106
|
+
rubocop-ast (>= 1.23.0, < 2.0)
|
105
107
|
ruby-progressbar (~> 1.7)
|
106
108
|
unicode-display_width (>= 1.4.0, < 3.0)
|
107
|
-
rubocop-ast (1.
|
108
|
-
parser (>= 3.
|
109
|
-
rubocop-performance (1.
|
109
|
+
rubocop-ast (1.23.0)
|
110
|
+
parser (>= 3.1.1.0)
|
111
|
+
rubocop-performance (1.15.1)
|
110
112
|
rubocop (>= 1.7.0, < 2.0)
|
111
113
|
rubocop-ast (>= 0.4.0)
|
112
114
|
rubocop-rake (0.6.0)
|
113
115
|
rubocop (~> 1.0)
|
114
|
-
rubocop-rspec (2.
|
115
|
-
rubocop (~> 1.
|
116
|
-
rubocop-ast (>= 1.1.0)
|
116
|
+
rubocop-rspec (2.15.0)
|
117
|
+
rubocop (~> 1.33)
|
117
118
|
ruby-progressbar (1.11.0)
|
118
|
-
ruby_parser (3.
|
119
|
-
sexp_processor (~> 4.
|
120
|
-
sexp_processor (4.
|
121
|
-
sqlite3 (1.4
|
122
|
-
|
123
|
-
|
119
|
+
ruby_parser (3.19.1)
|
120
|
+
sexp_processor (~> 4.16)
|
121
|
+
sexp_processor (4.16.1)
|
122
|
+
sqlite3 (1.5.4)
|
123
|
+
mini_portile2 (~> 2.8.0)
|
124
|
+
thor (1.2.1)
|
125
|
+
tzinfo (2.0.5)
|
124
126
|
concurrent-ruby (~> 1.0)
|
125
|
-
unicode-display_width (2.
|
126
|
-
zeitwerk (2.
|
127
|
+
unicode-display_width (2.3.0)
|
128
|
+
zeitwerk (2.6.6)
|
127
129
|
|
128
130
|
PLATFORMS
|
129
131
|
ruby
|
@@ -144,4 +146,4 @@ DEPENDENCIES
|
|
144
146
|
sqlite3
|
145
147
|
|
146
148
|
BUNDLED WITH
|
147
|
-
2.
|
149
|
+
2.3.26
|
data/README.md
CHANGED
@@ -29,19 +29,19 @@ Or install it yourself as:
|
|
29
29
|
|
30
30
|
## Setup
|
31
31
|
|
32
|
-
|
32
|
+
#### Generator
|
33
33
|
|
34
34
|
Use `rails g decorator NAME` will generate the following files:
|
35
35
|
|
36
36
|
```erb
|
37
|
-
app/decorators/[
|
37
|
+
app/decorators/[NAME]_decorator.rb
|
38
38
|
```
|
39
39
|
|
40
|
-
If
|
40
|
+
If an `ApplicationDecorator` file in the `app/decorators` directory is available, the
|
41
41
|
generator will create file that inherit from `ApplicationDecorator` if not it will
|
42
42
|
fallback to `Lite::Decorator::Base`.
|
43
43
|
|
44
|
-
|
44
|
+
#### Decorator
|
45
45
|
|
46
46
|
You will need to fill this class with the methods you want to decorate:
|
47
47
|
|
@@ -57,21 +57,22 @@ end
|
|
57
57
|
|
58
58
|
## Usage
|
59
59
|
|
60
|
-
To access the decorator you need to pass the object to the decorator class
|
61
|
-
You can even decorate a collection of objects by passing the collection to `decorate`.
|
60
|
+
To access the decorator you need to pass the object to the decorator class.
|
62
61
|
|
62
|
+
#### Instance
|
63
63
|
```ruby
|
64
|
-
user = User.first
|
65
|
-
|
64
|
+
user = User.first
|
66
65
|
decorator = UserDecorator.new(user)
|
67
|
-
|
68
|
-
# - or -
|
69
|
-
|
70
|
-
decorator = UserDecorator.decorate(user)
|
71
|
-
|
72
66
|
decorator.full_name #=> "John Doe"
|
73
67
|
```
|
74
68
|
|
69
|
+
#### Collection
|
70
|
+
```ruby
|
71
|
+
users = User.all
|
72
|
+
collection = UserDecorator.new(users)
|
73
|
+
collection.map(&:full_name) #=> ["John Doe", "Jane Poe"]
|
74
|
+
```
|
75
|
+
|
75
76
|
## Development
|
76
77
|
|
77
78
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
@@ -80,7 +81,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
80
81
|
|
81
82
|
## Contributing
|
82
83
|
|
83
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
84
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/drexed/lite-decorator. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
84
85
|
|
85
86
|
## License
|
86
87
|
|
@@ -88,4 +89,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
88
89
|
|
89
90
|
## Code of Conduct
|
90
91
|
|
91
|
-
Everyone interacting in the Lite::Decorator project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
92
|
+
Everyone interacting in the Lite::Decorator project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/drexed/lite-decorator/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
-
require
|
5
|
-
require
|
4
|
+
require "bundler/setup"
|
5
|
+
require "lite/decorator"
|
6
6
|
|
7
7
|
# You can add fixtures and/or initialization code here to make experimenting
|
8
8
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -11,5 +11,5 @@ require 'lite/decorator'
|
|
11
11
|
# require "pry"
|
12
12
|
# Pry.start
|
13
13
|
|
14
|
-
require
|
14
|
+
require "irb"
|
15
15
|
IRB.start(__FILE__)
|
@@ -3,12 +3,12 @@
|
|
3
3
|
module Rails
|
4
4
|
class DecoratorGenerator < Rails::Generators::NamedBase
|
5
5
|
|
6
|
-
source_root File.expand_path(
|
7
|
-
check_class_collision suffix:
|
6
|
+
source_root File.expand_path("../templates", __FILE__)
|
7
|
+
check_class_collision suffix: "Decorator"
|
8
8
|
|
9
9
|
def copy_files
|
10
|
-
path = File.join(
|
11
|
-
template(
|
10
|
+
path = File.join("app", "decorators", class_path, "#{file_name}_decorator.rb")
|
11
|
+
template("decorator.rb.tt", path)
|
12
12
|
end
|
13
13
|
|
14
14
|
private
|
@@ -18,7 +18,7 @@ module Rails
|
|
18
18
|
end
|
19
19
|
|
20
20
|
def remove_possible_suffix(name)
|
21
|
-
name.sub(/_?decorator$/i,
|
21
|
+
name.sub(/_?decorator$/i, "")
|
22
22
|
end
|
23
23
|
|
24
24
|
end
|
data/lib/lite/decorator/base.rb
CHANGED
data/lib/lite/decorator.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
3
|
+
require "generators/rails/decorator_generator" if defined?(Rails::Generators)
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
end
|
5
|
+
require "lite/decorator/version"
|
6
|
+
require "lite/decorator/base"
|
data/lite-decorator.gemspec
CHANGED
@@ -1,52 +1,46 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
lib = File.expand_path(
|
3
|
+
lib = File.expand_path("../lib", __FILE__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require
|
5
|
+
require "lite/decorator/version"
|
6
6
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
|
-
spec.name =
|
8
|
+
spec.name = "lite-decorator"
|
9
9
|
spec.version = Lite::Decorator::VERSION
|
10
|
-
spec.authors = [
|
10
|
+
spec.authors = ["Juan Gomez"]
|
11
11
|
spec.email = %w[j.gomez@drexed.com]
|
12
12
|
|
13
|
-
spec.summary =
|
14
|
-
spec.homepage =
|
15
|
-
spec.license =
|
13
|
+
spec.summary = "Ruby Decorator based framework (aka decorator/presenter objects)"
|
14
|
+
spec.homepage = "http://drexed.github.io/lite-decorator"
|
15
|
+
spec.license = "MIT"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
18
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
'source_code_uri' => 'https://github.com/drexed/lite-decorator'
|
25
|
-
)
|
26
|
-
else
|
27
|
-
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
28
|
-
'public gem pushes.'
|
29
|
-
end
|
19
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
20
|
+
spec.metadata["changelog_uri"] = "https://github.com/drexed/lite-decorator/blob/master/CHANGELOG.md"
|
21
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
22
|
+
spec.metadata["rubygems_mfa_required"] = "true"
|
23
|
+
spec.metadata["source_code_uri"] = "https://github.com/drexed/lite-decorator"
|
30
24
|
|
31
25
|
# Specify which files should be added to the gem when it is released.
|
32
26
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
33
|
-
spec.files = Dir.chdir(File.expand_path(
|
27
|
+
spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
|
34
28
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
35
29
|
end
|
36
|
-
spec.bindir =
|
30
|
+
spec.bindir = "exe"
|
37
31
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
38
32
|
spec.require_paths = %w[lib]
|
39
33
|
|
40
|
-
spec.add_development_dependency
|
41
|
-
spec.add_development_dependency
|
42
|
-
spec.add_development_dependency
|
43
|
-
spec.add_development_dependency
|
44
|
-
spec.add_development_dependency
|
45
|
-
spec.add_development_dependency
|
46
|
-
spec.add_development_dependency
|
47
|
-
spec.add_development_dependency
|
48
|
-
spec.add_development_dependency
|
49
|
-
spec.add_development_dependency
|
50
|
-
spec.add_development_dependency
|
51
|
-
spec.add_development_dependency
|
34
|
+
spec.add_development_dependency "activerecord"
|
35
|
+
spec.add_development_dependency "bundler"
|
36
|
+
spec.add_development_dependency "database_cleaner"
|
37
|
+
spec.add_development_dependency "fasterer"
|
38
|
+
spec.add_development_dependency "generator_spec"
|
39
|
+
spec.add_development_dependency "rake"
|
40
|
+
spec.add_development_dependency "rspec"
|
41
|
+
spec.add_development_dependency "rubocop"
|
42
|
+
spec.add_development_dependency "rubocop-performance"
|
43
|
+
spec.add_development_dependency "rubocop-rake"
|
44
|
+
spec.add_development_dependency "rubocop-rspec"
|
45
|
+
spec.add_development_dependency "sqlite3"
|
52
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lite-decorator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -189,7 +189,6 @@ files:
|
|
189
189
|
- ".gitignore"
|
190
190
|
- ".rspec"
|
191
191
|
- ".rubocop.yml"
|
192
|
-
- ".travis.yml"
|
193
192
|
- CHANGELOG.md
|
194
193
|
- CODE_OF_CONDUCT.md
|
195
194
|
- Gemfile
|
@@ -210,7 +209,12 @@ files:
|
|
210
209
|
homepage: http://drexed.github.io/lite-decorator
|
211
210
|
licenses:
|
212
211
|
- MIT
|
213
|
-
metadata:
|
212
|
+
metadata:
|
213
|
+
allowed_push_host: https://rubygems.org
|
214
|
+
changelog_uri: https://github.com/drexed/lite-decorator/blob/master/CHANGELOG.md
|
215
|
+
homepage_uri: http://drexed.github.io/lite-decorator
|
216
|
+
rubygems_mfa_required: 'true'
|
217
|
+
source_code_uri: https://github.com/drexed/lite-decorator
|
214
218
|
post_install_message:
|
215
219
|
rdoc_options: []
|
216
220
|
require_paths:
|
@@ -226,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
230
|
- !ruby/object:Gem::Version
|
227
231
|
version: '0'
|
228
232
|
requirements: []
|
229
|
-
rubygems_version: 3.
|
233
|
+
rubygems_version: 3.3.26
|
230
234
|
signing_key:
|
231
235
|
specification_version: 4
|
232
236
|
summary: Ruby Decorator based framework (aka decorator/presenter objects)
|
data/.travis.yml
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
cache: bundler
|
4
|
-
rvm:
|
5
|
-
- 2.5
|
6
|
-
- 2.6
|
7
|
-
- ruby-head
|
8
|
-
matrix:
|
9
|
-
fast_finish: true
|
10
|
-
allow_failures:
|
11
|
-
- rvm: ruby-head
|
12
|
-
before_install:
|
13
|
-
- gem update --system
|
14
|
-
- gem install bundler
|
15
|
-
install:
|
16
|
-
- bundle install --jobs=3 --retry=3
|
17
|
-
script:
|
18
|
-
- bundle exec rspec
|
19
|
-
- bundle exec rubocop
|
20
|
-
- bundle exec fasterer
|
21
|
-
notifications:
|
22
|
-
email: false
|
23
|
-
slack:
|
24
|
-
secure: OMdJ1GhPFL/lFCdzXvZRygea1ahrZloZiIH+lJ+yuneKirbyCDbVFd9wNVdw3gUjDmxwtj9kXUPcBy0XcgSxh3ExJY/LBn3ylVwANfSND0ReO/erOLBzUk4cM/Pqxvm4bh2PnrEjkfEe2iuZiypCGZVTn6ovsFo60WB3TIz8bZem6OOMUqk6s54D18/FAfmwcOf7Sct0rE+S2aNM7HscREkzmP1TEF9VsasOJJEi7o0vqtXkPskBI6ZNpuShHq58b/ViE8ymK11cUteXmAmT7kVWCAfDRyOrFrpa4rr1o4kWvZyDcsoLcidW7Ly33CfVuBSv9h5wXoYli8TyRLz+Ni6Y0Th/3PCA/YHuQcWZH2kuRdnbZ19OrD+yWeXDoR3celF/3ZmMkwcDwerdXjSR0NY48jJkn0Bvui8cpTrT1xZLEePleX76d0y42W5vmKqWQJ6UeEtxnadoelsUiJmrXPYRJCUqlRql8l30v0jy+uQCpHR/OfJyBFhTTaI4Qf/u6INOWwK3TWBXM8Ph9qjxILLwnfQMbxBsfFJ6LL09z7H2EKH7O3BRriOPZc3Al+VCtochE5VRfauUWvBMYi2yq87d30QWQ759ML2Jw1xX1ZGqOjNPDqJyGnEkT6ONTKf8unubBBYbiOGGRiBwVelqbZ3kX8V8M/zNAxzjh/6q3uA=
|