git_breeze 0.1.0 → 0.1.1
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 +4 -4
- data/Rakefile +6 -6
- data/lib/git_breeze/version.rb +1 -1
- data/prepare-commit-msg.example +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2eadefd03078333f3df02c92e3537cf0fc960973
|
|
4
|
+
data.tar.gz: 0cfbf471c2cae9b834438374cfda27479bf20774
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52f71745791a4fe7874af22ce148ddbb83f5acf2aa170e11432e7bb96f6776f3372e2b7f553485ff2bcbb7e97472b0dba2fec39729d32f50d127f8f500d9d901
|
|
7
|
+
data.tar.gz: c5e3d8d88940480f88678c773408efc705affe20be045ac3d2c1a81dac60d893f974d3a16b17032026c6eec2d6c5111e34923293da0c88d8810648b0ec71681e
|
data/Rakefile
CHANGED
|
@@ -19,7 +19,7 @@ unless ENV['HOMEBREW_BREW_FILE']
|
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
# standalone and Homebrew
|
|
22
|
-
file 'git-
|
|
22
|
+
file 'git-breeze' => FileList.new('lib/git_breeze.rb', 'lib/git_breeze/*.rb') do |task|
|
|
23
23
|
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
|
24
24
|
require 'git_breeze/standalone'
|
|
25
25
|
GitBreeze::Standalone.save(task.name)
|
|
@@ -28,14 +28,14 @@ end
|
|
|
28
28
|
namespace :standalone do
|
|
29
29
|
|
|
30
30
|
desc 'Build standalone script'
|
|
31
|
-
task :build => 'git-
|
|
31
|
+
task :build => 'git-breeze'
|
|
32
32
|
|
|
33
33
|
desc 'Build and install standalone script'
|
|
34
34
|
task :install => 'standalone:build' do
|
|
35
35
|
prefix = ENV['PREFIX'] || ENV['prefix'] || '/usr/local'
|
|
36
36
|
|
|
37
37
|
FileUtils.mkdir_p "#{prefix}/bin"
|
|
38
|
-
FileUtils.cp 'git-
|
|
38
|
+
FileUtils.cp 'git-breeze', "#{prefix}/bin", :preserve => true
|
|
39
39
|
end
|
|
40
40
|
|
|
41
41
|
task :homebrew do
|
|
@@ -44,7 +44,7 @@ namespace :standalone do
|
|
|
44
44
|
sh 'git checkout -q master'
|
|
45
45
|
sh 'git pull -q origin master'
|
|
46
46
|
|
|
47
|
-
formula_file = 'Library/Formula/git-
|
|
47
|
+
formula_file = 'Library/Formula/git-breeze.rb'
|
|
48
48
|
sha = `curl -#L https://github.com/stevenharman/git_breeze/archive/v#{GitBreeze::VERSION}.tar.gz | shasum`.split(/\s+/).first
|
|
49
49
|
abort unless $?.success? and sha.length == 40
|
|
50
50
|
|
|
@@ -55,9 +55,9 @@ namespace :standalone do
|
|
|
55
55
|
|
|
56
56
|
branch = "git_breeze-v#{GitBreeze::VERSION}"
|
|
57
57
|
sh "git checkout -q -B #{branch}"
|
|
58
|
-
sh "git commit -m 'git-
|
|
58
|
+
sh "git commit -m 'git-breeze #{GitBreeze::VERSION}' -- #{formula_file}"
|
|
59
59
|
sh "git push -u stevenharman #{branch}"
|
|
60
|
-
sh "hub pull-request -m 'git-
|
|
60
|
+
sh "hub pull-request -m 'git-breeze #{GitBreeze::VERSION}'"
|
|
61
61
|
|
|
62
62
|
sh 'git checkout -q master'
|
|
63
63
|
end
|
data/lib/git_breeze/version.rb
CHANGED
data/prepare-commit-msg.example
CHANGED