gitcopy 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: 512297a88695bce8f835dd23d786b469f5130525
4
- data.tar.gz: 5be6165236af34eedc79fe0e6664f9591c6619e4
3
+ metadata.gz: 2b6abbdaba30dcb8b8623b4c629fe2f3fc2393bd
4
+ data.tar.gz: e637e80bea67126d528bcca08ee1abf86806e394
5
5
  SHA512:
6
- metadata.gz: f491265a62d55f33bc012a554eb1118029c389b1f2499fa5b45160939da5d35c1be9eba25f1ab85543802f3575f7b35788cac1e8bfb8058e7c36433e25ccd9fc
7
- data.tar.gz: 115e4a0576e73589765da5f0c4f3951a5af14ca2517631a8b8469f571a2732a0fa4bc3131840eb27aed2f1ebfffd1d93c83d962cb6b5fded010a4576d6f70eae
6
+ metadata.gz: 9f7abca156612a2cafc8dcb9c179829919befaaffa1e1bbf47a8519f21f69d6ef0193c7a0f0754d68b87c01bfe18ad43af1e2dba48db35e89cff08cf16228da1
7
+ data.tar.gz: 2f04e48520258e85e439c03517c28c8119d2325422ce172ad01beb56f7f11f9ead0d2f73dbace70c5d9aa867b9d6b4df62c5200e144fb8404baa6ee59bad1ae5
data/README.md CHANGED
@@ -27,7 +27,7 @@ Use from the command line by running:
27
27
  Or from another ruby file by calling:
28
28
 
29
29
  ```ruby
30
- GitCopy::cloneRepo(GITHUB_REPO_URL)
30
+ GitCopy::copyRepo(GITHUB_REPO_URL)
31
31
  ```
32
32
 
33
33
  ## Development
data/bin/gitcopy CHANGED
@@ -3,4 +3,4 @@
3
3
  require 'gitcopy'
4
4
 
5
5
  repoPath = ARGV[0]
6
- GitCopy::cloneRepo(repoPath)
6
+ GitCopy::copyRepo(repoPath)
@@ -1,3 +1,3 @@
1
1
  module Gitcopy
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
data/lib/gitcopy.rb CHANGED
@@ -3,7 +3,7 @@ require "git"
3
3
  class GitCopy
4
4
  @tempDir = './temp'
5
5
 
6
- def self.cloneRepo(repoPath)
6
+ def self.copyRepo(repoPath)
7
7
  ensureValidRepo(repoPath)
8
8
  `git clone #{repoPath} #{@tempDir}`
9
9
  `rm -rf #{@tempDir}/.git`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitcopy
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
  - Matias Seijas