listen 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +10 -1
 - data/lib/listen/listener.rb +5 -0
 - data/lib/listen/version.rb +1 -1
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 15c2061b4e5946ad201164615031c72bffe85ff0
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: c62a6832ec7627b5c5d62f319a69e5f0ec2a1a71
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: d0d771a559f389f1d7992966fe0a92cf5966dab2ddd31687ee284d292718b846151580bf1ddaa624432daeb677d01fc7af5763a4ebc60e9b010b9691eac2b944
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: ec49484e993dca69208d7034e308fe8b1988ce551bbc898f6e614d831b6206cc5fe4a5e7c9843ade6ea61551003287bc216598992b9841f106b8f9f6d0ac2b84
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,3 +1,9 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            ## 1.1.6 - Jun 4, 2013
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            ### Change
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            - [#120][] Warn when using relative_paths option when listening to multiple diretories. (reported by [@chriseppstein][], added by [@thibaudgg][])
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
       1 
7 
     | 
    
         
             
            ## 1.1.5 - Jun 3, 2013
         
     | 
| 
       2 
8 
     | 
    
         | 
| 
       3 
9 
     | 
    
         
             
            ### Bug fix
         
     | 
| 
         @@ -302,10 +308,13 @@ 
     | 
|
| 
       302 
308 
     | 
    
         
             
            [#115]: https://github.com/guard/listen/issues/115
         
     | 
| 
       303 
309 
     | 
    
         
             
            [#117]: https://github.com/guard/listen/issues/117
         
     | 
| 
       304 
310 
     | 
    
         
             
            [#118]: https://github.com/guard/listen/issues/118
         
     | 
| 
      
 311 
     | 
    
         
            +
            [#120]: https://github.com/guard/listen/issues/120
         
     | 
| 
      
 312 
     | 
    
         
            +
            [#122]: https://github.com/guard/listen/issues/122
         
     | 
| 
       305 
313 
     | 
    
         
             
            [@Maher4Ever]: https://github.com/Maher4Ever
         
     | 
| 
       306 
314 
     | 
    
         
             
            [@ahoward]: https://github.com/ahoward
         
     | 
| 
       307 
315 
     | 
    
         
             
            [@akerbos]: https://github.com/akerbos
         
     | 
| 
       308 
316 
     | 
    
         
             
            [@antifuchs]: https://github.com/antifuchs
         
     | 
| 
      
 317 
     | 
    
         
            +
            [@chriseppstein]: https://github.com/chriseppstein
         
     | 
| 
       309 
318 
     | 
    
         
             
            [@cobychapple]: https://github.com/cobychapple
         
     | 
| 
       310 
319 
     | 
    
         
             
            [@daemonza]: https://github.com/daemonza
         
     | 
| 
       311 
320 
     | 
    
         
             
            [@dkubb]: https://github.com/dkubb
         
     | 
| 
         @@ -330,4 +339,4 @@ 
     | 
|
| 
       330 
339 
     | 
    
         
             
            [@textgoeshere]: https://github.com/textgoeshere
         
     | 
| 
       331 
340 
     | 
    
         
             
            [@thibaudgg]: https://github.com/thibaudgg
         
     | 
| 
       332 
341 
     | 
    
         
             
            [@vongruenigen]: https://github.com/vongruenigen
         
     | 
| 
       333 
     | 
    
         
            -
            [@zanker]: https://github.com/zanker
         
     | 
| 
      
 342 
     | 
    
         
            +
            [@zanker]: https://github.com/zanker
         
     | 
    
        data/lib/listen/listener.rb
    CHANGED
    
    | 
         @@ -9,6 +9,8 @@ module Listen 
     | 
|
| 
       9 
9 
     | 
    
         
             
                  Please use Listen::Adapter#start for a non-blocking listener and Listen::Listener#start! for a blocking one.
         
     | 
| 
       10 
10 
     | 
    
         
             
                EOS
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
      
 12 
     | 
    
         
            +
                RELATIVE_PATHS_WITH_MULTIPLE_DIRECTORIES_WARNING_MESSAGE = "The relative_paths option doesn't work when listening to multiple diretories."
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
       12 
14 
     | 
    
         
             
                # Initializes the directories listener.
         
     | 
| 
       13 
15 
     | 
    
         
             
                #
         
     | 
| 
       14 
16 
     | 
    
         
             
                # @param [String] directory the directories to listen to
         
     | 
| 
         @@ -249,6 +251,9 @@ module Listen 
     | 
|
| 
       249 
251 
     | 
    
         
             
                # Initializes whether or not using relative paths.
         
     | 
| 
       250 
252 
     | 
    
         
             
                #
         
     | 
| 
       251 
253 
     | 
    
         
             
                def initialize_relative_paths_usage(options)
         
     | 
| 
      
 254 
     | 
    
         
            +
                  if directories.size > 1 && options[:relative_paths]
         
     | 
| 
      
 255 
     | 
    
         
            +
                    Kernel.warn "[Listen warning]: #{RELATIVE_PATHS_WITH_MULTIPLE_DIRECTORIES_WARNING_MESSAGE}"
         
     | 
| 
      
 256 
     | 
    
         
            +
                  end
         
     | 
| 
       252 
257 
     | 
    
         
             
                  @use_relative_paths = directories.one? && options.delete(:relative_paths) { true }
         
     | 
| 
       253 
258 
     | 
    
         
             
                end
         
     | 
| 
       254 
259 
     | 
    
         | 
    
        data/lib/listen/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: listen
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.1. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.1.6
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Thibaud Guillaume-Gentil
         
     | 
| 
         @@ -9,7 +9,7 @@ authors: 
     | 
|
| 
       9 
9 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       10 
10 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       11 
11 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       12 
     | 
    
         
            -
            date: 2013-06- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2013-06-04 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: rb-fsevent
         
     |