gh-push 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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/bin/gh-push +1 -1
  4. data/gh-push.gemspec +2 -2
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92033398462e0f622229664bab7efcffd2f382f7
4
- data.tar.gz: 74ee187a0144643975487c2744f9856c5884c510
3
+ metadata.gz: 043a6ef7494f27deb344d44591a71086f92557d6
4
+ data.tar.gz: 34471592e163d5ec81b56da3aa2e7553118e7641
5
5
  SHA512:
6
- metadata.gz: 321c0706da4313753dca2b630198ba6628e83c6162eb5cd01484d23db0c10ccca6bfbf872c0df56887178d19c15f2a7653fde7dcfa915342c1152912ac63cd82
7
- data.tar.gz: 9d875fd537248578063a08772c542f316d0d976694496186fc050bc60cbe250851ada04a1bd13ce1febf2188a7bd59c5a44b4a5c614aa81833a9d11518e3afef
6
+ metadata.gz: 89b0fef4ee12e0476cd52051cbeb905424e620599cee6e50ae7bbf41689fe03ed6ba2e7f415b5aa5776effa5a10665b8f5188a1f7849096763942aef528cadd1
7
+ data.tar.gz: 97505e33fab7e395d5d2b7a7cd9fda5f49e6fc627e0ec73d5ae3e2139f95b58870c9b37174de8f3399f1015050054b6fa4d2f25f56f400d99eb3776741994abc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/bin/gh-push CHANGED
@@ -31,7 +31,7 @@ files = []
31
31
  each_dir(input_dir) do |item|
32
32
  blob_sha = github.create_blob(repo, Base64.encode64(File.open(item, "r").readlines.join), "base64")
33
33
  files << ({
34
- :path => File.join(output_dir, item.split("/")[1..-1].join("/")),
34
+ :path => item.gsub(input_dir, output_dir),
35
35
  :mode => "100644",
36
36
  :type => "blob",
37
37
  :sha => blob_sha
data/gh-push.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: gh-push 0.1.1 ruby lib
5
+ # stub: gh-push 0.1.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "gh-push"
9
- s.version = "0.1.1"
9
+ s.version = "0.1.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gh-push
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
  - Igor Bonadio