rails-cache-tags 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ require "bundler/setup"
2
+
3
+ require 'active_support/all'
4
+ require 'active_support/test_case'
5
+ require "active_support/core_ext"
6
+ require 'active_support/core_ext/kernel/reporting'
7
+ require 'active_support/core_ext/string/encoding'
8
+ require 'simplecov'
9
+
10
+ silence_warnings do
11
+ Encoding.default_internal = "UTF-8"
12
+ Encoding.default_external = "UTF-8"
13
+ end
14
+
15
+ def uses_memcached(test_name)
16
+ require 'memcache'
17
+ begin
18
+ MemCache.new('localhost:11211').stats
19
+ yield
20
+ rescue MemCache::MemCacheError
21
+ $stderr.puts "Skipping #{test_name} tests. Start memcached and try again."
22
+ end
23
+ end
24
+
25
+ ActiveSupport::Deprecation.debug = true
26
+
27
+ SimpleCov.start { add_filter 'test' }
28
+ require 'rails-cache-tags'
metadata ADDED
@@ -0,0 +1,138 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails-cache-tags
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Alexei Mikhailov
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-07-08 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activesupport
16
+ requirement: &80939770 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *80939770
25
+ - !ruby/object:Gem::Dependency
26
+ name: actionpack
27
+ requirement: &80939520 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *80939520
36
+ - !ruby/object:Gem::Dependency
37
+ name: minitest
38
+ requirement: &80939250 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: '3.2'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *80939250
47
+ - !ruby/object:Gem::Dependency
48
+ name: memcache-client
49
+ requirement: &80938990 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *80938990
58
+ - !ruby/object:Gem::Dependency
59
+ name: rack
60
+ requirement: &80938690 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *80938690
69
+ - !ruby/object:Gem::Dependency
70
+ name: mocha
71
+ requirement: &80938320 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *80938320
80
+ - !ruby/object:Gem::Dependency
81
+ name: simplecov
82
+ requirement: &80937860 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *80937860
91
+ description: Tagged caching support for Rails
92
+ email:
93
+ - amikhailov83@gmail.com
94
+ executables: []
95
+ extensions: []
96
+ extra_rdoc_files: []
97
+ files:
98
+ - .gitignore
99
+ - Gemfile
100
+ - LICENSE
101
+ - README.md
102
+ - Rakefile
103
+ - lib/rails-cache-tags.rb
104
+ - lib/rails/cache/tag.rb
105
+ - lib/rails/cache/tags/store.rb
106
+ - lib/rails/cache/tags/version.rb
107
+ - rails-cache-tags.gemspec
108
+ - test/cache_tags_test.rb
109
+ - test/caching_test.rb
110
+ - test/test_helper.rb
111
+ homepage: https://github.com/take-five/rails-cache-tags
112
+ licenses: []
113
+ post_install_message:
114
+ rdoc_options: []
115
+ require_paths:
116
+ - lib
117
+ required_ruby_version: !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ! '>='
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ required_rubygems_version: !ruby/object:Gem::Requirement
124
+ none: false
125
+ requirements:
126
+ - - ! '>='
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ requirements: []
130
+ rubyforge_project:
131
+ rubygems_version: 1.8.17
132
+ signing_key:
133
+ specification_version: 3
134
+ summary: Tagged caching support for Rails
135
+ test_files:
136
+ - test/cache_tags_test.rb
137
+ - test/caching_test.rb
138
+ - test/test_helper.rb