guard-annotate 2.0.2 → 2.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: 57b95d471f8d8d42f7aa0395dc8f163303c75bb7
4
- data.tar.gz: 7918f6e7058e7f106a10ae335d412dfaf5a6bc59
3
+ metadata.gz: c084dc9e51caccd7ff9f419763a67f80f521d72f
4
+ data.tar.gz: 073faccafc08a792d9c80fa11f9e16b83ca7e858
5
5
  SHA512:
6
- metadata.gz: 71dcde5abb578d9543c0d9a50f9d67560007b0822683bd97433653e3caf7ecfc5aa4ac9340acfb30019cbb66052661aff0a7a5bea50900a7b2113f6a2cad9e0e
7
- data.tar.gz: 8c4e0311cf29f4d5721dc317b94d1e6422356d946d4b3407261ad49515f311546690db28b55680c4d4b27fcfc6d7f09254ad82676e7f38fb0a21ea136760cab8
6
+ metadata.gz: 50592c7a6ecf9eb22e35bbca15613483e98695289ea3371f40bbcd661883360d85ea45bfc2c266c17f8ffc7fa2e3d541352076667adf5a1809c348c26f6bc3ac
7
+ data.tar.gz: 71c75e33671086c86657ee81ee35e218151ccd4657756de4b6895f93327a4ab60719f71985c1a16256bcfe6cd9d4e4a2da6c09a202f8c6220407dcfb761facd6
@@ -3,7 +3,7 @@
3
3
  Annotate guard runs the annotate gem when needed
4
4
 
5
5
  - Compatible with Annotate 2.4.x
6
- - Tested on Ruby 1.8.7, 1.9.2 & 1.9.3
6
+ - Tested on Ruby 1.8.7, 1.9.x, 2.1.x
7
7
 
8
8
  == Install
9
9
 
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
- require 'guard'
3
- require 'guard/plugin'
2
+ require 'guard/compat/plugin'
4
3
  require 'guard/annotate/version'
5
4
 
6
5
  module Guard
@@ -87,7 +86,7 @@ module Guard
87
86
  end
88
87
 
89
88
  def run_annotate
90
- UI.info 'Running annotate', :reset => true
89
+ Compat::UI.info 'Running annotate', :reset => true
91
90
  started_at = Time.now
92
91
  annotate_models_options, annotate_options = '', ''
93
92
 
@@ -2,7 +2,7 @@
2
2
  module Guard
3
3
  class Annotate
4
4
  class Notifier
5
-
5
+
6
6
  class << self
7
7
  def guard_message( result, duration )
8
8
  case result
@@ -12,19 +12,19 @@ module Guard
12
12
  "Annotate run has failed!\nPlease check manually."
13
13
  end
14
14
  end
15
-
15
+
16
16
  def guard_image( result )
17
17
  result ? :success : :failed
18
18
  end
19
-
19
+
20
20
  def notify( result, duration )
21
21
  message = guard_message( result, duration )
22
22
  image = guard_image( result )
23
-
24
- ::Guard::Notifier.notify( message, :title => 'Annotate complete', :image => image )
25
- end
23
+
24
+ Compat::UI.notify( message, :title => 'Annotate complete', :image => image )
25
+ end
26
26
  end
27
-
27
+
28
28
  end
29
29
  end
30
- end
30
+ end
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Guard
3
3
  module AnnotateVersion
4
- VERSION = '2.0.2'
4
+ VERSION = '2.1'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-annotate
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: '2.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Craig P Jolicoeur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-20 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: guard
14
+ name: guard-compat
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.0'
19
+ version: '1.2'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.2.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '2.0'
29
+ version: '1.2'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.2.1
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: annotate
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -45,47 +51,19 @@ dependencies:
45
51
  - !ruby/object:Gem::Version
46
52
  version: 2.4.0
47
53
  - !ruby/object:Gem::Dependency
48
- name: rspec
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: 2.9.0
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: 2.9.0
61
- - !ruby/object:Gem::Dependency
62
- name: guard-rspec
63
- requirement: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - "~>"
66
- - !ruby/object:Gem::Version
67
- version: 0.6.0
68
- type: :development
69
- prerelease: false
70
- version_requirements: !ruby/object:Gem::Requirement
71
- requirements:
72
- - - "~>"
73
- - !ruby/object:Gem::Version
74
- version: 0.6.0
75
- - !ruby/object:Gem::Dependency
76
- name: rake
54
+ name: bundler
77
55
  requirement: !ruby/object:Gem::Requirement
78
56
  requirements:
79
57
  - - "~>"
80
58
  - !ruby/object:Gem::Version
81
- version: 0.9.2.2
59
+ version: '1.6'
82
60
  type: :development
83
61
  prerelease: false
84
62
  version_requirements: !ruby/object:Gem::Requirement
85
63
  requirements:
86
64
  - - "~>"
87
65
  - !ruby/object:Gem::Version
88
- version: 0.9.2.2
66
+ version: '1.6'
89
67
  description: Guard::Annotate automatically runs the annotate gem when needed
90
68
  email:
91
69
  - cpjolicoeur@gmail.com
@@ -103,7 +81,11 @@ homepage: http://craigjolicoeur.com
103
81
  licenses:
104
82
  - MIT
105
83
  metadata: {}
106
- post_install_message:
84
+ post_install_message: |-
85
+ ** guard-annotate is looking for maintainers. While I am still trying
86
+ to accept and stay on top of new Pull Requests, I no longer personally actively use this guard
87
+ plugin. If you are interested in becoming a maintainer please contact me via GitHub Issues at
88
+ https://github.com/guard/guard-annotate. **
107
89
  rdoc_options:
108
90
  - "--charset=UTF-8"
109
91
  - "--main=README.rdoc"
@@ -122,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
104
  version: '0'
123
105
  requirements: []
124
106
  rubyforge_project: guard-annotate
125
- rubygems_version: 2.4.1
107
+ rubygems_version: 2.2.2
126
108
  signing_key:
127
109
  specification_version: 4
128
110
  summary: Guard gem for annotate