guard-coffeescript 1.3.3 → 1.3.4

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: 61e7c976f3c39807302a7c7b1eb1c35de5c1d5a6
4
- data.tar.gz: 32eac17e5c5168e7452e3b6ab8176f2e755c29a6
3
+ metadata.gz: ebaeb6646083ef94097823e93fb0cbcd22e59f6e
4
+ data.tar.gz: ef8db31e483b08206971f575cd137806eb55ff7b
5
5
  SHA512:
6
- metadata.gz: e36e190243451191bb5a89e8e9e4c0d9a170e4bc756624adc3df2e1d750718665c7b9705450ad963343988f5f27ce2ea93cada8b5eca951e782b26428c07f851
7
- data.tar.gz: 5cdf0811f01af49e49baa7db92fc21f2d78f3fbefeee4b9c096a410b3d388a89ecbb66fffe696ca4b56ee3cf24bee220aa0e0dc204bc64386949aefa21934e1e
6
+ metadata.gz: b413236f3a963049d7bdc7aacf3d5a9caf002fc15d51a4f5464415750c6fdc14ed6331779b9ea9f93185b94edd3a631d751e10a13782ff2de88e9a09b7867eca
7
+ data.tar.gz: 83e8b7f71d01a8b3c2a5d3ce1826731d2980a4bb8d37a4410baa339b58e3c6c26aae894e7e82d348a6b2b526e5905f6e109e0df6f610e8d62d8c244622124090
@@ -5,6 +5,8 @@ module Guard
5
5
  module Runner
6
6
  class << self
7
7
 
8
+ attr_accessor :last_run_failed
9
+
8
10
  # The CoffeeScript runner handles the CoffeeScript compilation,
9
11
  # creates nested directories and the output file, writes the result
10
12
  # to the console and triggers optional system notifications.
@@ -244,8 +246,10 @@ module Guard
244
246
  #
245
247
  def notify_result(changed_files, errors, options = { })
246
248
  if !errors.empty?
249
+ self.last_run_failed = true
247
250
  Formatter.notify(errors.join("\n"), :title => 'CoffeeScript results', :image => :failed, :priority => 2)
248
- elsif !options[:hide_success]
251
+ elsif !options[:hide_success] || last_run_failed
252
+ self.last_run_failed = false
249
253
  message = "Successfully #{ options[:noop] ? 'verified' : 'generated' } #{ changed_files.join(', ') }"
250
254
  Formatter.success(message)
251
255
  Formatter.notify(message, :title => 'CoffeeScript results')
@@ -1,6 +1,6 @@
1
1
  module Guard
2
2
  module CoffeeScriptVersion
3
3
  # Guard::CoffeeScript version that is used for the Gem specification
4
- VERSION = '1.3.3'
4
+ VERSION = '1.3.4'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-coffeescript
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Kessler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-09 00:00:00.000000000 Z
11
+ date: 2013-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coffee-script
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 2.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: guard-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
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
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: Guard::CoffeeScript automatically generates your JavaScripts from your
@@ -101,7 +101,8 @@ files:
101
101
  - LICENSE
102
102
  - README.md
103
103
  homepage: http://github.com/netzpirat/guard-coffeescript
104
- licenses: []
104
+ licenses:
105
+ - MIT
105
106
  metadata: {}
106
107
  post_install_message:
107
108
  rdoc_options: []
@@ -109,17 +110,17 @@ require_paths:
109
110
  - lib
110
111
  required_ruby_version: !ruby/object:Gem::Requirement
111
112
  requirements:
112
- - - '>='
113
+ - - ">="
113
114
  - !ruby/object:Gem::Version
114
115
  version: '0'
115
116
  required_rubygems_version: !ruby/object:Gem::Requirement
116
117
  requirements:
117
- - - '>='
118
+ - - ">="
118
119
  - !ruby/object:Gem::Version
119
120
  version: 1.3.6
120
121
  requirements: []
121
122
  rubyforge_project: guard-coffeescript
122
- rubygems_version: 2.0.7
123
+ rubygems_version: 2.1.4
123
124
  signing_key:
124
125
  specification_version: 4
125
126
  summary: Guard gem for CoffeeScript