guard-ruby 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 118cb05144f12f611662f11745505c099f61c84d
4
+ data.tar.gz: 202a095bea4f383faac06838aab588bbfa52fd22
5
+ SHA512:
6
+ metadata.gz: 7787aec3cb86970e7a52af89c772db110c7645bcac3b6f8d697bf4982f0a49d9960cbc9c570dd627a4d7b0f21143d323b1250c75b07a4c56d5028a4bebd67486
7
+ data.tar.gz: c17e0d9e05e981dd1bd0527da9700374fea35808af377c6a42dd48307561ec9c46dea8effd1b5f7a61955360c8f683db8bc8d3a262d58d8b73f876e99e8b9fe9
@@ -0,0 +1,3 @@
1
+ # 1.0.0
2
+
3
+ - Update guard intheritence interface from Guard to Plugin
@@ -1,16 +1,16 @@
1
- require 'guard'
2
- require 'guard/guard'
1
+ require 'guard/compat/plugin'
2
+ require 'guard/ruby/version'
3
3
 
4
4
  module Guard
5
- class Ruby < Guard
6
- VERSION = "0.0.1"
5
+ class Ruby < Plugin
6
+ VERSION = Guard::GUARD_RUBY_VERSION
7
7
 
8
8
  def start
9
9
  run_all if options[:all_on_start]
10
10
  end
11
11
 
12
12
  def run_all
13
- run_on_change(Watcher.match_files(self, Dir.glob('*.rb')))
13
+ run_on_change(Compat.matching_files(self, Dir.glob('*.rb')))
14
14
  end
15
15
 
16
16
  def run_on_change(paths)
@@ -0,0 +1,4 @@
1
+ module Guard
2
+ # if this has a class with the name of the real class, the real one will never be loaded
3
+ GUARD_RUBY_VERSION = "1.0.0"
4
+ end
metadata CHANGED
@@ -1,71 +1,92 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Justin Love
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-01-09 00:00:00.000000000Z
11
+ date: 2016-10-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: guard
16
- requirement: &2160805220 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: '2.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *2160805220
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: guard-compat
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.1'
25
41
  - !ruby/object:Gem::Dependency
26
42
  name: mast
27
- requirement: &2160804580 !ruby/object:Gem::Requirement
28
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
29
44
  requirements:
30
- - - ! '>='
45
+ - - ">="
31
46
  - !ruby/object:Gem::Version
32
47
  version: '0'
33
48
  type: :development
34
49
  prerelease: false
35
- version_requirements: *2160804580
36
- description: ! " Guard::Ruby is for running simple ruby files that don't necessarily
37
- have a\n separate test file or predictable pass/fail output, such as benchmarks.\n"
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: |2
56
+ Guard::Ruby is for running simple ruby files that don't necessarily have a
57
+ separate test file or predictable pass/fail output, such as benchmarks.
38
58
  email:
39
59
  - git@JustinLove.name
40
60
  executables: []
41
61
  extensions: []
42
62
  extra_rdoc_files: []
43
63
  files:
44
- - lib/guard/ruby/templates/Guardfile
45
- - lib/guard/ruby.rb
64
+ - CHANGELOG.md
46
65
  - Readme.md
66
+ - lib/guard/ruby.rb
67
+ - lib/guard/ruby/templates/Guardfile
68
+ - lib/guard/ruby/version.rb
47
69
  homepage: ''
48
70
  licenses: []
71
+ metadata: {}
49
72
  post_install_message:
50
73
  rdoc_options: []
51
74
  require_paths:
52
75
  - lib
53
76
  required_ruby_version: !ruby/object:Gem::Requirement
54
- none: false
55
77
  requirements:
56
- - - ! '>='
78
+ - - ">="
57
79
  - !ruby/object:Gem::Version
58
80
  version: '0'
59
81
  required_rubygems_version: !ruby/object:Gem::Requirement
60
- none: false
61
82
  requirements:
62
- - - ! '>='
83
+ - - ">="
63
84
  - !ruby/object:Gem::Version
64
85
  version: '0'
65
86
  requirements: []
66
87
  rubyforge_project: guard-ruby
67
- rubygems_version: 1.8.6
88
+ rubygems_version: 2.5.1
68
89
  signing_key:
69
- specification_version: 3
90
+ specification_version: 4
70
91
  summary: Guard gem for running simple Ruby files
71
92
  test_files: []