redness 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  *.gem
2
+ tmp/*
data/Rakefile ADDED
@@ -0,0 +1,17 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'rake'
5
+ require 'rspec/core'
6
+ require 'rspec/core/rake_task'
7
+
8
+ RSpec::Core::RakeTask.new(:spec) do |spec|
9
+ spec.pattern = FileList['spec/**/*_spec.rb']
10
+ end
11
+
12
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
13
+ spec.pattern = 'spec/**/*_spec.rb'
14
+ spec.rcov = true
15
+ end
16
+
17
+ task :default => :spec
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Redness
2
- VERSION="0.0.1"
2
+ VERSION="0.0.2"
3
3
  MAJOR, MINOR, TINY = VERSION.split(".")
4
4
  end
data/redness.gemspec CHANGED
@@ -4,14 +4,14 @@ require "version"
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "redness"
6
6
  s.version = Redness::VERSION
7
- s.authors = %w(
8
- Baldur Gudbjornsson
9
- Matt Vermaak
10
- Bryan Woods
11
- Kenneth Lay
12
- Marco Carag
13
- Conner Peirce
14
- )
7
+ s.authors = [
8
+ "Baldur Gudbjornsson",
9
+ "Matt Vermaak",
10
+ "Bryan Woods",
11
+ "Kenneth Lay",
12
+ "Marco Carag",
13
+ "Conner Peirce"
14
+ ]
15
15
  s.email = "dev@howaboutwe.com"
16
16
  s.summary = "Helpful Ruby classes for improved Redis data structures"
17
17
  s.description = "Helpful Ruby classes for improved Redis data structures"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.files = `git ls-files`.split("\n")
21
21
  s.add_dependency "rspec"
22
22
  s.add_dependency "redis", "~> 2.2.2"
23
- s.add_dependency "active_support"
23
+ s.add_dependency "activesupport"
24
24
  s.add_dependency "timecop"
25
25
  s.require_paths = ["lib"]
26
26
  end
data/spec/redis_runner.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  class RedisRunner
2
2
  def self.start
3
3
  fork do
4
- `cd tmp && echo port #{port} | redis-server -`
4
+ `mkdir -p tmp && cd tmp && echo port #{port} | redis-server -`
5
5
  at_exit { exit! }
6
6
  end
7
7
  end
@@ -13,7 +13,7 @@ class RedisRunner
13
13
  end
14
14
 
15
15
  def self.up?
16
- system("redis-cli -h #{host} -p #{port} 'INFO' 2&>1 > /dev/null")
16
+ system("redis-cli -h #{host} -p #{port} 'INFO' 2&> /dev/null")
17
17
  $? == 0
18
18
  end
19
19
 
metadata CHANGED
@@ -1,30 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
- - Baldur
9
- - Gudbjornsson
10
- - Matt
11
- - Vermaak
12
- - Bryan
13
- - Woods
14
- - Kenneth
15
- - Lay
16
- - Marco
17
- - Carag
18
- - Conner
19
- - Peirce
8
+ - Baldur Gudbjornsson
9
+ - Matt Vermaak
10
+ - Bryan Woods
11
+ - Kenneth Lay
12
+ - Marco Carag
13
+ - Conner Peirce
20
14
  autorequire:
21
15
  bindir: bin
22
16
  cert_chain: []
23
- date: 2012-04-13 00:00:00.000000000Z
17
+ date: 2012-04-20 00:00:00.000000000Z
24
18
  dependencies:
25
19
  - !ruby/object:Gem::Dependency
26
20
  name: rspec
27
- requirement: &70292141275900 !ruby/object:Gem::Requirement
21
+ requirement: &70145297776720 !ruby/object:Gem::Requirement
28
22
  none: false
29
23
  requirements:
30
24
  - - ! '>='
@@ -32,10 +26,10 @@ dependencies:
32
26
  version: '0'
33
27
  type: :runtime
34
28
  prerelease: false
35
- version_requirements: *70292141275900
29
+ version_requirements: *70145297776720
36
30
  - !ruby/object:Gem::Dependency
37
31
  name: redis
38
- requirement: &70292141296880 !ruby/object:Gem::Requirement
32
+ requirement: &70145297776220 !ruby/object:Gem::Requirement
39
33
  none: false
40
34
  requirements:
41
35
  - - ~>
@@ -43,10 +37,10 @@ dependencies:
43
37
  version: 2.2.2
44
38
  type: :runtime
45
39
  prerelease: false
46
- version_requirements: *70292141296880
40
+ version_requirements: *70145297776220
47
41
  - !ruby/object:Gem::Dependency
48
- name: active_support
49
- requirement: &70292141296460 !ruby/object:Gem::Requirement
42
+ name: activesupport
43
+ requirement: &70145297775800 !ruby/object:Gem::Requirement
50
44
  none: false
51
45
  requirements:
52
46
  - - ! '>='
@@ -54,10 +48,10 @@ dependencies:
54
48
  version: '0'
55
49
  type: :runtime
56
50
  prerelease: false
57
- version_requirements: *70292141296460
51
+ version_requirements: *70145297775800
58
52
  - !ruby/object:Gem::Dependency
59
53
  name: timecop
60
- requirement: &70292141296000 !ruby/object:Gem::Requirement
54
+ requirement: &70145297775340 !ruby/object:Gem::Requirement
61
55
  none: false
62
56
  requirements:
63
57
  - - ! '>='
@@ -65,7 +59,7 @@ dependencies:
65
59
  version: '0'
66
60
  type: :runtime
67
61
  prerelease: false
68
- version_requirements: *70292141296000
62
+ version_requirements: *70145297775340
69
63
  description: Helpful Ruby classes for improved Redis data structures
70
64
  email: dev@howaboutwe.com
71
65
  executables: []
@@ -76,6 +70,7 @@ files:
76
70
  - LICENSE.txt
77
71
  - RAKEFILE
78
72
  - README.rdoc
73
+ - Rakefile
79
74
  - lib/redness.rb
80
75
  - lib/redness/red.rb
81
76
  - lib/redness/red_capped_list.rb
@@ -122,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
117
  version: '0'
123
118
  requirements: []
124
119
  rubyforge_project:
125
- rubygems_version: 1.8.16
120
+ rubygems_version: 1.8.15
126
121
  signing_key:
127
122
  specification_version: 3
128
123
  summary: Helpful Ruby classes for improved Redis data structures