edtf 2.3.0 → 2.3.1
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/.travis.yml +3 -2
- data/LICENSE +2 -2
- data/edtf.gemspec +1 -1
- data/lib/edtf/interval.rb +2 -2
- data/lib/edtf/version.rb +1 -1
- data/spec/edtf/season_spec.rb +1 -1
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: dcceec6058c69ebeff88be3fdbf269ee69f69fab
         | 
| 4 | 
            +
              data.tar.gz: 4790a440bd05bb6bef2335bbeccc84836051e23c
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: d08ef863ffaf2ffc248f1213af38b25c6ae1963bbce4599735bedef87d0c025f3d4bc329cb5fc3a89d018c8b3a144693784bbecec163a970909f6e502e1b49cd
         | 
| 7 | 
            +
              data.tar.gz: eee5144c546253056593e414621a4b9202999bf0a7f15fbdd1e0e7fa88835a67f4eb384eaf4eb9f8a287b0964daa465dae352f5d606705febd8d95610c5577ee
         | 
    
        data/.travis.yml
    CHANGED
    
    
    
        data/LICENSE
    CHANGED
    
    | @@ -1,4 +1,4 @@ | |
| 1 | 
            -
            Copyright 2011 Sylvester Keil. All rights reserved.
         | 
| 1 | 
            +
            Copyright 2011-2016 Sylvester Keil. All rights reserved.
         | 
| 2 2 |  | 
| 3 3 | 
             
            Redistribution and use in source and binary forms, with or without
         | 
| 4 4 | 
             
            modification, are permitted provided that the following conditions are met:
         | 
| @@ -23,4 +23,4 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| 23 23 |  | 
| 24 24 | 
             
            The views and conclusions contained in the software and documentation are
         | 
| 25 25 | 
             
            those of the authors and should not be interpreted as representing official
         | 
| 26 | 
            -
            policies, either expressed or implied, of the copyright holder.
         | 
| 26 | 
            +
            policies, either expressed or implied, of the copyright holder.
         | 
    
        data/edtf.gemspec
    CHANGED
    
    | @@ -13,7 +13,7 @@ Gem::Specification.new do |s| | |
| 13 13 | 
             
              s.homepage    = 'http://github.com/inukshuk/edtf-ruby'
         | 
| 14 14 | 
             
              s.summary     = 'Extended Date/Time Format for Ruby.'
         | 
| 15 15 | 
             
              s.description = 'A Ruby implementation of the Extended Date/Time Format (EDTF).'
         | 
| 16 | 
            -
              s.license     = 'FreeBSD'
         | 
| 16 | 
            +
              s.license     = 'BSD-2-Clause-FreeBSD'
         | 
| 17 17 |  | 
| 18 18 | 
             
              s.add_runtime_dependency('activesupport', '>= 3.0', '< 5.0')
         | 
| 19 19 |  | 
    
        data/lib/edtf/interval.rb
    CHANGED
    
    | @@ -70,7 +70,7 @@ module EDTF | |
| 70 70 |  | 
| 71 71 | 
             
                # Returns true if the precisions of start and end date are not the same.
         | 
| 72 72 | 
             
                def mixed_precision?
         | 
| 73 | 
            -
                  min. | 
| 73 | 
            +
                  min.precision != max.precision
         | 
| 74 74 | 
             
                end
         | 
| 75 75 |  | 
| 76 76 | 
             
                def each(&block)
         | 
| @@ -282,4 +282,4 @@ module EDTF | |
| 282 282 |  | 
| 283 283 | 
             
              end
         | 
| 284 284 |  | 
| 285 | 
            -
            end
         | 
| 285 | 
            +
            end
         | 
    
        data/lib/edtf/version.rb
    CHANGED
    
    
    
        data/spec/edtf/season_spec.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: edtf
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.3. | 
| 4 | 
            +
              version: 2.3.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Sylvester Keil
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2016- | 
| 11 | 
            +
            date: 2016-04-27 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: activesupport
         | 
| @@ -87,7 +87,7 @@ files: | |
| 87 87 | 
             
            - spec/spec_helper.rb
         | 
| 88 88 | 
             
            homepage: http://github.com/inukshuk/edtf-ruby
         | 
| 89 89 | 
             
            licenses:
         | 
| 90 | 
            -
            - FreeBSD
         | 
| 90 | 
            +
            - BSD-2-Clause-FreeBSD
         | 
| 91 91 | 
             
            metadata: {}
         | 
| 92 92 | 
             
            post_install_message: 
         | 
| 93 93 | 
             
            rdoc_options:
         | 
| @@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 112 112 | 
             
                  version: '0'
         | 
| 113 113 | 
             
            requirements: []
         | 
| 114 114 | 
             
            rubyforge_project: 
         | 
| 115 | 
            -
            rubygems_version: 2. | 
| 115 | 
            +
            rubygems_version: 2.6.3
         | 
| 116 116 | 
             
            signing_key: 
         | 
| 117 117 | 
             
            specification_version: 4
         | 
| 118 118 | 
             
            summary: Extended Date/Time Format for Ruby.
         |