squash_rails 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +5 -13
  2. data/lib/tasks/squash.cap +8 -2
  3. metadata +17 -21
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZWQ3NDNiZDhlNmI4NDY3NTI0ZmQxMDJhMDBkYjc3M2JhMmRiMDRlMQ==
5
- data.tar.gz: !binary |-
6
- NmM2ZjQ5YjYxZTc3ODI4NWY5YWU5M2U2MzNkMGI1ZmRiNjhjMjdhYQ==
2
+ SHA1:
3
+ metadata.gz: 8bdd10e8dc57b292e89be42207a5339aaa2b8c5b
4
+ data.tar.gz: 7c556cca05fdcd0985630b7c57d728a8c8611a73
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NTY1MDY0YmE2MmVkMDY3ZmI1NWZjNGZjNmNkYjA2YjlhMDY2OTMyNWQwZmEz
10
- YmYyNDg1NTY5MzJjN2M3OTUxOTk5YTgzYTQyZjU0MDNjOWIzODFmYTMzYmU1
11
- MDIzZDc2MjVjMjAzMTJiM2QxY2ZjNzY4MTM2ZjUzM2I5MzA2Yjg=
12
- data.tar.gz: !binary |-
13
- NDUzYTI0MGViYTI5YmI1YjRiNmU0MDllN2E5MTE5OTgwZDgxY2FmNjZlMzAw
14
- MzgzYjhhNzE3N2JjNmY3ZDg3OTUyZGEzZjA3ZGUzZTg0NTgyOTc3ZjllMTNi
15
- NmFiODhiNmU1NDVlYWJjODJjMTdhZDIxY2NiYmRmYWQ1YTVjYTI=
6
+ metadata.gz: 670f150a4849e2a6657daa78145ddb03f4633d59c263f83309502ac0c2b10a8a53e0dbc2cb442b26df9af4268a1f7d8a9f44fba8ef6b821ea0d41d96daf86794
7
+ data.tar.gz: 2632fab73a2860025a216feeef8140089f15b3c669633233ae8f891d231becf38cb9f4307c7f3eb9d46e76ad4bc9c2b58160d453c34a1285997bf1abe23eb480
data/lib/tasks/squash.cap CHANGED
@@ -18,8 +18,14 @@ require 'active_support/core_ext/object/try'
18
18
  # Capistrano tasks for Rails apps using Squash.
19
19
 
20
20
  set :_squash_current_revision, lambda {
21
- origin = `git ls-remote #{fetch(:repo_url)}`.chomp.lines.map { |l| l.split(/\s+/) }.index_by(&:last)
22
- origin["refs/heads/#{fetch :branch}"].try!(:first) ||`git rev-parse #{fetch :branch}`.chomp
21
+ rev = nil
22
+ on roles(:web), :limit => 1 do
23
+ within repo_path do
24
+ origin = capture("git ls-remote #{fetch(:repo_url)}").chomp.lines.map { |l| l.split(/\s+/) }.index_by(&:last)
25
+ rev = origin["refs/heads/#{fetch :branch}"].try!(:first) || capture("git rev-parse #{fetch :branch}").chomp
26
+ end
27
+ end
28
+ rev
23
29
  }
24
30
 
25
31
  namespace :squash do
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: squash_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-29 00:00:00.000000000 Z
11
+ date: 2014-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: squash_ruby
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
@@ -30,42 +30,40 @@ dependencies:
30
30
  requirements:
31
31
  - - <
32
32
  - !ruby/object:Gem::Version
33
- version: !binary |-
34
- NC4wLjA=
33
+ version: 4.0.0
35
34
  type: :development
36
35
  prerelease: false
37
36
  version_requirements: !ruby/object:Gem::Requirement
38
37
  requirements:
39
38
  - - <
40
39
  - !ruby/object:Gem::Version
41
- version: !binary |-
42
- NC4wLjA=
40
+ version: 4.0.0
43
41
  - !ruby/object:Gem::Dependency
44
42
  name: rspec
45
43
  requirement: !ruby/object:Gem::Requirement
46
44
  requirements:
47
- - - ! '>='
45
+ - - '>='
48
46
  - !ruby/object:Gem::Version
49
47
  version: '0'
50
48
  type: :development
51
49
  prerelease: false
52
50
  version_requirements: !ruby/object:Gem::Requirement
53
51
  requirements:
54
- - - ! '>='
52
+ - - '>='
55
53
  - !ruby/object:Gem::Version
56
54
  version: '0'
57
55
  - !ruby/object:Gem::Dependency
58
56
  name: yard
59
57
  requirement: !ruby/object:Gem::Requirement
60
58
  requirements:
61
- - - ! '>='
59
+ - - '>='
62
60
  - !ruby/object:Gem::Version
63
61
  version: '0'
64
62
  type: :development
65
63
  prerelease: false
66
64
  version_requirements: !ruby/object:Gem::Requirement
67
65
  requirements:
68
- - - ! '>='
66
+ - - '>='
69
67
  - !ruby/object:Gem::Version
70
68
  version: '0'
71
69
  - !ruby/object:Gem::Dependency
@@ -74,28 +72,26 @@ dependencies:
74
72
  requirements:
75
73
  - - <
76
74
  - !ruby/object:Gem::Version
77
- version: !binary |-
78
- My4wLjA=
75
+ version: 3.0.0
79
76
  type: :development
80
77
  prerelease: false
81
78
  version_requirements: !ruby/object:Gem::Requirement
82
79
  requirements:
83
80
  - - <
84
81
  - !ruby/object:Gem::Version
85
- version: !binary |-
86
- My4wLjA=
82
+ version: 3.0.0
87
83
  - !ruby/object:Gem::Dependency
88
84
  name: jeweler
89
85
  requirement: !ruby/object:Gem::Requirement
90
86
  requirements:
91
- - - ! '>='
87
+ - - '>='
92
88
  - !ruby/object:Gem::Version
93
89
  version: '0'
94
90
  type: :development
95
91
  prerelease: false
96
92
  version_requirements: !ruby/object:Gem::Requirement
97
93
  requirements:
98
- - - ! '>='
94
+ - - '>='
99
95
  - !ruby/object:Gem::Version
100
96
  version: '0'
101
97
  description: This client library records Ruby on Rails exceptions to Squash.
@@ -130,17 +126,17 @@ require_paths:
130
126
  - lib
131
127
  required_ruby_version: !ruby/object:Gem::Requirement
132
128
  requirements:
133
- - - ! '>='
129
+ - - '>='
134
130
  - !ruby/object:Gem::Version
135
131
  version: '0'
136
132
  required_rubygems_version: !ruby/object:Gem::Requirement
137
133
  requirements:
138
- - - ! '>='
134
+ - - '>='
139
135
  - !ruby/object:Gem::Version
140
136
  version: '0'
141
137
  requirements: []
142
138
  rubyforge_project:
143
- rubygems_version: 2.2.1
139
+ rubygems_version: 2.2.2
144
140
  signing_key:
145
141
  specification_version: 4
146
142
  summary: Squash client for Ruby on Rails projects