maidservice 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -0
- data/TODO.md +1 -1
- data/lib/maidservice/listener.rb +5 -0
- data/lib/maidservice/tasks/maidservice.rake +11 -2
- data/lib/maidservice/version.rb +1 -1
- data/maidservice.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: faac9fb17500d97bc0ec1f5c4104a91de7471e4f
|
4
|
+
data.tar.gz: b8694fbfc5ed009e57ca196e17311862a26896d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e36c70f9ae02f69b9a2ef9c01ca72e0331bbaf206374a723e5908afce1f97e331f5752fa3461dd26231713164c551996456429bfcd9872476fcc2d7ff1b13d8
|
7
|
+
data.tar.gz: 167e895e0ce0681cfbba5a37a081a62da47a64c10a820d4cb920e678c0b22a93d6cb7d30c22f4ca21028c8539d27d0a7e3053b835fef865fb925b63135e6c030
|
data/Rakefile
CHANGED
data/TODO.md
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
* make sure there's appropriate logging
|
2
|
-
* tests
|
2
|
+
* tests
|
data/lib/maidservice/listener.rb
CHANGED
@@ -1,8 +1,17 @@
|
|
1
|
-
|
1
|
+
require 'maidservice'
|
2
|
+
require 'maidservice/listener'
|
2
3
|
|
4
|
+
namespace :maidservice do
|
3
5
|
desc "Start Maid Service"
|
4
|
-
task :clean => :
|
6
|
+
task :clean => :preload do
|
5
7
|
Maidservice::Listener.run
|
6
8
|
end
|
7
9
|
|
10
|
+
desc "Setup Rails environment"
|
11
|
+
task :preload do
|
12
|
+
if defined?(Rails) && Rails.application
|
13
|
+
Rails.application.require_environment!
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
8
17
|
end
|
data/lib/maidservice/version.rb
CHANGED
data/maidservice.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
22
22
|
spec.add_development_dependency "rake"
|
23
23
|
spec.add_development_dependency "rspec"
|
24
|
-
spec.add_development_dependency 'railties'
|
24
|
+
spec.add_development_dependency 'railties', '~> 3.2.14'
|
25
25
|
|
26
26
|
spec.add_dependency "redis-namespace", "~> 1.3"
|
27
27
|
spec.add_dependency "redis", "> 3"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maidservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Carleton
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: railties
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 3.2.14
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 3.2.14
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: redis-namespace
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|