commandly 0.1.1 → 0.1.2

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: 8ea9c2ecf252e1864fbcf935b1f6157a3787db1d
4
- data.tar.gz: 85db2a757446ce87aa49382ab2d7a2af505c4f56
3
+ metadata.gz: b28287706ce467185b541e1ee1a124cf262cb0b8
4
+ data.tar.gz: 738c44f246753111e5db61993146dbe3dd7cf8df
5
5
  SHA512:
6
- metadata.gz: 06e290df4d48fa2f4bb9c98ec0c760b366b3d0db6592a4333a1a19c428b89415f571c0c8464a9238a368409d43a8ba4fed0a71fc0b525e6a549be288027352d9
7
- data.tar.gz: 3185f2b717a8a64c41b4d5d5c5f1ea3a42df1a936d4c69028af43f0e542db0c976914d7c623c066e5519c8a47726871ef30c041fa9ce3a84060f1b7c8c5760ee
6
+ metadata.gz: 39930a6e52e6db8d3614a25b8498acc81a649ae64fce22be25f329a74e78abf1df5c7ac721cae180902b49c4f812b88f749eedaaf8055e9fdfedc67a91a672e9
7
+ data.tar.gz: 5ea45eb83a0b515243ab23f62eeab6fb4af91d9e2aed6ea8f1be14f12de11dffec760c49b319a05ed8c5d6a4b3a2f77bcd2e5c724dfdf4f2fa440881bc336318
@@ -15,7 +15,8 @@ class Commandly::Generator < Thor::Group
15
15
 
16
16
  def find_replace_ios_text
17
17
  project_name = File.basename(destination_root)
18
- Dir.glob(destination_root + "/ios/**/**").each do |name|
18
+ files = Dir.glob(destination_root + "/ios/**/**")
19
+ files.each do |name|
19
20
  next if Dir.exists? name
20
21
  text = File.read(name)
21
22
  text = text.gsub("Commandly", project_name)
@@ -47,7 +48,9 @@ class Commandly::Generator < Thor::Group
47
48
 
48
49
  def find_replace_android_text
49
50
  project_name = File.basename(destination_root)
50
- Dir.glob(destination_root + "/android/**/**").each do |name|
51
+ files = Dir.glob(destination_root + "/android/**/**")
52
+ files -= Dir.glob(destination_root + "/gradle/wrapper/gradle-wrapper.jar")
53
+ files.each do |name|
51
54
  next if Dir.exists? name
52
55
  text = File.read(name)
53
56
  text = text.gsub("Commandly", project_name)
@@ -1,3 +1,3 @@
1
1
  module Commandly
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commandly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Louie Bao