creategem 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36c663b0844c510d4a4a29c5a15afd06f03f9673
4
- data.tar.gz: c3db83d670618fe2cf196f247287c045c4395554
3
+ metadata.gz: 02f709f2e6f9d06dfc9b48cf8b458cb9f4ad39cd
4
+ data.tar.gz: c3247525228542742ae95d41a7830696a10a2f99
5
5
  SHA512:
6
- metadata.gz: 7cf9e8df78b15f60b134075f6b50688c359340461bd6eb7a081c9ad4142b8c763876422ebb76e500ab7d947d4af7a13175aa7c3ef109b616dacbcde414aee8b0
7
- data.tar.gz: b353396a1dbe192785044df36539aed80ffb7fdf9fd239dc842fa10a1f67c1b6a1152d62d586b30925d6a8db34d4dca773bd1d51a96d22175a191decd9636d84
6
+ metadata.gz: 059a64c82767fc4bc44797ccd3badb616f933c2f0c71e94aac00627bfe38d942a69a859ca40bb2b29a2a8d6444e9385c34cc867796d4b9be20de51d010d12ade
7
+ data.tar.gz: 3f7677b4bba514dd5127a277b94505256ebf2eeb7658c4f3989dcca2c91f1801c2bd5338ea8676bb5294c5bd7312f039caa1b0f545e5c028fa4f3eb11c54a80a
data/lib/creategem/git.rb CHANGED
@@ -15,7 +15,7 @@ module Creategem
15
15
  say "Create remote #{repository.vendor} repository", :green
16
16
  if repository.github?
17
17
  token = ask("What is yout Github personal access token?")
18
- run "curl --request POST --user #{repository.user}:#{token} https://api.github.com/user/repos --data name=#{repository.name} --data private=#{repository.private?}"
18
+ run "curl --request POST --user #{repository.user}:#{token} https://api.github.com/user/repos -d '{\"name\":\"#{repository.name}\", \"private\":\"#{repository.private}\"}'"
19
19
  else # bitbucket
20
20
  run "curl --request POST --user #{repository.user} https://api.bitbucket.org/1.0/repositories/ --data name=#{repository.name} --data scm=git --data is_private=#{repository.private}"
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module Creategem
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
@@ -1,5 +1,7 @@
1
+ <% unless @repository.private? -%>
1
2
  require 'coveralls'
2
3
  Coveralls.wear!
4
+ <% end %>
3
5
 
4
6
  <% unless @plugin -%>
5
7
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: creategem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Jancev