listen 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.7.2 - January 11, 2013
2
+
3
+ ### Bug fix
4
+
5
+ - [#76] Exception on filename which is not in UTF-8. (fixed by [@piotr-sokolowski][])
6
+
1
7
  ## 0.7.1 - January 6, 2013
2
8
 
3
9
  ### Bug fix
@@ -190,6 +196,7 @@
190
196
  [#65]: https://github.com/guard/listen/issues/65
191
197
  [#73]: https://github.com/guard/listen/issues/73
192
198
  [#75]: https://github.com/guard/listen/issues/75
199
+ [#76]: https://github.com/guard/listen/issues/76
193
200
  [@Maher4Ever]: https://github.com/Maher4Ever
194
201
  [@dkubb]: https://github.com/dkubb
195
202
  [@ebroder]: https://github.com/ebroder
@@ -202,6 +209,7 @@
202
209
  [@napcs]: https://github.com/napcs
203
210
  [@netzpirat]: https://github.com/netzpirat
204
211
  [@nex3]: https://github.com/nex3
212
+ [@piotr-sokolowski]: https://github.com/piotr-sokolowski
205
213
  [@rymai]: https://github.com/rymai
206
214
  [@scottdavis]: https://github.com/scottdavis
207
215
  [@sunaku]: https://github.com/sunaku
@@ -189,6 +189,7 @@ module Listen
189
189
  #
190
190
  def relative_to_base(path)
191
191
  return nil unless path[@directory]
192
+ path = path.force_encoding("BINARY") if path.respond_to?(:force_encoding)
192
193
  path.sub(%r{^#{Regexp.quote(@directory)}#{File::SEPARATOR}?}, '')
193
194
  end
194
195
 
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: listen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
5
4
  prerelease:
5
+ version: 0.7.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Thibaud Guillaume-Gentil
@@ -10,24 +10,24 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-01-06 00:00:00.000000000 Z
13
+ date: 2013-01-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: bundler
17
- requirement: !ruby/object:Gem::Requirement
18
- none: false
16
+ version_requirements: !ruby/object:Gem::Requirement
19
17
  requirements:
20
18
  - - ! '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0'
21
+ none: false
22
+ name: bundler
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
25
+ requirement: !ruby/object:Gem::Requirement
27
26
  requirements:
28
27
  - - ! '>='
29
28
  - !ruby/object:Gem::Version
30
29
  version: '0'
30
+ none: false
31
31
  description: The Listen gem listens to file modifications and notifies you about the
32
32
  changes. Works everywhere!
33
33
  email:
@@ -60,17 +60,17 @@ rdoc_options: []
60
60
  require_paths:
61
61
  - lib
62
62
  required_ruby_version: !ruby/object:Gem::Requirement
63
- none: false
64
63
  requirements:
65
64
  - - ! '>='
66
65
  - !ruby/object:Gem::Version
67
66
  version: '0'
68
- required_rubygems_version: !ruby/object:Gem::Requirement
69
67
  none: false
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
69
  requirements:
71
70
  - - ! '>='
72
71
  - !ruby/object:Gem::Version
73
72
  version: 1.3.6
73
+ none: false
74
74
  requirements: []
75
75
  rubyforge_project: listen
76
76
  rubygems_version: 1.8.23