hive-toolbelt 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hive/toolbelt/cli.rb +2 -2
- data/lib/hive/toolbelt/version.rb +1 -1
- data/spec/lib/hive/toolbelt_spec.rb +2 -2
- 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: d9b7140b3c046726aff3beed97413921c2f1348e
|
4
|
+
data.tar.gz: 6ca9500e0b472ec259121662745a52367360dd67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af0711342c23aaf9751707bf521097ac12274eb649a0552e1d6a6d2586b5f4fa8d348f70343406606c5fd65d38f80367f593d07ac673edf7cd7ae5630fdca0fb
|
7
|
+
data.tar.gz: 890cf89c21478af555c8cfcf60ba0f10739f4faccfb00f8f630075b7be3fccb3d1c3b8f5c320420e2cab55d030924785627d27274844693a2d7b84e290b71db4
|
data/lib/hive/toolbelt/cli.rb
CHANGED
@@ -90,8 +90,8 @@ module Hive
|
|
90
90
|
safe_gsub_file README, /{{name}}/, config[:name]
|
91
91
|
safe_gsub_file README, /{{description}}/, config[:description]
|
92
92
|
safe_gsub_file README, /{{app_id}}/, id_for(config[:author], config[:name])
|
93
|
-
safe_gsub_file README, /{{repo_url}}/, config[:
|
94
|
-
safe_gsub_file README, /{{project_name}}/, project_name_from(config[:
|
93
|
+
safe_gsub_file README, /{{repo_url}}/, config[:repoURL]
|
94
|
+
safe_gsub_file README, /{{project_name}}/, project_name_from(config[:repoURL])
|
95
95
|
end
|
96
96
|
|
97
97
|
def safe_gsub_file filename, pattern, replacement
|
@@ -103,7 +103,7 @@ module Hive::Toolbelt
|
|
103
103
|
name: "Foo App",
|
104
104
|
description: "Super awesome foo app",
|
105
105
|
author: "Wei Lu",
|
106
|
-
|
106
|
+
repoURL: "git@github.com:hivewallet/#{project_name}.git"
|
107
107
|
}
|
108
108
|
end
|
109
109
|
let(:readme) do
|
@@ -120,7 +120,7 @@ module Hive::Toolbelt
|
|
120
120
|
it { expect(readme).to include(config[:description]) }
|
121
121
|
it { expect(readme).to include("cd #{project_name}") }
|
122
122
|
it { expect(readme).to include("ln -s ~/#{project_name}/ wei-lu.foo-app") }
|
123
|
-
it { expect(readme).to include("git clone #{config[:
|
123
|
+
it { expect(readme).to include("git clone #{config[:repoURL]}") }
|
124
124
|
end
|
125
125
|
|
126
126
|
describe '#create_license' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hive-toolbelt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wei Lu
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
|
-
rubygems_version: 2.
|
158
|
+
rubygems_version: 2.1.11
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: Command Line Interface for the Hive wallet
|