gem_toys 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +20 -10
- data/lib/gem_toys/version.rb +1 -1
- metadata +5 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ebbde3bcabf9bc8e53603305bb4c13a0722ff5827007843f52b7d88972b06738
|
|
4
|
+
data.tar.gz: bb677a539b3d46f210a0777a69498ec786c00de408236ba6f2ab7bd011cb7357
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11e5b4915cc7db2ae18e70afa5d22a56e2452f3b0a67a2dcb15b862d97bfac40bbd6dfd2fcb61f6830db8f719cba647974c14f7374c46f774a327f38459b9b5b
|
|
7
|
+
data.tar.gz: a50682c37f4ab143d0c77a37aeef8d943da8a48227f607b08683482c3aefb2d2d56f2d0d9235e969ac847b37bbe7b49a8f56a1a8bc2b076878af9ca41ffd6c69
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Gem Toys
|
|
2
2
|
|
|
3
|
-

|
|
3
|
+
[](https://cirrus-ci.com/github/AlexWayfer/gem_toys)
|
|
4
4
|
[](https://codecov.io/gh/AlexWayfer/gem_toys)
|
|
5
5
|
[](https://codeclimate.com/github/AlexWayfer/gem_toys)
|
|
6
|
-
](https://depfu.com/repos/github/AlexWayfer/gem_toys)
|
|
7
7
|
[](https://inch-ci.org/github/AlexWayfer/gem_toys)
|
|
8
|
-
[](https://github.com/AlexWayfer/gem_toys/blob/master/LICENSE)
|
|
8
|
+
[](https://github.com/AlexWayfer/gem_toys/blob/master/LICENSE.txt)
|
|
9
9
|
[](https://rubygems.org/gems/gem_toys)
|
|
10
10
|
|
|
11
11
|
[Toys](https://github.com/dazuma/toys) template for gems, like building, releasing, etc.
|
|
@@ -41,13 +41,23 @@ expand GemToys::Template
|
|
|
41
41
|
alias_tool :g, :gem
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
### Build
|
|
45
|
+
|
|
46
|
+
`toys gem build` builds a gem with the current version and move it to the `pkg/` directory.
|
|
47
|
+
|
|
48
|
+
### Install
|
|
49
|
+
|
|
50
|
+
`toys gem install` [builds](#build) a gem and install it locally.
|
|
51
|
+
|
|
52
|
+
### Release
|
|
53
|
+
|
|
54
|
+
`toys gem release` does:
|
|
45
55
|
|
|
46
56
|
1. Update `lib/*gem_name*/version.rb` file.
|
|
47
57
|
Can be refined with `:version_file_path` option on `expand`.
|
|
48
58
|
2. Insert Markdown title with changes from `## master (unreleased)` in a `CHANGELOG.md` file.
|
|
49
59
|
Can be refined with `:unreleased_title` option on `expand`.
|
|
50
|
-
3.
|
|
60
|
+
3. [Builds](#build) a gem.
|
|
51
61
|
4. Ask you for manual check, if you want (print anything of OK).
|
|
52
62
|
You also can change manually a content of `CHANGELOG.md`, for example, before committing.
|
|
53
63
|
5. Commit these files.
|
|
@@ -58,13 +68,13 @@ At invocation it will:
|
|
|
58
68
|
## Development
|
|
59
69
|
|
|
60
70
|
After checking out the repo, run `bundle install` to install dependencies.
|
|
61
|
-
|
|
71
|
+
|
|
72
|
+
Then, run `toys rspec` to run the tests.
|
|
62
73
|
|
|
63
74
|
To install this gem onto your local machine, run `toys gem install`.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
to [rubygems.org](https://rubygems.org).
|
|
75
|
+
|
|
76
|
+
To release a new version, run `toys gem release %version%`.
|
|
77
|
+
See how it works [here](https://github.com/AlexWayfer/gem_toys#release).
|
|
68
78
|
|
|
69
79
|
## Contributing
|
|
70
80
|
|
data/lib/gem_toys/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gem_toys
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Popov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-07-
|
|
11
|
+
date: 2020-07-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry-byebug
|
|
@@ -58,20 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.1.
|
|
62
|
-
- - "<"
|
|
63
|
-
- !ruby/object:Gem::Version
|
|
64
|
-
version: 0.1.18
|
|
61
|
+
version: 0.1.20
|
|
65
62
|
type: :development
|
|
66
63
|
prerelease: false
|
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
68
65
|
requirements:
|
|
69
66
|
- - "~>"
|
|
70
67
|
- !ruby/object:Gem::Version
|
|
71
|
-
version: 0.1.
|
|
72
|
-
- - "<"
|
|
73
|
-
- !ruby/object:Gem::Version
|
|
74
|
-
version: 0.1.18
|
|
68
|
+
version: 0.1.20
|
|
75
69
|
- !ruby/object:Gem::Dependency
|
|
76
70
|
name: rspec
|
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -173,7 +167,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
173
167
|
requirements:
|
|
174
168
|
- - ">="
|
|
175
169
|
- !ruby/object:Gem::Version
|
|
176
|
-
version: '2.
|
|
170
|
+
version: '2.4'
|
|
177
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
172
|
requirements:
|
|
179
173
|
- - ">="
|