spicerack 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +115 -0
- data/lib/spicerack.rb +8 -0
- data/lib/spicerack/version.rb +6 -0
- metadata +135 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7a4576bb9e2317686daa6d9bb82359a40f40916ef5774ba158b2c096d1ab66c7
|
4
|
+
data.tar.gz: 61a905fbd8e90eaf04369738d610034dc909959850b44072cf04746d10a2650f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 6b2d6d61cdb91e389a26fb8701a1684f699209c51d282ff8c2a4b3f32b260f672c641247435c648b2c868049e9d74b3e0e0c6a143ef2e3aa6a3caebabee49bfe
|
7
|
+
data.tar.gz: 99324417ffac6f5b8f3b14330418b576a171514c75516429cb471415d6fead69daf9c0d4be362ad12b3235e6a93c7b80f93f9b48b293d0c4ae3685a1289e3389
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2018 Eric Garside
|
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/README.md
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
# Spicerack
|
2
|
+
|
3
|
+
[![Build Status](https://semaphoreci.com/api/v1/freshly/spicerack/branches/master/badge.svg)](https://semaphoreci.com/freshly/spicerack)
|
4
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/7e089c2617c530a85b17/maintainability)](https://codeclimate.com/github/Freshly/spicerack/maintainability)
|
5
|
+
[![Test Coverage](https://api.codeclimate.com/v1/badges/7e089c2617c530a85b17/test_coverage)](https://codeclimate.com/github/Freshly/spicerack/test_coverage)
|
6
|
+
|
7
|
+
This collection of gems will spice up your rails and kick your rubies up a notch. Bam!
|
8
|
+
|
9
|
+
## Installation
|
10
|
+
|
11
|
+
Add this line to your application's Gemfile:
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
gem "spicerack"
|
15
|
+
```
|
16
|
+
|
17
|
+
And then execute:
|
18
|
+
|
19
|
+
$ bundle
|
20
|
+
|
21
|
+
Or install it yourself as:
|
22
|
+
|
23
|
+
$ gem install spicerack
|
24
|
+
|
25
|
+
## Usage
|
26
|
+
|
27
|
+
TODO: Write usage instructions here
|
28
|
+
|
29
|
+
## Development
|
30
|
+
|
31
|
+
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.
|
32
|
+
|
33
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
This Open Source is supported by [Freshly](https://freshly.com), a company committed to quality code and delicious food.
|
38
|
+
|
39
|
+
We're basically [always hiring](https://jobs.lever.co/freshly).
|
40
|
+
|
41
|
+
Come join us in our New York City or Phoenix offices and write some awesome software!
|
42
|
+
|
43
|
+
Community support is always appreciated! Bug reports and pull requests are welcome on [GitHub](https://github.com/Freshly/spicerack).
|
44
|
+
|
45
|
+
### Add
|
46
|
+
|
47
|
+
To add a new gem to the spicerack:
|
48
|
+
|
49
|
+
```
|
50
|
+
cd spicerack
|
51
|
+
bundle gem GEM
|
52
|
+
cd GEM
|
53
|
+
rm -rf .git
|
54
|
+
rm .travis.yml
|
55
|
+
rm .gitignore
|
56
|
+
chmod 0664 lib/GEM/version.rb
|
57
|
+
```
|
58
|
+
|
59
|
+
Here's a checklist of some other tasks (see another gem as reference):
|
60
|
+
|
61
|
+
⚠️ Reminder: Add the magic comment to the top of all the generated ruby files!
|
62
|
+
|
63
|
+
- Delete `Gemfile`
|
64
|
+
- Edit `lib/GEM/version.rb` to add the comment line
|
65
|
+
- Edit `README.md` to add badges and update contributor
|
66
|
+
- Edit `Rakefile` to add GEM to the `SPICERACK_GEMS` constant
|
67
|
+
- Remove the failing spec in `spec/GEM_spec.rb`
|
68
|
+
- Edit `spec/spec_helper.rb` to use the shared spec helper
|
69
|
+
- Edit `GEM.gemspec` and clean up the boilerplate
|
70
|
+
|
71
|
+
Then in the base directory:
|
72
|
+
|
73
|
+
- Add a require for your new gem into `lib/spicerack.rb`
|
74
|
+
- Add the new gem into `spicerack.gemspec`
|
75
|
+
- Increment the version in `SPICERACK_VERSION`
|
76
|
+
- Run `rake spicerack:update_all_versions` to the correct version
|
77
|
+
|
78
|
+
Next, push the code up and open a new pull request.
|
79
|
+
|
80
|
+
Once that gets merged into master, run:
|
81
|
+
|
82
|
+
- Run `rake spicerack:release_all` to claim the new gem name with the empty build
|
83
|
+
|
84
|
+
🚨 Don't forget to run `bundle` so the `Gemfile.lock` gets updated!!
|
85
|
+
|
86
|
+
### Release
|
87
|
+
|
88
|
+
This is a monorepo which contains several gems designed to build and release together.
|
89
|
+
|
90
|
+
To perform release, set the new canonical version in the `SPICERACK_VERSION` file then run the task.
|
91
|
+
|
92
|
+
```ruby
|
93
|
+
echo "0.1.0" > SPICERACK_VERSION
|
94
|
+
rake spicerack:update_all_versions
|
95
|
+
git commit -am "Updating to version x.y.z"
|
96
|
+
rake spicerack:release_all
|
97
|
+
```
|
98
|
+
|
99
|
+
This will build and release all dependent gems at the same time.
|
100
|
+
|
101
|
+
### Versions
|
102
|
+
|
103
|
+
Spicerack uses `Major.Minor.Patch` version control.
|
104
|
+
|
105
|
+
Versions should be increased according to the following rules:
|
106
|
+
|
107
|
+
- *Major Version* for non-backwards compatible changes.
|
108
|
+
- *Minor Version* for new gems or important features.
|
109
|
+
- *Patch Version* for bug fixes, enhancements, and optimizations.
|
110
|
+
|
111
|
+
💁 Please remember to keep the `CHANGELOG` up to date!
|
112
|
+
|
113
|
+
## License
|
114
|
+
|
115
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/lib/spicerack.rb
ADDED
metadata
ADDED
@@ -0,0 +1,135 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: spicerack
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.9
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eric Garside
|
8
|
+
- Allen Rettberg
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2018-09-18 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: around_the_world
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - '='
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 0.1.9
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 0.1.9
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: technologic
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 0.1.9
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 0.1.9
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: bundler
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.16'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.16'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rake
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '10.0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '10.0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: rspec
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '3.0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '3.0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: simplecov
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0.16'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0.16'
|
98
|
+
description: This collection of gems will spice up your rails and kick your rubies
|
99
|
+
up a notch. Bam!
|
100
|
+
email:
|
101
|
+
- garside@gmail.com
|
102
|
+
- allen.rettberg@freshly.com
|
103
|
+
executables: []
|
104
|
+
extensions: []
|
105
|
+
extra_rdoc_files: []
|
106
|
+
files:
|
107
|
+
- LICENSE.txt
|
108
|
+
- README.md
|
109
|
+
- lib/spicerack.rb
|
110
|
+
- lib/spicerack/version.rb
|
111
|
+
homepage: https://www.freshly.com/
|
112
|
+
licenses:
|
113
|
+
- MIT
|
114
|
+
metadata: {}
|
115
|
+
post_install_message:
|
116
|
+
rdoc_options: []
|
117
|
+
require_paths:
|
118
|
+
- lib
|
119
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
124
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - ">="
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0'
|
129
|
+
requirements: []
|
130
|
+
rubyforge_project:
|
131
|
+
rubygems_version: 2.7.6
|
132
|
+
signing_key:
|
133
|
+
specification_version: 4
|
134
|
+
summary: A suite of utility gems for Ruby on Rails.
|
135
|
+
test_files: []
|