bicycle 0.6.1 → 0.9.0

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: 80cb4d5db8a795a3a3461d53e2883c126e210f41ba5e678365c198b3edfc08ff
4
- data.tar.gz: fd6dce60c8d040b962c81e56331d66eab7651c7906cc2aa8d2765aa98b95a4a4
3
+ metadata.gz: 91e02982a182bada33618cb067767f57df2428de8468c5c7f3840eb6ca16a470
4
+ data.tar.gz: d03d93db44c8af7bc228dbdcb9d9e9996c20f749cb7a875192ad19c0af9bc436
5
5
  SHA512:
6
- metadata.gz: 723b5688ff9145b5636b5188223c196d508f88bf1953c21cfcb88ec492dd53f3051e99d0917cd116163c06ba2e56b4a81ecca433980b383f7bbfff9419f5b93b
7
- data.tar.gz: b4dad5299e48e8798e16bfa1ab72c91466026603cfd7172ab8e731f9a552db72f7fd2d28b878197b017ad647466c38d637f8c6f84d39d2a33bbc3d8d492ff754
6
+ metadata.gz: 737ed66f2b53f5a986d2cf4467db294e46f0e8d3c79b4428a3929ba1c8043a11f25e828cf979dfa7dc1d2a51be2aa51f2b34800d51327ea15f252243ee66de3a
7
+ data.tar.gz: bbb82e9ea113fce14c5a09e9c5bfaf3b69a374fa985c8c8f3f4c0b8c9721d3aeb45b48a864250e199d63a3cefa8350d7b5866d38ea6f158ebb6a6008909714e7
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2021 Technical Panda Ltd
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # bicycle
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/bicycle.svg)](http://badge.fury.io/rb/bicycle)
4
- [![Build Status](https://travis-ci.org/schinery/bicycle.svg?branch=master)](https://travis-ci.org/schinery/bicycle)
5
4
 
6
5
  A convenience gem for cycling through a set of values, ported from the ['cycle'](http://api.rubyonrails.org/classes/ActionView/Helpers/TextHelper.html#method-i-cycle) functionality found in Rails. It is independent of which framework you use so will run in Sinatra, Padrino or straight up Ruby itself.
7
6
 
@@ -79,7 +78,7 @@ To install this gem onto your local machine, run `bundle exec rake install`.
79
78
 
80
79
  ## Contributing
81
80
 
82
- Bug reports and pull requests are welcome on GitHub at https://github.com/schinery/bicycle. 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.
81
+ Bug reports and pull requests are welcome on GitHub at https://github.com/technicalpanda/bicycle. 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.
83
82
 
84
83
  ## License
85
84
 
@@ -87,4 +86,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
87
86
 
88
87
  ## Code of Conduct
89
88
 
90
- Everyone interacting in the `Bicycle` project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/schinery/bicycle/blob/master/CODE_OF_CONDUCT.md).
89
+ Everyone interacting in the `Bicycle` project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/technicalpanda/bicycle/blob/main/CODE_OF_CONDUCT.md).
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.9.0
metadata CHANGED
@@ -1,129 +1,162 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bicycle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stuart Chinery
8
- autorequire:
9
- bindir: exe
8
+ autorequire:
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-14 00:00:00.000000000 Z
11
+ date: 2021-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
14
+ name: byebug
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.17.2
19
+ version: '11.1'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.17.2
26
+ version: '11.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 5.11.3
33
+ version: '5.14'
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: 5.11.3
40
+ version: '5.14'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest-fail-fast
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.0
47
+ version: '0.1'
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: 0.1.0
54
+ version: '0.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: minitest-macos-notification
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.0.5
61
+ version: '0.3'
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.0.5
68
+ version: '0.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest-reporters
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.3.5
75
+ version: '1.4'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.3.5
82
+ version: '1.4'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 12.3.2
89
+ version: '13.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 12.3.2
96
+ version: '13.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.7'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.7'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-minitest
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.10'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.10'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '0.5'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '0.5'
97
139
  description: A convenience gem for cycling through a set of values, ported from the
98
140
  'cycle' functionality found in Rails. It is independent of which framework you use
99
141
  so will run in Sinatra, Padrino or straight up Ruby itself.
100
142
  email:
101
- - stuart.chinery@gmail.com
143
+ - code@technicalpanda.co.uk
102
144
  executables: []
103
145
  extensions: []
104
146
  extra_rdoc_files: []
105
147
  files:
106
- - ".document"
107
- - ".gitignore"
108
- - ".rubocop.yml"
109
- - ".ruby-version"
110
- - ".travis.yml"
111
- - CODE_OF_CONDUCT.md
112
- - Gemfile
113
- - Gemfile.lock
114
- - LICENSE.txt
148
+ - MIT-LICENSE
115
149
  - README.md
116
150
  - Rakefile
117
151
  - VERSION
118
- - bicycle.gemspec
119
152
  - lib/bicycle.rb
120
153
  - lib/bicycle/methods.rb
121
154
  - lib/bicycle/version.rb
122
- homepage: https://github.com/schinery/bicycle
155
+ homepage: https://github.com/technicalpanda/bicycle
123
156
  licenses:
124
157
  - MIT
125
158
  metadata: {}
126
- post_install_message:
159
+ post_install_message:
127
160
  rdoc_options: []
128
161
  require_paths:
129
162
  - lib
@@ -131,15 +164,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
164
  requirements:
132
165
  - - ">="
133
166
  - !ruby/object:Gem::Version
134
- version: '0'
167
+ version: '2.5'
135
168
  required_rubygems_version: !ruby/object:Gem::Requirement
136
169
  requirements:
137
170
  - - ">="
138
171
  - !ruby/object:Gem::Version
139
172
  version: '0'
140
173
  requirements: []
141
- rubygems_version: 3.0.1
142
- signing_key:
174
+ rubygems_version: 3.1.4
175
+ signing_key:
143
176
  specification_version: 4
144
177
  summary: A convenience gem for cycling through a set of values
145
178
  test_files: []
data/.document DELETED
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
data/.gitignore DELETED
@@ -1,54 +0,0 @@
1
- # rcov generated
2
- coverage
3
- coverage.data
4
-
5
- # rdoc generated
6
- rdoc
7
-
8
- # yard generated
9
- doc
10
- .yardoc
11
-
12
- # bundler
13
- .bundle
14
-
15
- # jeweler generated
16
- pkg
17
-
18
- # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
19
- #
20
- # * Create a file at ~/.gitignore
21
- # * Include files you want ignored
22
- # * Run: git config --global core.excludesfile ~/.gitignore
23
- #
24
- # After doing this, these files will be ignored in all your git projects,
25
- # saving you from having to 'pollute' every project you touch with them
26
- #
27
- # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
28
- #
29
- # For MacOS:
30
- #
31
- #.DS_Store
32
-
33
- # For TextMate
34
- #*.tmproj
35
- #tmtags
36
-
37
- # For emacs:
38
- #*~
39
- #\#*
40
- #.\#*
41
-
42
- # For vim:
43
- #*.swp
44
-
45
- # For redcar:
46
- #.redcar
47
-
48
- # For rubinius:
49
- #*.rbc
50
-
51
- .rvmrc
52
-
53
- .DS_Store
54
- *.gem
data/.rubocop.yml DELETED
@@ -1,25 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 2.5
3
-
4
- # Use double quotes ALL THE TIME!!!
5
- Style/StringLiterals:
6
- EnforcedStyle: double_quotes
7
-
8
- # Disable Style/Documentation because...
9
- Style/Documentation:
10
- Enabled: false
11
-
12
- # Increase line length to 120
13
- Metrics/LineLength:
14
- Max: 120
15
-
16
- # Exclude class and method length for test
17
- Metrics/BlockLength:
18
- Exclude:
19
- - "test/**/*"
20
- Metrics/ClassLength:
21
- Exclude:
22
- - "test/**/*"
23
- Metrics/MethodLength:
24
- Exclude:
25
- - "test/**/*"
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 2.6.0
data/.travis.yml DELETED
@@ -1 +0,0 @@
1
- language: ruby
data/CODE_OF_CONDUCT.md DELETED
@@ -1,74 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as
6
- contributors and maintainers pledge to making participation in our project and
7
- our community a harassment-free experience for everyone, regardless of age, body
8
- size, disability, ethnicity, gender identity and expression, level of experience,
9
- nationality, personal appearance, race, religion, or sexual identity and
10
- orientation.
11
-
12
- ## Our Standards
13
-
14
- Examples of behavior that contributes to creating a positive environment
15
- include:
16
-
17
- * Using welcoming and inclusive language
18
- * Being respectful of differing viewpoints and experiences
19
- * Gracefully accepting constructive criticism
20
- * Focusing on what is best for the community
21
- * Showing empathy towards other community members
22
-
23
- Examples of unacceptable behavior by participants include:
24
-
25
- * The use of sexualized language or imagery and unwelcome sexual attention or
26
- advances
27
- * Trolling, insulting/derogatory comments, and personal or political attacks
28
- * Public or private harassment
29
- * Publishing others' private information, such as a physical or electronic
30
- address, without explicit permission
31
- * Other conduct which could reasonably be considered inappropriate in a
32
- professional setting
33
-
34
- ## Our Responsibilities
35
-
36
- Project maintainers are responsible for clarifying the standards of acceptable
37
- behavior and are expected to take appropriate and fair corrective action in
38
- response to any instances of unacceptable behavior.
39
-
40
- Project maintainers have the right and responsibility to remove, edit, or
41
- reject comments, commits, code, wiki edits, issues, and other contributions
42
- that are not aligned to this Code of Conduct, or to ban temporarily or
43
- permanently any contributor for other behaviors that they deem inappropriate,
44
- threatening, offensive, or harmful.
45
-
46
- ## Scope
47
-
48
- This Code of Conduct applies both within project spaces and in public spaces
49
- when an individual is representing the project or its community. Examples of
50
- representing a project or community include using an official project e-mail
51
- address, posting via an official social media account, or acting as an appointed
52
- representative at an online or offline event. Representation of a project may be
53
- further defined and clarified by project maintainers.
54
-
55
- ## Enforcement
56
-
57
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at stuart.chinery@gmail.com. All
59
- complaints will be reviewed and investigated and will result in a response that
60
- is deemed necessary and appropriate to the circumstances. The project team is
61
- obligated to maintain confidentiality with regard to the reporter of an incident.
62
- Further details of specific enforcement policies may be posted separately.
63
-
64
- Project maintainers who do not follow or enforce the Code of Conduct in good
65
- faith may face temporary or permanent repercussions as determined by other
66
- members of the project's leadership.
67
-
68
- ## Attribution
69
-
70
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
- available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
- [homepage]: http://contributor-covenant.org
74
- [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
-
5
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
-
7
- # Specify your gem's dependencies in minitest-macos-notification-reporter.gemspec
8
- gemspec
data/Gemfile.lock DELETED
@@ -1,42 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- bicycle (0.6.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- ansi (1.5.0)
10
- builder (3.2.3)
11
- minitest (5.11.3)
12
- minitest-fail-fast (0.1.0)
13
- minitest (~> 5)
14
- minitest-macos-notification (0.0.5)
15
- minitest (~> 5.0)
16
- minitest-reporters (~> 1.3)
17
- os (~> 1.0)
18
- terminal-notifier (~> 2.0)
19
- minitest-reporters (1.3.5)
20
- ansi
21
- builder
22
- minitest (>= 5.0)
23
- ruby-progressbar
24
- os (1.0.0)
25
- rake (12.3.2)
26
- ruby-progressbar (1.10.0)
27
- terminal-notifier (2.0.0)
28
-
29
- PLATFORMS
30
- ruby
31
-
32
- DEPENDENCIES
33
- bicycle!
34
- bundler (~> 1.17.2)
35
- minitest (~> 5.11.3)
36
- minitest-fail-fast (~> 0.1.0)
37
- minitest-macos-notification (~> 0.0.5)
38
- minitest-reporters (~> 1.3.5)
39
- rake (~> 12.3.2)
40
-
41
- BUNDLED WITH
42
- 1.17.2
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2018 Stuart Chinery
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
data/bicycle.gemspec DELETED
@@ -1,34 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- lib = File.expand_path("lib", __dir__)
4
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "bicycle/version"
6
-
7
- Gem::Specification.new do |spec|
8
- spec.name = "bicycle"
9
- spec.version = Bicycle::VERSION
10
- spec.authors = ["Stuart Chinery"]
11
- spec.email = ["stuart.chinery@gmail.com"]
12
-
13
- spec.summary = "A convenience gem for cycling through a set of values"
14
- spec.description = "A convenience gem for cycling through a set of values, ported from the 'cycle' " \
15
- "functionality found in Rails. It is independent of which framework you use so " \
16
- "will run in Sinatra, Padrino or straight up Ruby itself."
17
- spec.homepage = "https://github.com/schinery/bicycle"
18
- spec.license = "MIT"
19
-
20
- spec.files = `git ls-files -z`.split("\x0").reject do |f|
21
- f.match(%r{^(test|spec|features)/})
22
- end
23
-
24
- spec.bindir = "exe"
25
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
- spec.require_paths = ["lib"]
27
-
28
- spec.add_development_dependency "bundler", "~> 1.17.2"
29
- spec.add_development_dependency "minitest", "~> 5.11.3"
30
- spec.add_development_dependency "minitest-fail-fast", "~> 0.1.0"
31
- spec.add_development_dependency "minitest-macos-notification", "~> 0.0.5"
32
- spec.add_development_dependency "minitest-reporters", "~> 1.3.5"
33
- spec.add_development_dependency "rake", "~> 12.3.2"
34
- end