bundlegem 0.0.11 → 0.0.12

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
  SHA1:
3
- metadata.gz: 4653baa15159f5c49ff9050e4897dfb699c79240
4
- data.tar.gz: ba6d9857b7f9929b17f21b1ce84422688ab9b0e9
3
+ metadata.gz: 95799e3e692c74a35d6d78a52c83b235405a999a
4
+ data.tar.gz: 302468f2dcc5f39126cb0edc3733145c95bab10a
5
5
  SHA512:
6
- metadata.gz: e6fb4e106aa18111119bbfbf1710be787e42faa5e90342b4fc5d6b30162e027c45704e56f5ab0913300a19f4666522bdf5d626c95c6fa3486d7224342b50d65e
7
- data.tar.gz: 71b9d64dc3d67e9f0175414b2b376669d5f82ba940e460a7ff151a451e9b262d661d3c6c44c4f87db1a2cc6f7094345e9403d9e21e3be425a9cf304f83693ebe
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.include?("-") # this must be what they want as the gem_name
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 Yet
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
@@ -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
  #
@@ -1,3 +1,3 @@
1
1
  module Bundlegem
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
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.11
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-05-28 00:00:00.000000000 Z
11
+ date: 2017-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor