crayfish 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWFjYjBlNGFmOWNlNmM3NWI2MTA0Nzg0NjVmYzc5MWJmZDFmYTkzYw==
4
+ NzhhNmQ3ODA4MDJiMWI4NmM3YTg5Yzk1NGQyYTFkNDk4N2ZiYTAxMw==
5
5
  data.tar.gz: !binary |-
6
- MThlYzk3MDI0MzliZTBjOWQ2MGFlNDkzOTZlMDZlYTViOTlmMmI5Mg==
6
+ MTNkM2M2Mzc2MDA1ZTdjZGE0ODNiMGFlNWRjYjM3Zjg2MzZjZTZjZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDJlMjZmMGJkY2Y0Njc0ZjgxOTgxOGEzYjFkYTFmZTRiMDk5MzM0NWE1ZDRm
10
- OGI4MjE5MmYzZDcwNDk3NWFmZDQwOGU3MTczOTAxMzE1YzEyYjk1MGRiZWU1
11
- OWU5NTJiYmExNzEwMDQ1Nzk0YzUxODM3YjRlZTQ5NjhkYjg4ZGY=
9
+ OTJlYjhjYzA3OTQwNjQ2MWQ4NWJkOTIwNjRhZjM2NzFkYmRkMmNhMGM4NjIx
10
+ YTBmOTUzZTljYjg1OTVlNWNmMGY1MzI0ZTMyMWZiZGUzMGQ2ZWEyMmVmMGEx
11
+ NTE2NzgyYjU1MjIzZjgyNTA4ZDFiNDkyZTBhZjIwYjFlOTY3MTE=
12
12
  data.tar.gz: !binary |-
13
- M2EyM2M1ZTUxMDYxYTJhMzIwMDgyMTlmYTJkYTNiZDFhNzYzZmY3YjBmMDli
14
- MDU4NDc1NDZlOGZjZWMyMDE3NTU2MzU3ZmMwZmYxMzUzZTU1N2IyYzAwNDNm
15
- OGQzMWJhZTZkNWZhOTRlZDAyZGE5MWZiNDVkZmY3MGM2ZmQ2MDE=
13
+ MDczZTQxMWVhOTUzNmI2OTkyMGExOWI5MWZlMjgyMmVmOTc2NjQ4Mjk5ZTA4
14
+ YjI1ZDE1NzJhN2EzMzU3NWM1ZTQxYzMzOGQwZWQxODIzNTJkNmFiNDJlNzcx
15
+ ZTJmZTg1ODdjNjk2ZGUzM2VmZjk5ZWU1OTIxZTVjYjAxYTA4OWY=
@@ -28,7 +28,7 @@ module Crayfish
28
28
  attr_reader :options
29
29
 
30
30
  def initialize(controller)
31
- controller_options = controller ? controller.send(:options) || {} : {}
31
+ controller_options = (controller && controller.respond_to?(:options)) ? controller.send(:options) || {} : {}
32
32
  @options = Crayfish::ActionController.options.merge(Hash[*controller_options.map{ |k,v| [k.to_sym,v] }.flatten])
33
33
 
34
34
  if controller && controller.respond_to?(:response)
@@ -21,5 +21,5 @@
21
21
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
22
 
23
23
  module Crayfish
24
- VERSION = "0.2.7"
24
+ VERSION = "0.2.8"
25
25
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crayfish
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Hanevold
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-15 00:00:00.000000000 Z
11
+ date: 2014-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails