guard-zeus 1.0.0.pre.alpha.pre.38 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/guard/zeus.rb +6 -4
  2. metadata +23 -13
  3. checksums.yaml +0 -15
@@ -1,13 +1,13 @@
1
1
  require 'guard'
2
- require 'guard/plugin'
2
+ require 'guard/guard'
3
3
 
4
4
  module Guard
5
- class Zeus < Plugin
5
+ class Zeus < Guard
6
6
 
7
7
  autoload :Runner, 'guard/zeus/runner'
8
8
  attr_accessor :runner
9
9
 
10
- def initialize(options={})
10
+ def initialize(watchers=[], options={})
11
11
  super
12
12
  @runner = Runner.new(options)
13
13
  end
@@ -26,9 +26,11 @@ module Guard
26
26
  runner.run_all
27
27
  end
28
28
 
29
- def run_on_modifications(paths)
29
+ def run_on_changes(paths)
30
30
  runner.run(paths)
31
31
  end
32
+ # for guard 1.0.x and earlier
33
+ alias :run_on_change :run_on_changes
32
34
 
33
35
  def stop
34
36
  runner.kill_zeus
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-zeus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.alpha.pre.38
4
+ version: 1.0.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - jonathangreenberg
@@ -15,20 +16,23 @@ dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: guard
17
18
  requirement: !ruby/object:Gem::Requirement
19
+ none: false
18
20
  requirements:
19
21
  - - ~>
20
22
  - !ruby/object:Gem::Version
21
- version: '2.0'
23
+ version: '1.0'
22
24
  type: :runtime
23
25
  prerelease: false
24
26
  version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
25
28
  requirements:
26
29
  - - ~>
27
30
  - !ruby/object:Gem::Version
28
- version: '2.0'
31
+ version: '1.0'
29
32
  - !ruby/object:Gem::Dependency
30
33
  name: zeus
31
34
  requirement: !ruby/object:Gem::Requirement
35
+ none: false
32
36
  requirements:
33
37
  - - ~>
34
38
  - !ruby/object:Gem::Version
@@ -36,6 +40,7 @@ dependencies:
36
40
  type: :runtime
37
41
  prerelease: false
38
42
  version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
39
44
  requirements:
40
45
  - - ~>
41
46
  - !ruby/object:Gem::Version
@@ -43,6 +48,7 @@ dependencies:
43
48
  - !ruby/object:Gem::Dependency
44
49
  name: bundler
45
50
  requirement: !ruby/object:Gem::Requirement
51
+ none: false
46
52
  requirements:
47
53
  - - ~>
48
54
  - !ruby/object:Gem::Version
@@ -50,6 +56,7 @@ dependencies:
50
56
  type: :development
51
57
  prerelease: false
52
58
  version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
53
60
  requirements:
54
61
  - - ~>
55
62
  - !ruby/object:Gem::Version
@@ -57,17 +64,19 @@ dependencies:
57
64
  - !ruby/object:Gem::Dependency
58
65
  name: rspec
59
66
  requirement: !ruby/object:Gem::Requirement
67
+ none: false
60
68
  requirements:
61
69
  - - ~>
62
70
  - !ruby/object:Gem::Version
63
- version: '2.14'
71
+ version: '2.0'
64
72
  type: :development
65
73
  prerelease: false
66
74
  version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
67
76
  requirements:
68
77
  - - ~>
69
78
  - !ruby/object:Gem::Version
70
- version: '2.14'
79
+ version: '2.0'
71
80
  description: Guard::Zeus automatically manage zeus
72
81
  email:
73
82
  - greenberg@entryway.net
@@ -77,33 +86,34 @@ executables: []
77
86
  extensions: []
78
87
  extra_rdoc_files: []
79
88
  files:
80
- - LICENSE
81
- - README.md
82
89
  - lib/guard/zeus.rb
83
- - lib/guard/zeus/runner.rb
84
90
  - lib/guard/zeus/templates/Guardfile
91
+ - lib/guard/zeus/runner.rb
85
92
  - lib/guard/zeus/version.rb
93
+ - LICENSE
94
+ - README.md
86
95
  homepage: http://github.com/qnm/guard-zeus
87
96
  licenses: []
88
- metadata: {}
89
97
  post_install_message:
90
98
  rdoc_options: []
91
99
  require_paths:
92
100
  - lib
93
101
  required_ruby_version: !ruby/object:Gem::Requirement
102
+ none: false
94
103
  requirements:
95
104
  - - ! '>='
96
105
  - !ruby/object:Gem::Version
97
106
  version: '0'
98
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
+ none: false
99
109
  requirements:
100
- - - ! '>'
110
+ - - ! '>='
101
111
  - !ruby/object:Gem::Version
102
- version: 1.3.1
112
+ version: '0'
103
113
  requirements: []
104
114
  rubyforge_project:
105
- rubygems_version: 2.2.1
115
+ rubygems_version: 1.8.25
106
116
  signing_key:
107
- specification_version: 4
117
+ specification_version: 3
108
118
  summary: Pushes watched files to Zeus
109
119
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NzM4N2JkYmY2OWE1YjYwYjkyMGU3MThkODdmM2I3YzcxNWI5OWE2Mg==
5
- data.tar.gz: !binary |-
6
- ZDkyZjdjYTViZWQzMjUwYTI2Zjk4Yjk4YTI0OWRiZDdhYWZlZWJmMg==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- MmU2NGUxZmU3NzQ4YzkyNDRlYTI5ZGJjOTA1MGYxYWY0ZjFhZDI5YTJjNDE4
10
- OWNiZGI0ZDBjOTM2NTQ3YjUwMDlhMWEwMDM1OTUxZThkMzk2ZjZhZGVjYjZm
11
- NzM4ZDQ0NDk3YmQwMDg2YjhhMzgzZmJkMWIxYzU5MWNlMjY0ODk=
12
- data.tar.gz: !binary |-
13
- NjQ2N2ZhZTRkMmQ1ZjUzNjE1MzhhNmVkOTI4ODAzYzNhN2FjMjQ5N2NmNTQ0
14
- YTdkYWFmOWI0YzQyNGQwYWFmMzE0NjQ4ZWE4ZTU0NmI1OTMxZmY0Nzc0NmJj
15
- ZjM4YWFkNDJmN2EzZjQ1NWE5YWVlODM0ZDZiNWIyZWNiY2M4MjI=