bundlegem 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bundlegem +1 -1
- data/changelog +14 -2
- data/config/config +1 -1
- data/lib/bundlegem/cli/gem.rb +2 -1
- data/lib/bundlegem/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95799e3e692c74a35d6d78a52c83b235405a999a
|
4
|
+
data.tar.gz: 302468f2dcc5f39126cb0edc3733145c95bab10a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e851dbf5fe9da9d7e55124a53a48038ad465e71d17da38ff18bdf5c2e25ca2905d0841239dec3fc66701d62240b1159b49261463999d029ef627ef78de295e6f
|
7
|
+
data.tar.gz: 4206f59a984011d77e5b76e7cf350adb8decd788abbe50d5dce4f3a199df16364bf4affa8c8c9c3b59694d900f6332b5bbaf58bd4b96b56b913554cf8e7c9e60
|
data/bin/bundlegem
CHANGED
@@ -50,7 +50,7 @@ ARGV.each_with_index do |arg, i|
|
|
50
50
|
options.merge!({"template" => ARGV[i+1]})
|
51
51
|
skip_i = i+1
|
52
52
|
next
|
53
|
-
elsif !arg
|
53
|
+
elsif !(arg =~ /^-/) # this must be what they want as the gem_name
|
54
54
|
gem_name = arg
|
55
55
|
end
|
56
56
|
end
|
data/changelog
CHANGED
@@ -1,11 +1,23 @@
|
|
1
1
|
** 0.0.x **
|
2
|
+
- Add prompt "Would you care to summarize your gem for documentation purposes? (y/[n])
|
3
|
+
- Add prompt for specifying java package org name
|
2
4
|
- CMD: --newtemplate to start new template
|
3
5
|
- I'll need to write a basic starter template that is educational
|
4
6
|
- Why have more than one built in template? Only one is needed for testing, the rest should
|
5
7
|
be pulled from the web and made easily customizable by the users.
|
6
8
|
|
7
|
-
Completed:
|
8
|
-
- Nothing
|
9
|
+
Completed on Master:
|
10
|
+
- Nothing yet
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
** 0.0.12 **
|
15
|
+
- Feature: File mode (permissions) is now cloned from source template file's permissions to dest
|
16
|
+
- Bugfix: project names may now contain hyphens
|
17
|
+
- Feature: java project template added to best templates
|
18
|
+
- Feature: python project template added to best templates
|
19
|
+
|
20
|
+
|
9
21
|
|
10
22
|
** 0.0.11 **
|
11
23
|
- Bugfix: config[:bundler_version] was listing the version of bundlegem not bundler
|
data/config/config
CHANGED
@@ -1,4 +1,4 @@
|
|
1
1
|
# Comments made to this file will not be preserved
|
2
2
|
---
|
3
3
|
default_template: newgem
|
4
|
-
best_templates: https://github.com/TheNotary/arduino.git https://github.com/TheNotary/raspberry_pi_c.git https://github.com/TheNotary/docker_repo.git https://github.com/TheNotary/simple_frontend.git https://github.com/tymeart/node_cli
|
4
|
+
best_templates: https://github.com/TheNotary/arduino.git https://github.com/TheNotary/raspberry_pi_c.git https://github.com/TheNotary/docker_repo.git https://github.com/TheNotary/simple_frontend.git https://github.com/tymeart/node_cli https://github.com/TheNotary/java-cli-app https://github.com/TheNotary/python_library
|
data/lib/bundlegem/cli/gem.rb
CHANGED
@@ -217,10 +217,11 @@ module Bundlegem
|
|
217
217
|
content
|
218
218
|
end
|
219
219
|
|
220
|
+
original_mode = File.stat(source).mode
|
221
|
+
File.chmod(original_mode, destination)
|
220
222
|
end
|
221
223
|
|
222
224
|
|
223
|
-
|
224
225
|
#
|
225
226
|
# EDIT: Reworked from Thor to not rely on Thor (or do so much unneeded stuff)
|
226
227
|
#
|
data/lib/bundlegem/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bundlegem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TheNotary
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|