git-whistles 1.1.1 → 1.1.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: 87996c40ec0e8b2b61588e2d12335de5963e5c59
4
- data.tar.gz: 82e9c8d08e76cbd9d9f083daebb6ceb067e44e35
3
+ metadata.gz: 94cb6419cb997c4074e4d5a28e93a9f55c1f752a
4
+ data.tar.gz: f1138495b7be788d07ebfe7cf99e5d02271849fc
5
5
  SHA512:
6
- metadata.gz: 5b8922895876a447737931ff47f7bfe5bb492d5f2db89c1108631c60cc488e2c66a75aa929f42ca640a29ff311b816705cc51f223f2b3cf92c02deb7ec3a53e7
7
- data.tar.gz: 66bb0f204cf4da2cd7ed47dc91df475ed8b05da373e55847a89ce4eb5812923cfba872aaefd7528a5884a82b5c89480537408708813eb51ae67ee9b9edb9ada4
6
+ metadata.gz: beaff4f99639555a1aad33b50bfeed2114921f64b0d129ba8be6b10010af97ec0cab6f2fc747ec2d6be81004a46f7810c06dadcf5474617f8f0976abf360c432
7
+ data.tar.gz: 60b2444c500a3afc16742d83d972fc4fa783624da8a1ada4a2ed4fe56624dd95a316f7413b969c1437e9930d12640e5e73b2e7872804cf7fb18dde7b85afd00a
@@ -1 +1 @@
1
- ../libexec/runner.rb
1
+ git-whistles
@@ -1 +1 @@
1
- ../libexec/runner.rb
1
+ git-whistles
@@ -1 +1 @@
1
- ../libexec/runner.rb
1
+ git-whistles
@@ -1 +1 @@
1
- ../libexec/runner.rb
1
+ git-whistles
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ # encoding: UTF-8
3
+ #
4
+ # git-whistles --
5
+ #
6
+ # Runner for shell scripts in libexec
7
+ #
8
+ require 'rubygems'
9
+ require 'git-whistles'
10
+
11
+ script = File.basename(__FILE__)
12
+ exec Git::Whistles::GEMDIR.join("libexec/#{script}.sh").cleanpath.to_s, *ARGV
13
+
@@ -4,7 +4,7 @@ require 'pathname'
4
4
 
5
5
  module Git
6
6
  module Whistles
7
- VERSION = "1.1.1"
7
+ VERSION = "1.1.2"
8
8
  GEMDIR = Pathname.new(__FILE__).parent.parent.parent
9
9
  end
10
10
  end
@@ -0,0 +1,4 @@
1
+ #!/bin/sh
2
+ echo "This command does nothing."
3
+ echo "Called with: $@"
4
+ exit 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-whistles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Letessier
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-19 00:00:00.000000000 Z
12
+ date: 2016-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -141,6 +141,7 @@ executables:
141
141
  - git-pivotal-pr
142
142
  - git-select
143
143
  - git-stash-and-checkout
144
+ - git-whistles
144
145
  extensions: []
145
146
  extra_rdoc_files: []
146
147
  files:
@@ -166,6 +167,7 @@ files:
166
167
  - bin/git-pivotal-pr
167
168
  - bin/git-select
168
169
  - bin/git-stash-and-checkout
170
+ - bin/git-whistles
169
171
  - git-whistles.gemspec
170
172
  - lib/git-whistles.rb
171
173
  - lib/git-whistles/app.rb
@@ -177,7 +179,7 @@ files:
177
179
  - libexec/git-list-branches.sh
178
180
  - libexec/git-merge-po.sh
179
181
  - libexec/git-stash-and-checkout.sh
180
- - libexec/runner.rb
182
+ - libexec/git-whistles.sh
181
183
  - spec/data/base.po
182
184
  - spec/data/local.po
183
185
  - spec/data/remote.po
@@ -203,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
203
205
  version: 1.3.6
204
206
  requirements: []
205
207
  rubyforge_project:
206
- rubygems_version: 2.6.4
208
+ rubygems_version: 2.5.1
207
209
  signing_key:
208
210
  specification_version: 4
209
211
  summary: 'A few helpers for classic Git workflows: makes branching and merging, PO
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # encoding: UTF-8
3
- #
4
- # runner.rb --
5
- #
6
- # Run shell scripts from a gem.
7
- # Symlink to this script to run a script with the same name living in
8
- # libexec/.
9
- #
10
- require 'pathname'
11
- require 'rubygems'
12
- require 'git-whistles'
13
-
14
- target_script = Pathname.new($0).basename
15
- script_path = Git::Whistles::GEMDIR.join('libexec', "#{target_script}.sh").cleanpath.to_s
16
-
17
- Kernel.exec script_path, *ARGV