lazy_crud 0.9.5 → 0.9.6

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
2
  SHA1:
3
- metadata.gz: 8947aabdd399ff631d4880d675bce69adf90a9cf
4
- data.tar.gz: f134362d5c4ef9323bffe84aaa63d92cf95c0465
3
+ metadata.gz: fb90c5ca728cc7bc0147d150d5bea0f9eac2cc49
4
+ data.tar.gz: 533bcdae4b935549a8e80d177db9924905a61248
5
5
  SHA512:
6
- metadata.gz: c7e2ed7c6f56685fd07c097bc79c2b34d366715d622aab424560a7ceb6e007da961d1ccd0b815def8cc7d1c908d43ee50e4cabe42de09f384cf963208eb8da73
7
- data.tar.gz: 0710b4bf1144a3ecda181050e8e8db5da0a1575425d6f1bb4d5eec21b1c779c434ee247c3f4d74a999fd5b8f0f35d3ead811df086d81c0bed16f2eeb7309a8c9
6
+ metadata.gz: 9d4de6e7b68424f1f9e46aa72466698f38a50ad379066956026e6f9bf1cad9cb0745dfad98c098f2ff366db3ccb62f1eb16951e1895d53282ece1ab6c629ef6a
7
+ data.tar.gz: 88afd24e57df1da42a82bc3935fe4852874cf4fce0006b64451c24d6dcb0152ab48e5e9d03c501f2447a940fa0aae27b15b35eaf5742e0f599115854949f4d1f
data/Gemfile.lock CHANGED
@@ -9,36 +9,36 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionmailer (4.2.1)
13
- actionpack (= 4.2.1)
14
- actionview (= 4.2.1)
15
- activejob (= 4.2.1)
12
+ actionmailer (4.2.2)
13
+ actionpack (= 4.2.2)
14
+ actionview (= 4.2.2)
15
+ activejob (= 4.2.2)
16
16
  mail (~> 2.5, >= 2.5.4)
17
17
  rails-dom-testing (~> 1.0, >= 1.0.5)
18
- actionpack (4.2.1)
19
- actionview (= 4.2.1)
20
- activesupport (= 4.2.1)
18
+ actionpack (4.2.2)
19
+ actionview (= 4.2.2)
20
+ activesupport (= 4.2.2)
21
21
  rack (~> 1.6)
22
22
  rack-test (~> 0.6.2)
23
23
  rails-dom-testing (~> 1.0, >= 1.0.5)
24
24
  rails-html-sanitizer (~> 1.0, >= 1.0.1)
25
- actionview (4.2.1)
26
- activesupport (= 4.2.1)
25
+ actionview (4.2.2)
26
+ activesupport (= 4.2.2)
27
27
  builder (~> 3.1)
28
28
  erubis (~> 2.7.0)
29
29
  rails-dom-testing (~> 1.0, >= 1.0.5)
30
30
  rails-html-sanitizer (~> 1.0, >= 1.0.1)
31
- activejob (4.2.1)
32
- activesupport (= 4.2.1)
31
+ activejob (4.2.2)
32
+ activesupport (= 4.2.2)
33
33
  globalid (>= 0.3.0)
34
- activemodel (4.2.1)
35
- activesupport (= 4.2.1)
34
+ activemodel (4.2.2)
35
+ activesupport (= 4.2.2)
36
36
  builder (~> 3.1)
37
- activerecord (4.2.1)
38
- activemodel (= 4.2.1)
39
- activesupport (= 4.2.1)
37
+ activerecord (4.2.2)
38
+ activemodel (= 4.2.2)
39
+ activesupport (= 4.2.2)
40
40
  arel (~> 6.0)
41
- activesupport (4.2.1)
41
+ activesupport (4.2.2)
42
42
  i18n (~> 0.7)
43
43
  json (~> 1.7, >= 1.7.7)
44
44
  minitest (~> 5.1)
@@ -64,18 +64,18 @@ GEM
64
64
  globalid (0.3.5)
65
65
  activesupport (>= 4.1.0)
66
66
  i18n (0.7.0)
67
- json (1.8.2)
67
+ json (1.8.3)
68
68
  loofah (2.0.2)
69
69
  nokogiri (>= 1.5.9)
70
70
  mail (2.6.3)
71
71
  mime-types (>= 1.16, < 3)
72
72
  method_source (0.8.2)
73
- mime-types (2.5)
73
+ mime-types (2.6.1)
74
74
  mini_portile (0.6.2)
75
- minitest (5.6.1)
75
+ minitest (5.7.0)
76
76
  nokogiri (1.6.6.2)
77
77
  mini_portile (~> 0.6.0)
78
- paranoia (2.1.2)
78
+ paranoia (2.1.3)
79
79
  activerecord (~> 4.0)
80
80
  pry (0.10.1)
81
81
  coderay (~> 1.1.0)
@@ -84,19 +84,19 @@ GEM
84
84
  pry-byebug (3.1.0)
85
85
  byebug (~> 4.0)
86
86
  pry (~> 0.10)
87
- rack (1.6.1)
87
+ rack (1.6.4)
88
88
  rack-test (0.6.3)
89
89
  rack (>= 1.0)
90
- rails (4.2.1)
91
- actionmailer (= 4.2.1)
92
- actionpack (= 4.2.1)
93
- actionview (= 4.2.1)
94
- activejob (= 4.2.1)
95
- activemodel (= 4.2.1)
96
- activerecord (= 4.2.1)
97
- activesupport (= 4.2.1)
90
+ rails (4.2.2)
91
+ actionmailer (= 4.2.2)
92
+ actionpack (= 4.2.2)
93
+ actionview (= 4.2.2)
94
+ activejob (= 4.2.2)
95
+ activemodel (= 4.2.2)
96
+ activerecord (= 4.2.2)
97
+ activesupport (= 4.2.2)
98
98
  bundler (>= 1.3.0, < 2.0)
99
- railties (= 4.2.1)
99
+ railties (= 4.2.2)
100
100
  sprockets-rails
101
101
  rails-deprecated_sanitizer (1.0.3)
102
102
  activesupport (>= 4.2.0.alpha)
@@ -106,44 +106,44 @@ GEM
106
106
  rails-deprecated_sanitizer (>= 1.0.1)
107
107
  rails-html-sanitizer (1.0.2)
108
108
  loofah (~> 2.0)
109
- railties (4.2.1)
110
- actionpack (= 4.2.1)
111
- activesupport (= 4.2.1)
109
+ railties (4.2.2)
110
+ actionpack (= 4.2.2)
111
+ activesupport (= 4.2.2)
112
112
  rake (>= 0.8.7)
113
113
  thor (>= 0.18.1, < 2.0)
114
114
  rake (10.4.2)
115
115
  responders (2.1.0)
116
116
  railties (>= 4.2.0, < 5)
117
- rspec (3.2.0)
118
- rspec-core (~> 3.2.0)
119
- rspec-expectations (~> 3.2.0)
120
- rspec-mocks (~> 3.2.0)
121
- rspec-core (3.2.3)
122
- rspec-support (~> 3.2.0)
123
- rspec-expectations (3.2.1)
117
+ rspec (3.3.0)
118
+ rspec-core (~> 3.3.0)
119
+ rspec-expectations (~> 3.3.0)
120
+ rspec-mocks (~> 3.3.0)
121
+ rspec-core (3.3.1)
122
+ rspec-support (~> 3.3.0)
123
+ rspec-expectations (3.3.0)
124
124
  diff-lcs (>= 1.2.0, < 2.0)
125
- rspec-support (~> 3.2.0)
126
- rspec-mocks (3.2.1)
125
+ rspec-support (~> 3.3.0)
126
+ rspec-mocks (3.3.0)
127
127
  diff-lcs (>= 1.2.0, < 2.0)
128
- rspec-support (~> 3.2.0)
129
- rspec-rails (3.2.1)
128
+ rspec-support (~> 3.3.0)
129
+ rspec-rails (3.3.2)
130
130
  actionpack (>= 3.0, < 4.3)
131
131
  activesupport (>= 3.0, < 4.3)
132
132
  railties (>= 3.0, < 4.3)
133
- rspec-core (~> 3.2.0)
134
- rspec-expectations (~> 3.2.0)
135
- rspec-mocks (~> 3.2.0)
136
- rspec-support (~> 3.2.0)
137
- rspec-support (3.2.2)
133
+ rspec-core (~> 3.3.0)
134
+ rspec-expectations (~> 3.3.0)
135
+ rspec-mocks (~> 3.3.0)
136
+ rspec-support (~> 3.3.0)
137
+ rspec-support (3.3.0)
138
138
  simplecov (0.10.0)
139
139
  docile (~> 1.1.0)
140
140
  json (~> 1.8)
141
141
  simplecov-html (~> 0.10.0)
142
142
  simplecov-html (0.10.0)
143
143
  slop (3.6.0)
144
- sprockets (3.0.3)
144
+ sprockets (3.2.0)
145
145
  rack (~> 1.0)
146
- sprockets-rails (2.3.0)
146
+ sprockets-rails (2.3.1)
147
147
  actionpack (>= 3.0)
148
148
  activesupport (>= 3.0)
149
149
  sprockets (>= 2.8, < 4.0)
data/README.md CHANGED
@@ -90,6 +90,14 @@ Available CRUD-hooks are: `before_create`, `before_update`, `before_destroy`
90
90
 
91
91
  Each hook can be called multiple times, and they will be invoked in the order they were defined. If the `def` method is used, it will be invoked last.
92
92
 
93
+ ### Overridng
94
+
95
+ If you really don't want any default functionality, you can always override
96
+
97
+ def index
98
+ @raffles = @event.raffles.with_deleted
99
+ end
100
+
93
101
  ## Contributing
94
102
 
95
103
  1. Fork the project
@@ -1,3 +1,3 @@
1
1
  module LazyCrud
2
- VERSION = "0.9.5"
2
+ VERSION = "0.9.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazy_crud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - L. Preston Sego III
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-12 00:00:00.000000000 Z
11
+ date: 2015-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -316,7 +316,7 @@ rubyforge_project:
316
316
  rubygems_version: 2.4.6
317
317
  signing_key:
318
318
  specification_version: 4
319
- summary: LazyCrud-0.9.5
319
+ summary: LazyCrud-0.9.6
320
320
  test_files:
321
321
  - spec/integration/discounts_controller_spec.rb
322
322
  - spec/integration/events_controller_spec.rb