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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14db5c4a531a5b7b2bfc16c40636b414dcd555d72cc82a17d4b35f76bf32036c
4
- data.tar.gz: cb09cd040a242cdc76c4f417dd1e526bb5730c0dd78cf064b8c37cc5f9db0ad5
3
+ metadata.gz: 2bcb8097ff00b27ba9101e1d2ec819c5d326829b78524869c4a20d7450735f54
4
+ data.tar.gz: bb4e323d85c44aaec7f5b86b8d0c23382e427da40d297c6a51259b985b64069b
5
5
  SHA512:
6
- metadata.gz: edde4cabb4e09cd11f0434a3a35afee829f1c0691c5c78cbf4e391c552a721f36a66528890e9c8b3a3302503ec0ace393df38ea70af2c3c9d58315d332bb9c87
7
- data.tar.gz: 2ccd13fbf099b5533fb04dbec7d3ca7aa0777ef08a08b91295bd7142748761e342699949c7888fac75c20114d8126993ecd5341cd0590171cac415ce7ca31b83
6
+ metadata.gz: 8f6777d71748838b535954f5eff4176e08fd8341a86770b4d266caae509947ce21f0817dfad0d25b66ad8e68a12441fd562896b0ca382987f7bd556192eab655
7
+ data.tar.gz: 113d714037804dafabf1d4926c6eef57afcd08180ee08da6d20d450e16056b22bdd0d084e3eedd8a347f5d2c7d5918de317ca66daffa25831562f22c413a3467
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2015-2019 Cyril Kato
3
+ Copyright (c) 2015-2020 Cyril Kato
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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](http://inch-ci.org/github/fixrb/fix-let.svg?branch=master)][inchpages]
7
- [![Documentation](http://img.shields.io/:yard-docs-38c800.svg)][rubydoc]
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
- ## Security
59
+ ## Contact
72
60
 
73
- As a basic form of security __Fix::Let__ provides a set of SHA512 checksums for
74
- every Gem release. These checksums can be found in the `checksum/` directory.
75
- Although these checksums do not prevent malicious users from tampering with a
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
- The checksum of a file can be checked using the `sha512sum` command. For
79
- example:
65
+ ## Rubies
80
66
 
81
- $ sha512sum pkg/fix-let-0.1.0.gem
82
- 26198b7812a5ac118a5f2a1b63927871b3378efb071b37abb7e1ba87c1aac9f3a6b45eeae87d9dc647b194c15171b13f15e46503a9a1440b1233faf924381ff5 pkg/fix-let-0.1.0.gem
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
- ## Contributing
75
+ ## License
89
76
 
90
- 1. [Fork it](https://github.com/fixrb/fix-let/fork)
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
- ## License
79
+ ***
97
80
 
98
- See `LICENSE.md` file.
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.3
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: 2019-04-12 00:00:00.000000000 Z
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.0'
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.0'
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: '12.3'
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: '12.3'
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.67'
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.67'
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.16'
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.16'
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
- rubyforge_project:
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
@@ -1,10 +0,0 @@
1
- /.bundle/
2
- /.ruby-version
3
- /.yardoc
4
- /Gemfile.lock
5
- /_yardoc/
6
- /coverage/
7
- /doc/
8
- /pkg/
9
- /spec/reports/
10
- /tmp/
@@ -1 +0,0 @@
1
- inherit_from: .rubocop_todo.yml
@@ -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'
@@ -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
@@ -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
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- gemspec
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]
@@ -1 +0,0 @@
1
- 0.1.3
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/setup'
5
- require 'fix/let'
6
-
7
- require 'irb'
8
- IRB.start
data/bin/setup DELETED
@@ -1,6 +0,0 @@
1
- #!/bin/bash
2
-
3
- set -euo pipefail
4
- IFS=$'\n\t'
5
-
6
- bundle install
@@ -1 +0,0 @@
1
- 595502f36d23f8460eb5877737b5fcf46bad88a4d9e7b73c4c53c589eec1e3e5891a995c59f50bcc3e585cfb1a60262796fd7a68622dd59b00ab0dab1849558e
@@ -1 +0,0 @@
1
- 7631c81a067eb1a46d8e486da2db6eb9949abbc0e0247798b69541805b9ed54717816942b88abc514bee7000858a741c2558bcca1d67deb9e99f655990b3dd4d
@@ -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
@@ -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") }