gem_generator 0.4.0 → 0.5.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: 6956a329ffd0c4b6c7801bfd8657785fdd7704c322a918073548bf20439d9276
4
- data.tar.gz: b505f669f07e023116a27aae3adcf46c581911dc7174fe651a6122e4d055720e
3
+ metadata.gz: 736de6a1fdf4d735bd6abe147664301844f63d07f2556beca5ae0dddc44c40ea
4
+ data.tar.gz: d01d1f84cbe45539405fce207f5cd5e9c39c38530bcdee6bc487746de43f3ca3
5
5
  SHA512:
6
- metadata.gz: 76cb9bb214bb3bb143002e04952578b7cd59c42586f20d5a1696aa5a135aa836192bb39e9d87f03e85f37a7b0b9dccbef9ce0261a7f809864a8445356c63c030
7
- data.tar.gz: cc873f780fcc393ad9943b511a003039d74c8eeb6a8de47c20ccb17a91bb2cba9be535a9b921edc43177857d86ebe9812996e4a34dcc4efcf3f3c0dbf1cc3816
6
+ metadata.gz: 268fbb1cee8a5ef3c28932e0c561f6b52d377fd3e15cf2dea1703d719a89474a3e8a59414000f7fd7eb71fbe3a822f1ce817cf3cbc3fafed8e0ac7f31b980c2d
7
+ data.tar.gz: 8ccaf92baccde793bab8657599d403ff520493e7ea48f9c9025b59c0e89147b80118921d81740c0866cc281a15590894b38deb18b8e8306fb6f823b68138f2e0
data/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.5.0 (2024-08-27)
6
+
7
+ * Update `project_generator` dependency.
8
+
9
+ * Improve specs for different indentation.
10
+
11
+ * Add Ruby 3.2 and 3.3 to CI.
12
+
13
+ * Improve documentation.
14
+
15
+ * Improve Cirrus CI configuration.
16
+
17
+ * Lock development dependencies versions more strict.
18
+
19
+ * Update development dependencies.
20
+
21
+ * Resolve new RuboCop offenses.
22
+
23
+ * Switch from Depfu to Renovate.
24
+
5
25
  ## 0.4.0 (2022-10-21)
6
26
 
7
27
  * Drop Ruby 2.6 and 2.7 support.
data/README.md CHANGED
@@ -3,7 +3,6 @@
3
3
  [![Cirrus CI - Base Branch Build Status](https://img.shields.io/cirrus/github/AlexWayfer/gem_generator?style=flat-square)](https://cirrus-ci.com/github/AlexWayfer/gem_generator)
4
4
  [![Codecov branch](https://img.shields.io/codecov/c/github/AlexWayfer/gem_generator/main.svg?style=flat-square)](https://codecov.io/gh/AlexWayfer/gem_generator)
5
5
  [![Code Climate](https://img.shields.io/codeclimate/maintainability/AlexWayfer/gem_generator.svg?style=flat-square)](https://codeclimate.com/github/AlexWayfer/gem_generator)
6
- [![Depfu](https://img.shields.io/depfu/AlexWayfer/gem_generator?style=flat-square)](https://depfu.com/repos/github/AlexWayfer/gem_generator)
7
6
  [![license](https://img.shields.io/github/license/AlexWayfer/gem_generator.svg?style=flat-square)](LICENSE.txt)
8
7
  [![Gem](https://img.shields.io/gem/v/gem_generator.svg?style=flat-square)](https://rubygems.org/gems/gem_generator)
9
8
 
@@ -30,11 +29,16 @@ gem_generator --namespace=your_github_nickname name_of_a_new_gem path/to/templat
30
29
  ### With GitHub template
31
30
 
32
31
  ```sh
33
- gem_generator --namespace=your_github_nickname name_of_a_new_gem template_github_org/template_github_repo
32
+ gem_generator --namespace=your_github_nickname name_of_a_new_gem template_github_org/template_github_repo --git
34
33
  ```
35
34
 
36
35
  Be aware: `gem_generator` uses `template/` directory from the GitHub repo, not the root one.
37
36
 
37
+ ### Other options
38
+
39
+ `gem_generator` inherits [`project_generator`](https://github.com/AlexWayfer/project_generator),
40
+ so please check it's general options, like `--indentation`, or you can use `--help` at any moment.
41
+
38
42
  ### Config file
39
43
 
40
44
  You can create a config file, `.gem_generator.yaml` (or `.yml`) like this:
@@ -94,7 +98,7 @@ So, this option only for tabs-indented templates.
94
98
  ### Git templates
95
99
 
96
100
  You can create public git-templates and then guide users to call
97
- `gem_generator gem_game your_org/your_repo --git`, but be aware that `gem_generator` will look
101
+ `gem_generator gem_name your_org/your_repo --git`, but be aware that `gem_generator` will look
98
102
  for template inside `template/` directory to allow you having out-of-template README,
99
103
  specs (for the template itself), anything else.
100
104
 
@@ -102,7 +106,7 @@ specs (for the template itself), anything else.
102
106
 
103
107
  After checking out the repo, run `bundle install` to install dependencies.
104
108
 
105
- Then, run `toys rspec` to run the tests.
109
+ Then, run `bundle exec rspec` to run the tests.
106
110
 
107
111
  To install this gem onto your local machine, run `toys gem install`.
108
112
 
@@ -14,7 +14,7 @@ module GemGenerator
14
14
  attr_reader :summary
15
15
 
16
16
  def initialize(name, namespace_option, indentation, summary)
17
- super name, indentation
17
+ super(name, indentation)
18
18
 
19
19
  @namespace_option = namespace_option
20
20
  @summary = summary
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GemGenerator
4
- VERSION = '0.4.0'
4
+ VERSION = '0.5.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2024-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,182 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.3.0
47
+ version: 0.4.0
48
48
  type: :runtime
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.3.0
55
- - !ruby/object:Gem::Dependency
56
- name: pry-byebug
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '3.9'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '3.9'
69
- - !ruby/object:Gem::Dependency
70
- name: inifile
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '3.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '3.0'
83
- - !ruby/object:Gem::Dependency
84
- name: bundler-audit
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: 0.9.0
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: 0.9.0
97
- - !ruby/object:Gem::Dependency
98
- name: gem_toys
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: 0.12.1
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: 0.12.1
111
- - !ruby/object:Gem::Dependency
112
- name: toys
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: 0.13.1
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: 0.13.1
125
- - !ruby/object:Gem::Dependency
126
- name: ffaker
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '2.19'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '2.19'
139
- - !ruby/object:Gem::Dependency
140
- name: rspec
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '3.9'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '3.9'
153
- - !ruby/object:Gem::Dependency
154
- name: simplecov
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: 0.21.0
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: 0.21.0
167
- - !ruby/object:Gem::Dependency
168
- name: simplecov-cobertura
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '2.1'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '2.1'
181
- - !ruby/object:Gem::Dependency
182
- name: rubocop
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: 1.37.0
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: 1.37.0
195
- - !ruby/object:Gem::Dependency
196
- name: rubocop-performance
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: '1.0'
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: '1.0'
209
- - !ruby/object:Gem::Dependency
210
- name: rubocop-rspec
211
- requirement: !ruby/object:Gem::Requirement
212
- requirements:
213
- - - "~>"
214
- - !ruby/object:Gem::Version
215
- version: '2.0'
216
- type: :development
217
- prerelease: false
218
- version_requirements: !ruby/object:Gem::Requirement
219
- requirements:
220
- - - "~>"
221
- - !ruby/object:Gem::Version
222
- version: '2.0'
54
+ version: 0.4.0
223
55
  description: 'Generator for gems.
224
56
 
225
57
  '
@@ -244,7 +76,7 @@ licenses:
244
76
  metadata:
245
77
  rubygems_mfa_required: 'true'
246
78
  bug_tracker_uri: https://github.com/AlexWayfer/gem_generator/issues
247
- changelog_uri: https://github.com/AlexWayfer/gem_generator/blob/v0.4.0/CHANGELOG.md
79
+ changelog_uri: https://github.com/AlexWayfer/gem_generator/blob/v0.5.0/CHANGELOG.md
248
80
  homepage_uri: https://github.com/AlexWayfer/gem_generator
249
81
  source_code_uri: https://github.com/AlexWayfer/gem_generator
250
82
  post_install_message:
@@ -265,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
265
97
  - !ruby/object:Gem::Version
266
98
  version: '0'
267
99
  requirements: []
268
- rubygems_version: 3.3.7
100
+ rubygems_version: 3.5.5
269
101
  signing_key:
270
102
  specification_version: 4
271
103
  summary: Generator for gems