redistat 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc ADDED
@@ -0,0 +1 @@
1
+ rvm gemset use redistat
@@ -1,5 +1,5 @@
1
1
  module Redistat
2
- class Result < ::ActiveSupport::HashWithIndifferentAccess
2
+ class Result < HashWithIndifferentAccess
3
3
 
4
4
  attr_accessor :from
5
5
  attr_accessor :till
@@ -1,3 +1,3 @@
1
1
  module Redistat
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
data/lib/redistat.rb CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  require 'rubygems'
3
3
  require 'active_support'
4
- require 'active_support/hash_with_indifferent_access' if !Hash.respond_to?(:with_indifferent_access) # Active Support 2.x and 3.x
4
+ require 'active_support/hash_with_indifferent_access' if !{}.respond_to?(:with_indifferent_access) # Active Support 2.x and 3.x
5
5
  require 'redis'
6
6
  require 'date'
7
7
  require 'time'
data/redistat.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
20
20
  s.require_paths = ["lib"]
21
21
 
22
- s.add_runtime_dependency 'activesupport', '>= 2.3.0'
22
+ s.add_runtime_dependency 'activesupport', '>= 2.3.6'
23
23
  s.add_runtime_dependency 'json', '>= 1.4.0'
24
24
  s.add_runtime_dependency 'redis', '>= 2.1.0'
25
25
  s.add_runtime_dependency 'time_ext', '>= 0.2.8'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redistat
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease: false
4
+ hash: 13
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Myhrberg
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-12 00:00:00 +00:00
18
+ date: 2011-02-23 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -26,12 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 3
29
+ hash: 15
30
30
  segments:
31
31
  - 2
32
32
  - 3
33
- - 0
34
- version: 2.3.0
33
+ - 6
34
+ version: 2.3.6
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
37
  - !ruby/object:Gem::Dependency
@@ -127,8 +127,8 @@ files:
127
127
  - .document
128
128
  - .gitignore
129
129
  - .rspec
130
+ - .rvmrc
130
131
  - Gemfile
131
- - Gemfile.lock
132
132
  - LICENSE
133
133
  - README.md
134
134
  - Rakefile
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  requirements: []
202
202
 
203
203
  rubyforge_project: redistat
204
- rubygems_version: 1.3.7
204
+ rubygems_version: 1.5.0
205
205
  signing_key:
206
206
  specification_version: 3
207
207
  summary: A Redis-backed statistics storage and querying library written in Ruby.
data/Gemfile.lock DELETED
@@ -1,41 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- redistat (0.0.8)
5
- activesupport (>= 2.3.0)
6
- json (>= 1.4.0)
7
- redis (>= 2.1.0)
8
- time_ext (>= 0.2.8)
9
-
10
- GEM
11
- remote: http://rubygems.org/
12
- specs:
13
- activesupport (3.0.3)
14
- diff-lcs (1.1.2)
15
- i18n (0.4.2)
16
- json (1.4.6)
17
- redis (2.1.1)
18
- rspec (2.1.0)
19
- rspec-core (~> 2.1.0)
20
- rspec-expectations (~> 2.1.0)
21
- rspec-mocks (~> 2.1.0)
22
- rspec-core (2.1.0)
23
- rspec-expectations (2.1.0)
24
- diff-lcs (~> 1.1.2)
25
- rspec-mocks (2.1.0)
26
- time_ext (0.2.8)
27
- activesupport (>= 2.3.0)
28
- i18n (>= 0.4.2)
29
- yard (0.6.3)
30
-
31
- PLATFORMS
32
- ruby
33
-
34
- DEPENDENCIES
35
- activesupport (>= 2.3.0)
36
- json (>= 1.4.0)
37
- redis (>= 2.1.0)
38
- redistat!
39
- rspec (>= 2.1.0)
40
- time_ext (>= 0.2.8)
41
- yard (>= 0.6.3)