curtains 1.0.0 → 1.0.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
- metadata.gz: 97d7f5bf6f31c730a42513db42d91d0f173651b8
4
- data.tar.gz: bd15448ec98de9cb735e7a248b57f2305a51217a
2
+ SHA256:
3
+ metadata.gz: '09193808c22ebfaf4cdad218954ffe395310ebd464f8dfbbb495c2792988a710'
4
+ data.tar.gz: 7e4e4146ce3439814a0f8e7e59725984bd6fbc86b408546af8c7e9ddee51660b
5
5
  SHA512:
6
- metadata.gz: 2a31e5c9e620b071c5651b3560c891e66d23b498540b34d7f0eb8846a5fd9965cd65efcbe528a5024a9706fff40db55c6ef4d334d90ec9b93e1e200141c5a583
7
- data.tar.gz: 70dc130b362e198a52bde61f35dae36292db4e3cfda1337ade44d6af55a5feeef8918099cf064eaf274b2a3ed60ecbf17b6316dadf88910e3e473b64632836f3
6
+ metadata.gz: 0cbd681d625c49ae167c1f19584d6efb8a214759fe4f23c9a7b5f7523e1a5eb9b39f9c1d60430915ced6cf1c1b3c5d2e1a33457ea254b3c96d7234e1dc8339c1
7
+ data.tar.gz: fac8693c7cd5256d00d5074a7fe09e1a81eabbb59f16a1092dd6dcec5b93119c61d8de677ed81b2432348484655a13f565eda8f6179513d54595d85fcfb203ab
@@ -3,9 +3,17 @@ module Curtains
3
3
  extend ActiveSupport::Concern
4
4
 
5
5
  included do
6
- alias_method_chain :resource, :decoration
7
- alias_method_chain :build_resource, :decoration
8
- alias_method_chain :collection, :decoration
6
+ # alias_method_chain :resource, :decoration
7
+ alias_method :resource_without_decoration, :resource
8
+ alias_method :resource, :resource_with_decoration
9
+
10
+ # alias_method_chain :build_resource, :decoration
11
+ alias_method :build_resource_without_decoration, :build_resource
12
+ alias_method :build_resource, :build_resource_with_decoration
13
+
14
+ # alias_method_chain :collection, :decoration
15
+ alias_method :collection_without_decoration, :collection
16
+ alias_method :collection, :collection_with_decoration
9
17
  end
10
18
 
11
19
 
@@ -1,3 +1,4 @@
1
1
  module Curtains
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
4
+
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: curtains
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Hogan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-30 00:00:00.000000000 Z
11
+ date: 2019-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
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: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  description: Simple model decorators for Rails 4
@@ -45,7 +45,7 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - .gitignore
48
+ - ".gitignore"
49
49
  - Gemfile
50
50
  - LICENSE.txt
51
51
  - README.md
@@ -65,17 +65,16 @@ require_paths:
65
65
  - lib
66
66
  required_ruby_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - '>='
68
+ - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  requirements: []
77
- rubyforge_project:
78
- rubygems_version: 2.1.10
77
+ rubygems_version: 3.0.3
79
78
  signing_key:
80
79
  specification_version: 4
81
80
  summary: Simple model decorators for Rails 4