squash_rails 1.3.0 → 1.3.1

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
- SHA1:
3
- data.tar.gz: cb21ef0e33a376269cfa1789384059ddc6444bee
4
- metadata.gz: 0591b9bef1196fd70ada7e20f42864b51982154c
5
2
  SHA512:
6
- data.tar.gz: a540f3c103cd1301147464e1c44ecb33532e4d0f1a1654528a38a8cb4f6bf6f58162ef1f58f7fab3758f1880f2e5b844ca5827359969ac7038b3456cefee5163
7
- metadata.gz: 7da8faaf5c2fa0499573dcb8ab03b92a1923cc85052758b974ad6e3817e929a3588aa09c4a6c4c9e24ce788d51d44ac9aa82ab8b3f7493d20a16d88c803d9798
3
+ metadata.gz: 292efef4f736b017cd741fe863ba2bc420740c6e303309c5170aa98df3bdb30fadf6763d34ccabcddee0d2d96415f8e5e1d9b84bac5fbffac8d68b0c19be6132
4
+ data.tar.gz: 2590ed7387671333f2be7289caf466ad939ba6917b77565fd5129f1abcb347d642cc048c53a8e4e6dee6614a7566b3530ccbda1b5a20a4b98780b029b9acf81d
5
+ SHA1:
6
+ metadata.gz: 0e07944883d3e450bff52c92d7b35342fdbb094f
7
+ data.tar.gz: 93977844c6808a496e972f3ca752e4da8224e5e6
data/lib/squash/rails.rb CHANGED
@@ -13,6 +13,9 @@
13
13
  # limitations under the License.
14
14
 
15
15
  require 'squash/ruby'
16
+ require 'active_support/core_ext/array'
17
+ require 'active_support/core_ext/module'
18
+
16
19
  if defined?(Rails)
17
20
  require 'squash/ruby/controller_methods'
18
21
  require 'squash/ruby/railtie'
@@ -57,7 +60,8 @@ module Squash::Ruby
57
60
  end
58
61
 
59
62
  class << self
60
- alias_method_chain :exception_info_hash, :rails
63
+ alias_method :exception_info_hash_without_rails, :exception_info_hash
64
+ alias_method :exception_info_hash, :exception_info_hash_with_rails
61
65
  end
62
66
  end
63
67
 
@@ -1,2 +1,16 @@
1
+ # Copyright 2013 Square Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
1
15
  load(File.dirname(__FILE__) + '/../../tasks/squash.cap')
2
16
 
@@ -0,0 +1,15 @@
1
+ # Copyright 2013 Square Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'squash/rails'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: squash_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Morgan
@@ -9,13 +9,13 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2013-11-26 00:00:00 Z
12
+ date: 2013-12-21 00:00:00 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime
16
16
  version_requirements: &id001 !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - &id002
18
+ - &id003
19
19
  - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: "0"
@@ -24,17 +24,19 @@ dependencies:
24
24
  requirement: *id001
25
25
  - !ruby/object:Gem::Dependency
26
26
  type: :development
27
- version_requirements: &id003 !ruby/object:Gem::Requirement
27
+ version_requirements: &id002 !ruby/object:Gem::Requirement
28
28
  requirements:
29
- - *id002
29
+ - - <
30
+ - !ruby/object:Gem::Version
31
+ version: 4.0.0
30
32
  name: rails
31
33
  prerelease: false
32
- requirement: *id003
34
+ requirement: *id002
33
35
  - !ruby/object:Gem::Dependency
34
36
  type: :development
35
37
  version_requirements: &id004 !ruby/object:Gem::Requirement
36
38
  requirements:
37
- - *id002
39
+ - *id003
38
40
  name: rspec
39
41
  prerelease: false
40
42
  requirement: *id004
@@ -42,7 +44,7 @@ dependencies:
42
44
  type: :development
43
45
  version_requirements: &id005 !ruby/object:Gem::Requirement
44
46
  requirements:
45
- - *id002
47
+ - *id003
46
48
  name: yard
47
49
  prerelease: false
48
50
  requirement: *id005
@@ -60,7 +62,7 @@ dependencies:
60
62
  type: :development
61
63
  version_requirements: &id007 !ruby/object:Gem::Requirement
62
64
  requirements:
63
- - *id002
65
+ - *id003
64
66
  name: jeweler
65
67
  prerelease: false
66
68
  requirement: *id007
@@ -85,6 +87,7 @@ files:
85
87
  - lib/squash/rails/tasks.rake
86
88
  - lib/squash/ruby/controller_methods.rb
87
89
  - lib/squash/ruby/railtie.rb
90
+ - lib/squash_rails.rb
88
91
  - lib/tasks/squash.cap
89
92
  - rails/init.rb
90
93
  homepage: http://github.com/SquareSquash/rails
@@ -99,10 +102,10 @@ require_paths:
99
102
  - lib
100
103
  required_ruby_version: !ruby/object:Gem::Requirement
101
104
  requirements:
102
- - *id002
105
+ - *id003
103
106
  required_rubygems_version: !ruby/object:Gem::Requirement
104
107
  requirements:
105
- - *id002
108
+ - *id003
106
109
  requirements: []
107
110
 
108
111
  rubyforge_project: