guard-redis 0.3.0 → 1.0.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: c9e97b9b31760dbdb3a1b76a47d4fe6a30bcb6fa
4
- data.tar.gz: 8fa5b34132dbdc6b84360c3cdd8e0ff4c404a1ef
3
+ metadata.gz: 632ab4b4b54c4e8b9d3860ce6b6f7c1b52f77283
4
+ data.tar.gz: da85a2b91081fcc2263a1fa5d4de3eee05df05aa
5
5
  SHA512:
6
- metadata.gz: 3827eed1ebf25253db43d8abc3336d2a943732f9bf2dfc07ffb24e4d817e99dba82b4466cd57a20d31b9f7239a355322ce239173b16e0cbae42777bb090bbdf1
7
- data.tar.gz: 59d9d85069adbcd036d9d6ee0fbfcef8065359058f2997e38e051c526f3c2d0171f6fce7bb2d9c92f3829f2f0a43ced1fedd7056e3eb119ea37f68694d16d6be
6
+ metadata.gz: e429cf1236bd4e8859e966174234e3a901f1f734322d338fa0fadb8f45fe1db0dc4b2eeb6c7e8fd920203b3619252866256823f2bf31dea55b808774ed9e4e1c
7
+ data.tar.gz: d2ad050d41116680d37b1129872858fea48a9145a220385faa52a21ae748bee155f8321193a00a09e6521f673a2996ae4e865c2f9532469abe828b5ff1b313a0
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2011 Zachery Moneypenny
1
+ Copyright (c) 2011-2014 Zachery Moneypenny
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -17,4 +17,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
17
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
18
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
19
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,18 +1,26 @@
1
1
  # Guard::Redis [![Build Status](https://secure.travis-ci.org/whazzmaster/guard-redis.png)](http://travis-ci.org/whazzmaster/guard-redis)
2
2
 
3
- Redis guard manages your development [Redis](http://redis.io) server, and will automatically restart if necessary.
3
+ Redis guard manages your development [Redis](http://redis.io) server, and will
4
+ automatically restart if necessary.
4
5
 
5
- The code for this gem was taken from [this blog post by Avdi Grimm](http://avdi.org/devblog/2011/06/15/a-guardfile-for-redis/). It refers to [this Gist](https://gist.github.com/1026546), and I searched around for an existing repo quite a bit before packing it up here. __All credit goes to Avdi for the source__ and all fault goes to me for configuration or packaging issues.
6
+ The code for this gem was taken from [this blog post by
7
+ Avdi Grimm](http://avdi.org/devblog/2011/06/15/a-guardfile-for-redis/). It
8
+ refers to [this Gist](https://gist.github.com/1026546), and I searched around
9
+ for an existing repo quite a bit before packing it up here. __All credit goes
10
+ to Avdi for the source__ and all fault goes to me for configuration or packaging
11
+ issues.
6
12
 
7
13
  ## Install
8
-
9
- Make sure you have [Guard](https://github.com/guard/guard) installed before continuing.
14
+ Make sure you have [Guard](https://github.com/guard/guard) installed before
15
+ continuing.
10
16
 
11
17
  Install the gem:
12
18
 
13
19
  $ gem install guard-redis
14
20
 
15
- Add it to your Gemfile. You should really only need it in development and test environments; this gem is not meant to manage production server instances of Redis.
21
+ Add it to your Gemfile. You should really only need it in development and test
22
+ environments; this gem is not meant to manage production server instances of
23
+ Redis.
16
24
 
17
25
  gem 'guard-redis'
18
26
 
@@ -21,8 +29,10 @@ Add the guard definition to your Guardfile by running:
21
29
  $ guard init redis
22
30
 
23
31
  ## Options
24
-
25
- The main purpose of Guard::Redis is to ensure that redis-server is running while you're coding and testing. It can optionally monitor a set of files and reload the process (useful if you're frequently changing code that affects items in Redis).
32
+ The main purpose of Guard::Redis is to ensure that redis-server is running while
33
+ you're coding and testing. It can optionally monitor a set of files and reload
34
+ the process (useful if you're frequently changing code that affects the
35
+ configuration of Redis).
26
36
 
27
37
  It takes several options related to its configuration.
28
38
 
@@ -44,5 +54,4 @@ It takes several options related to its configuration.
44
54
  ~~~~
45
55
 
46
56
  ## Contributors
47
-
48
- https://github.com/whazzmaster/guard-redis/graphs/contributors
57
+ Thanks so much to [all who have contributed](https://github.com/whazzmaster/guard-redis/graphs/contributors)!
@@ -1,8 +1,7 @@
1
- require 'guard'
2
- require 'guard/guard'
1
+ require 'guard/compat/plugin'
3
2
 
4
3
  module Guard
5
- class Redis < Guard
4
+ class Redis < Plugin
6
5
  def start
7
6
  UI.info "Starting Redis on port #{port}..."
8
7
  @pid = nil
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module RedisVersion
3
- VERSION = '0.3.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
- end
5
+ end
metadata CHANGED
@@ -1,85 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zachery Moneypenny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-26 00:00:00.000000000 Z
11
+ date: 2014-12-29 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: guard
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
- - - '>='
31
+ - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: 0.4.0
33
+ version: '2.8'
20
34
  type: :runtime
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
- - - '>='
38
+ - - "~>"
25
39
  - !ruby/object:Gem::Version
26
- version: 0.4.0
40
+ version: '2.8'
27
41
  - !ruby/object:Gem::Dependency
28
- name: redis
42
+ name: guard-compat
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
- - - '>='
45
+ - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: 2.2.2
47
+ version: '1.2'
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
- - - '>='
52
+ - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: 2.2.2
54
+ version: '1.2'
41
55
  - !ruby/object:Gem::Dependency
42
- name: bundler
56
+ name: redis
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - ~>
59
+ - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '1.0'
48
- type: :development
61
+ version: '2.2'
62
+ type: :runtime
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ~>
66
+ - - "~>"
53
67
  - !ruby/object:Gem::Version
54
- version: '1.0'
68
+ version: '2.2'
55
69
  - !ruby/object:Gem::Dependency
56
- name: rspec
70
+ name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
- - - ~>
73
+ - - ">="
60
74
  - !ruby/object:Gem::Version
61
- version: '2.6'
75
+ version: '1.7'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
- - - ~>
80
+ - - ">="
67
81
  - !ruby/object:Gem::Version
68
- version: '2.6'
82
+ version: '1.7'
69
83
  - !ruby/object:Gem::Dependency
70
- name: guard-rspec
84
+ name: rspec
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - '>='
87
+ - - "~>"
74
88
  - !ruby/object:Gem::Version
75
- version: '0'
89
+ version: '3.1'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - '>='
94
+ - - "~>"
81
95
  - !ruby/object:Gem::Version
82
- version: '0'
96
+ version: '3.1'
83
97
  description: Guard::Redis automatically starts and restarts your local redis server.
84
98
  email:
85
99
  - guard-redis@whazzing.com
@@ -87,11 +101,11 @@ executables: []
87
101
  extensions: []
88
102
  extra_rdoc_files: []
89
103
  files:
90
- - lib/guard/redis/templates/Guardfile
91
- - lib/guard/redis/version.rb
92
- - lib/guard/redis.rb
93
104
  - LICENSE
94
105
  - README.md
106
+ - lib/guard/redis.rb
107
+ - lib/guard/redis/templates/Guardfile
108
+ - lib/guard/redis/version.rb
95
109
  homepage: http://rubygems.org/gems/guard-redis
96
110
  licenses: []
97
111
  metadata: {}
@@ -101,17 +115,17 @@ require_paths:
101
115
  - lib
102
116
  required_ruby_version: !ruby/object:Gem::Requirement
103
117
  requirements:
104
- - - '>='
118
+ - - ">="
105
119
  - !ruby/object:Gem::Version
106
120
  version: '0'
107
121
  required_rubygems_version: !ruby/object:Gem::Requirement
108
122
  requirements:
109
- - - '>='
123
+ - - ">="
110
124
  - !ruby/object:Gem::Version
111
125
  version: 1.3.6
112
126
  requirements: []
113
127
  rubyforge_project:
114
- rubygems_version: 2.0.3
128
+ rubygems_version: 2.4.4
115
129
  signing_key:
116
130
  specification_version: 4
117
131
  summary: Guard gem for Redis