fix-let 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +1 -1
- data/README.md +20 -39
- metadata +25 -27
- data/.gitignore +0 -10
- data/.rubocop.yml +0 -1
- data/.rubocop_todo.yml +0 -13
- data/.travis.yml +0 -28
- data/.yardopts +0 -1
- data/CODE_OF_CONDUCT.md +0 -13
- data/Gemfile +0 -5
- data/Rakefile +0 -23
- data/VERSION.semver +0 -1
- data/bin/console +0 -8
- data/bin/setup +0 -6
- data/checksum/fix-let-0.1.0.gem.sha512 +0 -1
- data/checksum/fix-let-0.1.1.gem.sha512 +0 -1
- data/fix-let.gemspec +0 -26
- data/pkg_checksum +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bcb8097ff00b27ba9101e1d2ec819c5d326829b78524869c4a20d7450735f54
|
4
|
+
data.tar.gz: bb4e323d85c44aaec7f5b86b8d0c23382e427da40d297c6a51259b985b64069b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f6777d71748838b535954f5eff4176e08fd8341a86770b4d266caae509947ce21f0817dfad0d25b66ad8e68a12441fd562896b0ca382987f7bd556192eab655
|
7
|
+
data.tar.gz: 113d714037804dafabf1d4926c6eef57afcd08180ee08da6d20d450e16056b22bdd0d084e3eedd8a347f5d2c7d5918de317ca66daffa25831562f22c413a3467
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
@@ -1,25 +1,13 @@
|
|
1
1
|
# Fix::Let
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/fixrb/fix-let.svg?branch=master)][travis]
|
3
|
+
[![Build Status](https://api.travis-ci.org/fixrb/fix-let.svg?branch=master)][travis]
|
4
4
|
[![Code Climate](https://codeclimate.com/github/fixrb/fix-let/badges/gpa.svg)][codeclimate]
|
5
5
|
[![Gem Version](https://badge.fury.io/rb/fix-let.svg)][gem]
|
6
|
-
[![Inline docs](
|
7
|
-
[![Documentation](
|
6
|
+
[![Inline docs](https://inch-ci.org/github/fixrb/fix-let.svg?branch=master)][inchpages]
|
7
|
+
[![Documentation](https://img.shields.io/:yard-docs-38c800.svg)][rubydoc]
|
8
8
|
|
9
9
|
> Provides `let` method for memoized helper definition.
|
10
10
|
|
11
|
-
## Contact
|
12
|
-
|
13
|
-
* Home page: https://github.com/fixrb/fix-let
|
14
|
-
* Bugs/issues: https://github.com/fixrb/fix-let/issues
|
15
|
-
* Support: https://stackoverflow.com/questions/tagged/fixrb
|
16
|
-
|
17
|
-
## Rubies
|
18
|
-
|
19
|
-
* [MRI](https://www.ruby-lang.org/)
|
20
|
-
* [Rubinius](http://rubini.us/)
|
21
|
-
* [JRuby](http://jruby.org/)
|
22
|
-
|
23
11
|
## Installation
|
24
12
|
|
25
13
|
Add this line to your application's Gemfile:
|
@@ -68,44 +56,37 @@ The output should look like this:
|
|
68
56
|
Ran 1 tests in 0.000243 seconds
|
69
57
|
100% compliant - 0 infos, 0 failures, 0 errors
|
70
58
|
|
71
|
-
##
|
59
|
+
## Contact
|
72
60
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
built Gem they can be used for basic integrity verification purposes.
|
61
|
+
* Home page: https://github.com/fixrb/fix-let
|
62
|
+
* Bugs/issues: https://github.com/fixrb/fix-let/issues
|
63
|
+
* Support: https://stackoverflow.com/questions/tagged/fixrb
|
77
64
|
|
78
|
-
|
79
|
-
example:
|
65
|
+
## Rubies
|
80
66
|
|
81
|
-
|
82
|
-
|
67
|
+
* [MRI](https://www.ruby-lang.org/)
|
68
|
+
* [Rubinius](http://rubini.us/)
|
69
|
+
* [JRuby](http://jruby.org/)
|
83
70
|
|
84
71
|
## Versioning
|
85
72
|
|
86
73
|
__Fix::Let__ follows [Semantic Versioning 2.0](http://semver.org/).
|
87
74
|
|
88
|
-
##
|
75
|
+
## License
|
89
76
|
|
90
|
-
|
91
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
92
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
93
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
94
|
-
5. Create a new Pull Request
|
77
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
95
78
|
|
96
|
-
|
79
|
+
***
|
97
80
|
|
98
|
-
|
81
|
+
<p>
|
82
|
+
This project is sponsored by:<br />
|
83
|
+
<a href="https://sashite.com/"><img
|
84
|
+
src="https://github.com/fixrb/fix-let/raw/master/img/sashite.png"
|
85
|
+
alt="Sashite" /></a>
|
86
|
+
</p>
|
99
87
|
|
100
88
|
[gem]: https://rubygems.org/gems/fix-let
|
101
89
|
[travis]: https://travis-ci.org/fixrb/fix-let
|
102
90
|
[codeclimate]: https://codeclimate.com/github/fixrb/fix-let
|
103
|
-
[gemnasium]: https://gemnasium.com/fixrb/fix-let
|
104
91
|
[inchpages]: http://inch-ci.org/github/fixrb/fix-let
|
105
92
|
[rubydoc]: http://rubydoc.info/gems/fix-let/frames
|
106
|
-
|
107
|
-
***
|
108
|
-
|
109
|
-
This project is sponsored by:
|
110
|
-
|
111
|
-
[![Sashite](https://sashite.com/img/sashite.png)](https://sashite.com/)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fix-let
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril Kato
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fix
|
@@ -30,56 +30,70 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '2.
|
33
|
+
version: '2.1'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '2.
|
40
|
+
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '0.
|
61
|
+
version: '0.79'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '0.
|
68
|
+
version: '0.79'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop-performance
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: simplecov
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
89
|
+
version: '0.17'
|
76
90
|
type: :development
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
96
|
+
version: '0.17'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: yard
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -101,24 +115,9 @@ executables: []
|
|
101
115
|
extensions: []
|
102
116
|
extra_rdoc_files: []
|
103
117
|
files:
|
104
|
-
- ".gitignore"
|
105
|
-
- ".rubocop.yml"
|
106
|
-
- ".rubocop_todo.yml"
|
107
|
-
- ".travis.yml"
|
108
|
-
- ".yardopts"
|
109
|
-
- CODE_OF_CONDUCT.md
|
110
|
-
- Gemfile
|
111
118
|
- LICENSE.md
|
112
119
|
- README.md
|
113
|
-
- Rakefile
|
114
|
-
- VERSION.semver
|
115
|
-
- bin/console
|
116
|
-
- bin/setup
|
117
|
-
- checksum/fix-let-0.1.0.gem.sha512
|
118
|
-
- checksum/fix-let-0.1.1.gem.sha512
|
119
|
-
- fix-let.gemspec
|
120
120
|
- lib/fix/let.rb
|
121
|
-
- pkg_checksum
|
122
121
|
homepage: https://github.com/fixrb/fix-let
|
123
122
|
licenses:
|
124
123
|
- MIT
|
@@ -138,8 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
137
|
- !ruby/object:Gem::Version
|
139
138
|
version: '0'
|
140
139
|
requirements: []
|
141
|
-
|
142
|
-
rubygems_version: 2.7.6
|
140
|
+
rubygems_version: 3.1.2
|
143
141
|
signing_key:
|
144
142
|
specification_version: 4
|
145
143
|
summary: Fix extension gem to define memoized helper methods.
|
data/.gitignore
DELETED
data/.rubocop.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
inherit_from: .rubocop_todo.yml
|
data/.rubocop_todo.yml
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2018-08-26 22:57:28 +0200 using RuboCop version 0.58.2.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 2
|
10
|
-
Style/MixinUsage:
|
11
|
-
Exclude:
|
12
|
-
- 'test/examples/duck/test_app.rb'
|
13
|
-
- 'test/test_let.rb'
|
data/.travis.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
cache: bundler
|
4
|
-
before_install:
|
5
|
-
- gem install bundler
|
6
|
-
script:
|
7
|
-
- bundle exec rubocop
|
8
|
-
- bundle exec rake test
|
9
|
-
rvm:
|
10
|
-
- 2.3.3
|
11
|
-
- 2.4.0
|
12
|
-
- 2.5.0
|
13
|
-
- 2.6.2
|
14
|
-
- ruby-head
|
15
|
-
- jruby-head
|
16
|
-
- rbx-3
|
17
|
-
matrix:
|
18
|
-
allow_failures:
|
19
|
-
- rvm: ruby-head
|
20
|
-
- rvm: jruby-head
|
21
|
-
- rvm: rbx-3
|
22
|
-
notifications:
|
23
|
-
webhooks:
|
24
|
-
urls:
|
25
|
-
- https://webhooks.gitter.im/e/a44b19cc5cf6db25fa87
|
26
|
-
on_success: change
|
27
|
-
on_failure: always
|
28
|
-
on_start: never
|
data/.yardopts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
- README.md
|
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
-
|
5
|
-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
|
6
|
-
|
7
|
-
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
-
|
9
|
-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
-
|
11
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
-
|
13
|
-
This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
data/Gemfile
DELETED
data/Rakefile
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'bundler/gem_tasks'
|
4
|
-
require 'rake/testtask'
|
5
|
-
require 'rubocop/rake_task'
|
6
|
-
|
7
|
-
RuboCop::RakeTask.new
|
8
|
-
|
9
|
-
Rake::TestTask.new do |t|
|
10
|
-
t.verbose = true
|
11
|
-
t.warning = true
|
12
|
-
t.pattern = File.join('test', '**', 'test_*.rb')
|
13
|
-
end
|
14
|
-
|
15
|
-
namespace :test do
|
16
|
-
task :coverage do
|
17
|
-
ENV['COVERAGE'] = 'true'
|
18
|
-
Rake::Task['test'].invoke
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
task(:doc_stats) { ruby '-S yard stats' }
|
23
|
-
task default: %i[test doc_stats rubocop]
|
data/VERSION.semver
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.1.3
|
data/bin/console
DELETED
data/bin/setup
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
595502f36d23f8460eb5877737b5fcf46bad88a4d9e7b73c4c53c589eec1e3e5891a995c59f50bcc3e585cfb1a60262796fd7a68622dd59b00ab0dab1849558e
|
@@ -1 +0,0 @@
|
|
1
|
-
7631c81a067eb1a46d8e486da2db6eb9949abbc0e0247798b69541805b9ed54717816942b88abc514bee7000858a741c2558bcca1d67deb9e99f655990b3dd4d
|
data/fix-let.gemspec
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
Gem::Specification.new do |spec|
|
4
|
-
spec.name = 'fix-let'
|
5
|
-
spec.version = File.read('VERSION.semver').chomp
|
6
|
-
spec.authors = ['Cyril Kato']
|
7
|
-
spec.email = ['contact@cyril.email']
|
8
|
-
|
9
|
-
spec.summary = 'Fix extension gem to define memoized helper methods.'
|
10
|
-
spec.description = 'Provides "let" method for memoized helper definition.'
|
11
|
-
spec.homepage = 'https://github.com/fixrb/fix-let'
|
12
|
-
spec.license = 'MIT'
|
13
|
-
|
14
|
-
spec.files =
|
15
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
|
16
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
17
|
-
spec.require_paths = ['lib']
|
18
|
-
|
19
|
-
spec.add_dependency 'fix', '< 0.18'
|
20
|
-
|
21
|
-
spec.add_development_dependency 'bundler', '~> 2.0'
|
22
|
-
spec.add_development_dependency 'rake', '~> 12.3'
|
23
|
-
spec.add_development_dependency 'rubocop', '~> 0.67'
|
24
|
-
spec.add_development_dependency 'simplecov', '~> 0.16'
|
25
|
-
spec.add_development_dependency 'yard', '~> 0.9'
|
26
|
-
end
|
data/pkg_checksum
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
require 'digest/sha2'
|
5
|
-
|
6
|
-
gemname = 'fix-let'.to_sym
|
7
|
-
ARGV[0] = File.read('VERSION.semver').chomp if ARGV[0].nil?
|
8
|
-
built_gem_path = "pkg/#{gemname}-#{ARGV[0]}.gem"
|
9
|
-
checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
|
10
|
-
checksum_path = "checksum/#{gemname}-#{ARGV[0]}.gem.sha512"
|
11
|
-
|
12
|
-
File.open(checksum_path, 'w') { |f| f.write("#{checksum}\n") }
|