gem_toys 0.2.0 → 0.3.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: 5f12dea34e3f97cd2d22bbe74577876988d63b14135f3881688adffb0aa1fe27
4
- data.tar.gz: 3e7133b5a0c2b082d8108b63fcc403b86c52360c32faf4764eb569ae07052aa4
3
+ metadata.gz: ebbde3bcabf9bc8e53603305bb4c13a0722ff5827007843f52b7d88972b06738
4
+ data.tar.gz: bb677a539b3d46f210a0777a69498ec786c00de408236ba6f2ab7bd011cb7357
5
5
  SHA512:
6
- metadata.gz: 846247b5a5f1b69e4fde49feda00a66494a3ee4f6ca867dfd564723772749bcf25184560ae07e86c58f78a1b6beb07eb15562abfd925e8d58d5397a58c6916c5
7
- data.tar.gz: 2587c1b34d42976accf1ef5b63b53b35ca068f4d26a89620d9ed349f215e01630d072fc520ac484b199cb264045dfc067e3ec89d644c32bcb3adda6ed1d057bf
6
+ metadata.gz: 11e5b4915cc7db2ae18e70afa5d22a56e2452f3b0a67a2dcb15b862d97bfac40bbd6dfd2fcb61f6830db8f719cba647974c14f7374c46f774a327f38459b9b5b
7
+ data.tar.gz: a50682c37f4ab143d0c77a37aeef8d943da8a48227f607b08683482c3aefb2d2d56f2d0d9235e969ac847b37bbe7b49a8f56a1a8bc2b076878af9ca41ffd6c69
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.3.0 (2020-07-11)
6
+
7
+ * Add support for Ruby 2.4
8
+
5
9
  ## 0.2.0 (2020-07-09)
6
10
 
7
11
  * Add `:version_file_path` and `:unreleased_title` options
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  # Gem Toys
2
2
 
3
- ![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/gem_toys?style=flat-square)
3
+ [![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/gem_toys?style=flat-square)](https://cirrus-ci.com/github/AlexWayfer/gem_toys)
4
4
  [![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/gem_toys/master.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/gem_toys)
5
5
  [![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/gem_toys.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/gem_toys)
6
- ![Depfu](https://img.shields.io/depfu/AlexWayfer/gem_toys?style=flat-square)
6
+ [![Depfu](https://img.shields.io/depfu/AlexWayfer/benchmark_toys?style=flat-square)](https://depfu.com/repos/github/AlexWayfer/gem_toys)
7
7
  [![Inline docs](https://inch-ci.org/github/AlexWayfer/gem_toys.svg?branch=master)](https://inch-ci.org/github/AlexWayfer/gem_toys)
8
- [![license](https://img.shields.io/github/license/AlexWayfer/gem_toys.svg?style=flat-square)](https://github.com/AlexWayfer/gem_toys/blob/master/LICENSE)
8
+ [![license](https://img.shields.io/github/license/AlexWayfer/gem_toys.svg?style=flat-square)](https://github.com/AlexWayfer/gem_toys/blob/master/LICENSE.txt)
9
9
  [![Gem](https://img.shields.io/gem/v/gem_toys.svg?style=flat-square)](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
- At invocation it will:
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. Execute `gem build`.
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
- Then, run `bundle exec rspec` to run the tests.
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
- To release a new version, update the version number in `version.rb`,
65
- and then run `bundle exec rake release`, which will create a git tag
66
- for the version, push git commits and tags, and push the `.gem` file
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GemToys
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.0'
5
5
  end
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.2.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-08 00:00:00.000000000 Z
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.0
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.0
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.5'
170
+ version: '2.4'
177
171
  required_rubygems_version: !ruby/object:Gem::Requirement
178
172
  requirements:
179
173
  - - ">="