squash_rails 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -7
- data/lib/tasks/squash.cap +9 -3
- metadata +97 -67
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZWQ3NDNiZDhlNmI4NDY3NTI0ZmQxMDJhMDBkYjc3M2JhMmRiMDRlMQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NmM2ZjQ5YjYxZTc3ODI4NWY5YWU5M2U2MzNkMGI1ZmRiNjhjMjdhYQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NTY1MDY0YmE2MmVkMDY3ZmI1NWZjNGZjNmNkYjA2YjlhMDY2OTMyNWQwZmEz
|
10
|
+
YmYyNDg1NTY5MzJjN2M3OTUxOTk5YTgzYTQyZjU0MDNjOWIzODFmYTMzYmU1
|
11
|
+
MDIzZDc2MjVjMjAzMTJiM2QxY2ZjNzY4MTM2ZjUzM2I5MzA2Yjg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NDUzYTI0MGViYTI5YmI1YjRiNmU0MDllN2E5MTE5OTgwZDgxY2FmNjZlMzAw
|
14
|
+
MzgzYjhhNzE3N2JjNmY3ZDg3OTUyZGEzZjA3ZGUzZTg0NTgyOTc3ZjllMTNi
|
15
|
+
NmFiODhiNmU1NDVlYWJjODJjMTdhZDIxY2NiYmRmYWQ1YTVjYTI=
|
data/lib/tasks/squash.cap
CHANGED
@@ -12,16 +12,22 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
+
require 'active_support/core_ext/enumerable'
|
16
|
+
require 'active_support/core_ext/object/try'
|
17
|
+
|
15
18
|
# Capistrano tasks for Rails apps using Squash.
|
16
19
|
|
17
|
-
set :
|
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
|
23
|
+
}
|
18
24
|
|
19
25
|
namespace :squash do
|
20
26
|
# USAGE: before 'deploy:publishing', 'squash:write_revision'
|
21
27
|
desc "Writes a REVISION file to the application's root directory"
|
22
28
|
task :write_revision do
|
23
29
|
on roles(:app) do
|
24
|
-
execute %{echo "#{fetch :
|
30
|
+
execute %{echo "#{fetch :_squash_current_revision}" > #{release_path.join('REVISION')}}
|
25
31
|
end
|
26
32
|
end
|
27
33
|
|
@@ -35,7 +41,7 @@ namespace :squash do
|
|
35
41
|
else
|
36
42
|
'script/rails'
|
37
43
|
end
|
38
|
-
execute command, "runner 'Squash::Ruby.notify_deploy #{fetch(:rails_env).inspect}, #{fetch(:
|
44
|
+
execute command, "runner 'Squash::Ruby.notify_deploy #{fetch(:rails_env).inspect}, #{fetch(:_squash_current_revision).inspect}, #{Socket.gethostname.inspect}'"
|
39
45
|
end
|
40
46
|
end
|
41
47
|
end
|
metadata
CHANGED
@@ -1,81 +1,111 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: squash_rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- Tim Morgan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
type: :runtime
|
16
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- &id003
|
19
|
-
- ">="
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: "0"
|
11
|
+
date: 2014-01-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
22
14
|
name: squash_ruby
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
- !ruby/object:Gem::Version
|
31
|
-
version: 4.0.0
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
32
28
|
name: rails
|
33
|
-
|
34
|
-
|
35
|
-
-
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - <
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: !binary |-
|
34
|
+
NC4wLjA=
|
36
35
|
type: :development
|
37
|
-
version_requirements: &id004 !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- *id003
|
40
|
-
name: rspec
|
41
36
|
prerelease: false
|
42
|
-
|
43
|
-
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - <
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: !binary |-
|
42
|
+
NC4wLjA=
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: rspec
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ! '>='
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
44
50
|
type: :development
|
45
|
-
version_requirements: &id005 !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- *id003
|
48
|
-
name: yard
|
49
51
|
prerelease: false
|
50
|
-
|
51
|
-
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ! '>='
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: yard
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ! '>='
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
52
64
|
type: :development
|
53
|
-
version_requirements: &id006 !ruby/object:Gem::Requirement
|
54
|
-
requirements:
|
55
|
-
- - <
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: 3.0.0
|
58
|
-
name: redcarpet
|
59
65
|
prerelease: false
|
60
|
-
|
61
|
-
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: redcarpet
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - <
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: !binary |-
|
78
|
+
My4wLjA=
|
62
79
|
type: :development
|
63
|
-
|
64
|
-
|
65
|
-
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - <
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: !binary |-
|
86
|
+
My4wLjA=
|
87
|
+
- !ruby/object:Gem::Dependency
|
66
88
|
name: jeweler
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
type: :development
|
67
95
|
prerelease: false
|
68
|
-
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ! '>='
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '0'
|
69
101
|
description: This client library records Ruby on Rails exceptions to Squash.
|
70
102
|
email: tim@squareup.com
|
71
103
|
executables: []
|
72
|
-
|
73
104
|
extensions: []
|
74
|
-
|
75
|
-
extra_rdoc_files:
|
105
|
+
extra_rdoc_files:
|
76
106
|
- LICENSE.txt
|
77
107
|
- README.md
|
78
|
-
files:
|
108
|
+
files:
|
79
109
|
- LICENSE.txt
|
80
110
|
- README.md
|
81
111
|
- lib/squash/rails.rb
|
@@ -91,27 +121,27 @@ files:
|
|
91
121
|
- lib/tasks/squash.cap
|
92
122
|
- rails/init.rb
|
93
123
|
homepage: http://github.com/SquareSquash/rails
|
94
|
-
licenses:
|
124
|
+
licenses:
|
95
125
|
- Apache 2.0
|
96
126
|
metadata: {}
|
97
|
-
|
98
127
|
post_install_message:
|
99
128
|
rdoc_options: []
|
100
|
-
|
101
|
-
require_paths:
|
129
|
+
require_paths:
|
102
130
|
- lib
|
103
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
-
requirements:
|
105
|
-
-
|
106
|
-
|
107
|
-
|
108
|
-
|
131
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - ! '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ! '>='
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '0'
|
109
141
|
requirements: []
|
110
|
-
|
111
142
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
143
|
+
rubygems_version: 2.2.1
|
113
144
|
signing_key:
|
114
145
|
specification_version: 4
|
115
146
|
summary: Squash client for Ruby on Rails projects
|
116
147
|
test_files: []
|
117
|
-
|