kasket 2.2.1 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +9 -25
- data/lib/kasket/version.rb +3 -3
- data/test/helper.rb +1 -0
- data/test/parser_test.rb +1 -1
- metadata +13 -12
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
= Kasket {<img src="https://secure.travis-ci.org/
|
1
|
+
= Kasket {<img src="https://secure.travis-ci.org/zendesk/kasket.png" />}[http://travis-ci.org/zendesk/kasket]
|
2
2
|
=== Puts a cap on your queries
|
3
3
|
A caching layer for ActiveRecord (2.3.x and 3.1.x)
|
4
4
|
|
@@ -104,10 +104,10 @@ Absolutely, but cache money does so much more.
|
|
104
104
|
|
105
105
|
* Cache Money has way more features than what we need
|
106
106
|
* The Cache Money code is overly complex
|
107
|
-
* Cache
|
107
|
+
* Cache Money seems abandoned
|
108
108
|
|
109
109
|
== Note on Patches/Pull Requests
|
110
|
-
|
110
|
+
|
111
111
|
* Fork the project.
|
112
112
|
* Make your feature addition or bug fix.
|
113
113
|
* Add tests for it. This is important so I don't break it in a future version unintentionally.
|
@@ -115,29 +115,13 @@ Absolutely, but cache money does so much more.
|
|
115
115
|
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
116
116
|
* Send me a pull request. Bonus points for topic branches.
|
117
117
|
|
118
|
-
==
|
119
|
-
|
120
|
-
(The MIT License)
|
118
|
+
== Copyright and license
|
121
119
|
|
122
|
-
Copyright
|
120
|
+
Copyright 2013 Zendesk
|
123
121
|
|
124
|
-
|
125
|
-
|
126
|
-
files (the "Software"), to deal in the Software without
|
127
|
-
restriction, including without limitation the rights to use,
|
128
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
129
|
-
copies of the Software, and to permit persons to whom the
|
130
|
-
Software is furnished to do so, subject to the following
|
131
|
-
conditions:
|
122
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
123
|
+
You may obtain a copy of the License at
|
132
124
|
|
133
|
-
|
134
|
-
included in all copies or substantial portions of the Software.
|
125
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
135
126
|
|
136
|
-
|
137
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
138
|
-
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
139
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
140
|
-
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
141
|
-
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
142
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
143
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
127
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
data/lib/kasket/version.rb
CHANGED
data/test/helper.rb
CHANGED
data/test/parser_test.rb
CHANGED
@@ -61,7 +61,7 @@ class ParserTest < ActiveSupport::TestCase
|
|
61
61
|
end
|
62
62
|
|
63
63
|
should "only support queries against its model's table" do
|
64
|
-
assert !parse(:conditions => {'
|
64
|
+
assert !parse(:conditions => {'blogs.id' => 2}, :from => 'apples')
|
65
65
|
end
|
66
66
|
|
67
67
|
should "support cachable queries" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kasket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2013-02-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
@@ -103,17 +103,17 @@ dependencies:
|
|
103
103
|
requirement: !ruby/object:Gem::Requirement
|
104
104
|
none: false
|
105
105
|
requirements:
|
106
|
-
- -
|
106
|
+
- - ! '>='
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: 0
|
108
|
+
version: '0'
|
109
109
|
type: :development
|
110
110
|
prerelease: false
|
111
111
|
version_requirements: !ruby/object:Gem::Requirement
|
112
112
|
none: false
|
113
113
|
requirements:
|
114
|
-
- -
|
114
|
+
- - ! '>='
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 0
|
116
|
+
version: '0'
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: test-unit
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -121,7 +121,7 @@ dependencies:
|
|
121
121
|
requirements:
|
122
122
|
- - ~>
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 2.5
|
124
|
+
version: '2.5'
|
125
125
|
type: :development
|
126
126
|
prerelease: false
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -129,7 +129,7 @@ dependencies:
|
|
129
129
|
requirements:
|
130
130
|
- - ~>
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: 2.5
|
132
|
+
version: '2.5'
|
133
133
|
description: puts a cap on your queries
|
134
134
|
email:
|
135
135
|
- mick@zendesk.com
|
@@ -169,8 +169,9 @@ files:
|
|
169
169
|
- test/test_models.rb
|
170
170
|
- test/transaction_test.rb
|
171
171
|
- test/visitor_test.rb
|
172
|
-
homepage: http://github.com/
|
173
|
-
licenses:
|
172
|
+
homepage: http://github.com/zendesk/kasket
|
173
|
+
licenses:
|
174
|
+
- Apache License Version 2.0
|
174
175
|
post_install_message:
|
175
176
|
rdoc_options: []
|
176
177
|
require_paths:
|
@@ -183,7 +184,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
184
|
version: '0'
|
184
185
|
segments:
|
185
186
|
- 0
|
186
|
-
hash: -
|
187
|
+
hash: -2318002147869765262
|
187
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
188
189
|
none: false
|
189
190
|
requirements:
|
@@ -192,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
193
|
version: '0'
|
193
194
|
segments:
|
194
195
|
- 0
|
195
|
-
hash: -
|
196
|
+
hash: -2318002147869765262
|
196
197
|
requirements: []
|
197
198
|
rubyforge_project:
|
198
199
|
rubygems_version: 1.8.24
|