infopark_component_cache 3.1.0 → 3.1.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
2
  SHA1:
3
- metadata.gz: 97f5a401ded8bb31c5e7539f39bdb7686fbbbb69
4
- data.tar.gz: 99d9b252e0e9b37b03c17aac61753a354d4d3b27
3
+ metadata.gz: 6b4392ee6936a3806cff0347f582f57cbfeed28e
4
+ data.tar.gz: d1641f2c87d92a1035982d5aa50e3f7ec484c9d4
5
5
  SHA512:
6
- metadata.gz: f4b0472ea662483d07b9d21b45c2be93e056a7cb76bf09f2b7b56423b0a4d00b93469c6a6babecfc79b1d2485aa38356765fbe46222c93518f2d9eefd249b38b
7
- data.tar.gz: 5b7b9f4e4d36c41e35b87ef8382d72ed7ecec73d39de1f7cb01155444131848d19d5093c3dd6d12adf34512139e9d02053748529d3f7a3da0c1ca74bb5e2158e
6
+ metadata.gz: 6c9ea046714f55daa41050585391eb9a44261805db03412909dced82ddbf0a57a4f304a9395c21e256673edf7f15770d00b339bc211b2f156370753913ba4ba7
7
+ data.tar.gz: de631a47a2da04432a2f5e9b8b69f75bab7c02f64f0026e0d54041705927fd88e0d244263ab88baea946861931409df931a56082b4bcae5ec46467e4c9d7c74e
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ spec/dummy/log/test.log
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.2.5
1
+ 2.4.2
@@ -6,18 +6,19 @@ require 'infopark_component_cache/version'
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "infopark_component_cache"
8
8
  gem.version = InfoparkComponentCache::VERSION
9
- gem.authors = ["Tomasz Przedmojski"]
9
+ gem.authors = ["Tomasz Przedmojski, sveninfo"]
10
10
  gem.email = ["tomasz.przedmojski@infopark.de"]
11
11
  gem.description = %q{Easy and intelligent fragment caching for RailsConnector projects}
12
12
  gem.summary = %q{Fragment caching with automatic dependency resolution and cache invalidation.}
13
13
  gem.homepage = ""
14
+ gem.license = "Nonstandard"
14
15
 
15
16
  gem.files = `git ls-files`.split($/)
16
17
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
19
  gem.require_paths = ["lib"]
19
20
 
20
- gem.add_dependency 'rails', '~> 4.2.6'
21
+ gem.add_dependency 'rails', '< 5.0'
21
22
 
22
23
  gem.add_dependency 'infopark_fiona_connector'
23
24
 
@@ -18,7 +18,7 @@ module InfoparkComponentCache
18
18
 
19
19
  # @return true if obj count can be read from cache with {#cache_key}
20
20
  def count_known?
21
- cache.exist?(cache_key) && cache.read(cache_key).kind_of?(Fixnum)
21
+ cache.exist?(cache_key) && cache.read(cache_key).kind_of?(Integer)
22
22
  end
23
23
 
24
24
  # @return true if no obj has been deleted or added since last {#guard!}
@@ -31,7 +31,7 @@ module InfoparkComponentCache
31
31
  component.cache_key('obj_count')
32
32
  end
33
33
 
34
- # @return [Fixnum] the number of Objs in the database
34
+ # @return [Integer] the number of Objs in the database
35
35
  def current_count
36
36
  scoped_relation.count
37
37
  end
@@ -1,3 +1,3 @@
1
1
  module InfoparkComponentCache
2
- VERSION = "3.1.0"
2
+ VERSION = "3.1.1"
3
3
  end
@@ -1,2 +1,3 @@
1
1
  Dummy::Application.configure do
2
+ config.eager_load = false
2
3
  end
@@ -1,3 +1,4 @@
1
1
  Dummy::Application.configure do
2
2
  config.cache_store = :memory_store
3
+ config.eager_load = false
3
4
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infopark_component_cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Tomasz Przedmojski
7
+ - Tomasz Przedmojski, sveninfo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-15 00:00:00.000000000 Z
11
+ date: 2017-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.6
19
+ version: '5.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - "<"
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.6
26
+ version: '5.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: infopark_fiona_connector
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -148,7 +148,8 @@ files:
148
148
  - spec/spec_helper.rb
149
149
  - spec/support/cache_switching_macros.rb
150
150
  homepage: ''
151
- licenses: []
151
+ licenses:
152
+ - Nonstandard
152
153
  metadata: {}
153
154
  post_install_message:
154
155
  rdoc_options: []
@@ -166,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
167
  version: '0'
167
168
  requirements: []
168
169
  rubyforge_project:
169
- rubygems_version: 2.4.5.1
170
+ rubygems_version: 2.6.14
170
171
  signing_key:
171
172
  specification_version: 4
172
173
  summary: Fragment caching with automatic dependency resolution and cache invalidation.