foobara-empty-ruby-project-generator 0.0.12 → 0.0.13

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: bc7d8e18218b9324dc8d6d4bfe592734b88cd70861f03d6911cf46c7f4086f60
4
- data.tar.gz: 68cb24c043e9f9e8db5713030b189f612bee30b4a0242138ef7bf41d4ceb6673
3
+ metadata.gz: 3a214c64d50f6c13c5f781eff80d90605133959f1dd185a51434b804cca8b33c
4
+ data.tar.gz: c2bdf1808499edeeb3fedf53fe43d78a975a3204e717afe194f6ad1d0c92ca40
5
5
  SHA512:
6
- metadata.gz: bbc4d41abbc0df6ea53f4606f636a95ae43868bb95a5ea0997067d63fc0905ecaa999991d811d8fce4e1e9b568816e474371701379779c16ba7da52d72baf722
7
- data.tar.gz: 9dd14a46dd5e458baa1b77b03631d549f5d2ee782489e89b502b06c9a16b2e2a936d0d1f3512307c10505b10c41ce1c4ddb2c5db2d67e719c0fa5405d51610ad
6
+ metadata.gz: e9919cc1649d12f6e3f6394d24bd3a6c683c147610b4684b16f5f89d2da0b661d29a8e3ca8bd9dd6a13d983d73d3665b20f51848260f0a12cdf61b58766b14bc
7
+ data.tar.gz: b9f26b8ec2aed38f24062f2d2eab608005c94cdf9004a74396ab14a1c4e03ba0ebfbe56825f113e9343ff96a6fc98a0351f2449ba986ecbf143c32c546223ea9
data/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
- ## [0.0.11] - 2024-12-16
1
+ ## [0.0.13] - 2025-01-03
2
+
3
+ - Bump to Ruby 3.4.1
4
+ - Fix various bugs resulting in incorrect license information
5
+
6
+ ## [0.0.12] - 2024-12-16
2
7
 
3
8
  - Fix bug preventing setting origin remote and pushing initial comit to github
4
9
 
@@ -49,7 +49,7 @@ module Foobara
49
49
 
50
50
  case licenses.size
51
51
  when 1
52
- "This project is dual licensed under the #{licenses.first} license."
52
+ "This project is licensed under the #{licenses.first} license."
53
53
  when 2
54
54
  "This project is dual licensed under your choice of the " \
55
55
  "#{licenses.first} license and the #{licenses.last} license."
@@ -18,6 +18,7 @@ module Foobara
18
18
  Generators::InitialSpecGenerator,
19
19
  Generators::LibGenerator,
20
20
  Generators::LicenseGenerator,
21
+ Generators::ReadmeGenerator,
21
22
  Generators::VersionGenerator
22
23
  ]
23
24
  else
@@ -0,0 +1,35 @@
1
+ require_relative "project_generator"
2
+
3
+ module Foobara
4
+ module Generators
5
+ module EmptyRubyProjectGenerator
6
+ module Generators
7
+ class ReadmeGenerator < ProjectGenerator
8
+ def template_path
9
+ "README.md.erb"
10
+ end
11
+
12
+ def license_generator
13
+ return @license_generator if defined?(@license_generator)
14
+
15
+ @license_generator = if license
16
+ LicenseGenerator.new(relevant_manifest)
17
+ end
18
+ end
19
+
20
+ def dependencies
21
+ [*license_generator]
22
+ end
23
+
24
+ def license_message
25
+ if license_generator
26
+ license_generator.license_message
27
+ else
28
+ "Currently unlicensed."
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
35
+ end
@@ -1 +1 @@
1
- 3.2.2
1
+ 3.4.1
@@ -46,4 +46,4 @@ at https://github.com/[USERNAME]/foobara-empty_ruby_project_generator.
46
46
 
47
47
  ## License
48
48
 
49
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
49
+ <%= license_message %> Please see LICENSE.txt for more info.
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-empty-ruby-project-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-17 00:00:00.000000000 Z
10
+ date: 2025-01-04 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: extract-repo
@@ -52,7 +51,6 @@ dependencies:
52
51
  - - ">="
53
52
  - !ruby/object:Gem::Version
54
53
  version: '0'
55
- description:
56
54
  email:
57
55
  - azimux@gmail.com
58
56
  executables: []
@@ -80,6 +78,7 @@ files:
80
78
  - src/generators/mit_license_generator.rb
81
79
  - src/generators/mpl2_license_generator.rb
82
80
  - src/generators/project_generator.rb
81
+ - src/generators/readme_generator.rb
83
82
  - src/generators/version_generator.rb
84
83
  - src/manifests/project_config.rb
85
84
  - src/types/extract_inputs.rb
@@ -97,7 +96,7 @@ files:
97
96
  - templates/LICENSE-MIT.txt.erb
98
97
  - templates/LICENSE-MPL-2.0.txt.erb
99
98
  - templates/LICENSE.txt.erb
100
- - templates/README.md
99
+ - templates/README.md.erb
101
100
  - templates/Rakefile
102
101
  - templates/bin/console.erb
103
102
  - templates/bin/setup
@@ -124,7 +123,6 @@ metadata:
124
123
  source_code_uri: https://github.com/foobara/empty-ruby-project-generator
125
124
  changelog_uri: https://github.com/foobara/empty-ruby-project-generator/blob/main/CHANGELOG.md
126
125
  rubygems_mfa_required: 'true'
127
- post_install_message:
128
126
  rdoc_options: []
129
127
  require_paths:
130
128
  - lib
@@ -132,15 +130,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
130
  requirements:
133
131
  - - ">="
134
132
  - !ruby/object:Gem::Version
135
- version: 3.2.2
133
+ version: 3.4.0
136
134
  required_rubygems_version: !ruby/object:Gem::Requirement
137
135
  requirements:
138
136
  - - ">="
139
137
  - !ruby/object:Gem::Version
140
138
  version: '0'
141
139
  requirements: []
142
- rubygems_version: 3.5.23
143
- signing_key:
140
+ rubygems_version: 3.6.2
144
141
  specification_version: 4
145
142
  summary: Generates empty ruby project boilerplate code from a template
146
143
  test_files: []