bundlegem 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34015a75f77131e223b18e6f07e0bbd28d9b392addc289a05bbd3c3a5e440819
4
- data.tar.gz: bdbac3955fe9811fe31c1412f95af7f391f763bd18f54dec159ec0352a07dc67
3
+ metadata.gz: ca33941473a43a89745d74fba7d815ceae364f0f7514d8d63db538c3178cde54
4
+ data.tar.gz: 5032d292e973052403c142088e5e358718e22e819b94af74e39f238a2daf9b28
5
5
  SHA512:
6
- metadata.gz: b1cadeb6514c5ddec9959c32750ad7a07e111e89d8938eb2d2e62ff65a86a3245d68ed4e0f3a11bfc4621cf6a5bb95a8582af27869d500aee842e880a4655e6c
7
- data.tar.gz: 821f53f4046b19a3758723dc117f755be40a9d6d352713734803838ef3c150f6ad0a7a0eaf1574ff9fb2f7390dc003b8582fd355a68125c6ca45d701c5ed1536
6
+ metadata.gz: ba17e06fe7f97d46af8cbe3e8212d2094eb3bfbc925f546ae3598425c0a3185b1f99295b7e25dd6899c2ce1e412389a326e001798bf423a08a639707c8928e7a
7
+ data.tar.gz: 89a207b4241e8ad8fd89e8b6bcc81489daece88e3dc14dc0325a960792f231a0d40ca6c6aeaf042912e0c6b3eeb9b1c98cacd416ae6b0d0c757b4fdfcc0f7b73
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # BundleGem: A Gem Project Generator with User Defined Templates
2
2
 
3
- Alot of the code here was extracted from Bundler's `bundle gem` command, so credits to Bundler folks. Originally I planned to make the new features accessible to the Bundler team and so tried to keep the code as similar to their project as possible, but ultimately discovered that they don't want to feature to grow because good tools should do a single thing very well (manage dependencies), not many things (manage dependencies and also do random other helpful stuff).
3
+ Note: Alot of the code here was extracted from Bundler's `bundle gem` command, so credits to the Bundler folks. Originally I planned to make the new features accessible to the Bundler team and so tried to keep the code as similar to their project as possible, but ultimately discovered that they don't want to grow this feature because good tools should do a single thing very well (manage dependencies), not many things (manage dependencies and also do random other helpful stuff). Also it's a profoundly common dependency meaning every change is high stakes.
4
4
 
5
5
  The goal of the project is to allow users to define templates in the most native form to all technologist: Directory Structures, short commands, and helpful commands which make the gem's usage completely visible!
6
6
 
@@ -54,7 +54,7 @@ $ bundlegem project_name -t my_service
54
54
 
55
55
  ## Customizing Your Own Templates
56
56
 
57
- Place your own templates in `~/.bunglegem/templates`. You can populate it with examples by running `bundlegem --install-best-templates`
57
+ Place your own templates in `~/.bunglegem/templates`. You can populate it with examples by running `bundlegem --install-best-templates` which will effectively clone down a few sample git repos into the templates folder for you such as [Go-Cli](https://github.com/TheNotary/go-cli) for instance.
58
58
 
59
59
  You'll get a good idea as to the possibilities by inspecting the files in [templates](https://github.com/TheNotary/bundlegem/tree/master/lib/bundlegem/templates/newgem). Some quick tips follow:
60
60
 
@@ -63,8 +63,3 @@ You'll get a good idea as to the possibilities by inspecting the files in [templ
63
63
  - Within files, use `<%=config[:namespaced_path]%>` to have that reinterpreted as just the file name with underscores
64
64
  - Have a look [under the hood](https://github.com/TheNotary/bundlegem/blob/master/lib/bundlegem/cli/gem.rb#L30-L43) to see other options and the context where the ERB.new takes place.
65
65
 
66
-
67
- ### Contributing
68
-
69
- Please feel free to speak up using the issue section if there's anything on your mind :)
70
- Do the usual fork routine and issue a pull request by all means.
data/bundlegem.gemspec CHANGED
@@ -3,28 +3,37 @@ lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
  require 'bundlegem/version'
5
5
 
6
- Gem::Specification.new do |spec|
7
- spec.name = "bundlegem"
8
- spec.version = Bundlegem::VERSION
9
- spec.authors = ["TheNotary"]
10
- spec.email = ["no@mail.plz"]
11
- spec.summary = %q{this gem makes more gems!}
12
- spec.description = %q{ I KNOW! ISN'T THAT LIKE WISHING FOR MORE WISHES!}
13
- spec.homepage = ""
14
- spec.license = "MIT"
6
+ version = Bundlegem::VERSION
15
7
 
16
- spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
8
+ Gem::Specification.new do |s|
9
+ s.name = "bundlegem"
10
+ s.version = version
11
+ s.authors = ["TheNotary"]
12
+ s.email = ["no@mail.plz"]
13
+ s.summary = %q{This gem makes more gems!}
14
+ s.description = %q{ This is a gem for making more gems! I KNOW! ISN'T THAT LIKE WISHING FOR MORE WISHES!}
15
+ s.homepage = "https://github.com/thenotary/bundlegem"
16
+ s.license = "MIT"
20
17
 
21
- spec.add_dependency "thor", "0.19.1"
22
- spec.add_dependency "bundler", "~> 2.5"
23
- spec.add_dependency "ostruct"
24
- spec.add_dependency "reline"
18
+ s.metadata = {
19
+ "bug_tracker_uri" => "https://github.com/TheNotary/bundlegem/issues",
20
+ "changelog_uri" => "https://github.com/TheNotary/bundlegem/releases/tag/v#{version}",
21
+ "documentation_uri" => "https://api.rubyonrails.org/v#{version}/",
22
+ "source_code_uri" => "https://github.com/TheNotary/bundlegem/tree/v#{version}",
23
+ }
25
24
 
26
- #spec.add_development_dependency "bundler"#, "~> 1.8"
27
- spec.add_development_dependency "rake", "~> 13.2"
28
- spec.add_development_dependency "rspec"
29
- spec.add_development_dependency "pry"
25
+ s.files = `git ls-files -z`.split("\x0")
26
+ s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
27
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
28
+ s.require_paths = ["lib"]
29
+
30
+ s.add_dependency "thor", "0.19.1"
31
+ s.add_dependency "bundler", "~> 2.5"
32
+ s.add_dependency "ostruct"
33
+ s.add_dependency "reline"
34
+
35
+ #s.add_development_dependency "bundler"#, "~> 1.8"
36
+ s.add_development_dependency "rake", "~> 13.2"
37
+ s.add_development_dependency "rspec"
38
+ s.add_development_dependency "pry"
30
39
  end
@@ -1,3 +1,3 @@
1
1
  module Bundlegem
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundlegem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TheNotary
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-18 00:00:00.000000000 Z
10
+ date: 2025-03-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: thor
@@ -107,7 +107,8 @@ dependencies:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
- description: " I KNOW! ISN'T THAT LIKE WISHING FOR MORE WISHES!"
110
+ description: " This is a gem for making more gems! I KNOW! ISN'T THAT LIKE WISHING
111
+ FOR MORE WISHES!"
111
112
  email:
112
113
  - no@mail.plz
113
114
  executables:
@@ -202,10 +203,14 @@ files:
202
203
  - spec/bundlegem_spec.rb
203
204
  - spec/data/variable_manifest_test.rb
204
205
  - spec/spec_helper.rb
205
- homepage: ''
206
+ homepage: https://github.com/thenotary/bundlegem
206
207
  licenses:
207
208
  - MIT
208
- metadata: {}
209
+ metadata:
210
+ bug_tracker_uri: https://github.com/TheNotary/bundlegem/issues
211
+ changelog_uri: https://github.com/TheNotary/bundlegem/releases/tag/v0.1.1
212
+ documentation_uri: https://api.rubyonrails.org/v0.1.1/
213
+ source_code_uri: https://github.com/TheNotary/bundlegem/tree/v0.1.1
209
214
  rdoc_options: []
210
215
  require_paths:
211
216
  - lib
@@ -222,7 +227,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
222
227
  requirements: []
223
228
  rubygems_version: 3.6.2
224
229
  specification_version: 4
225
- summary: this gem makes more gems!
230
+ summary: This gem makes more gems!
226
231
  test_files:
227
232
  - spec/bundlegem_spec.rb
228
233
  - spec/data/variable_manifest_test.rb