edtf 2.3.0 → 2.3.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: 1ed04502c046fa5e0cce0da9f2b7b6bd0ad4e0da
4
- data.tar.gz: c8542563e18a25100dcea390411802172f5add7b
3
+ metadata.gz: dcceec6058c69ebeff88be3fdbf269ee69f69fab
4
+ data.tar.gz: 4790a440bd05bb6bef2335bbeccc84836051e23c
5
5
  SHA512:
6
- metadata.gz: effde6cac30e88f7c2f277a766c7243a2dd4dfaad1e490e242fa173486ff74ca92b8427c0c355dd90e8892c9916420b0cefe6c35139e9ff1fbd2f1d677576d77
7
- data.tar.gz: c9b859edf6fdfa5808602a1eec75c01c2303f6bc882d57495269590a2a9bd245bb51c04f6957a926dd62e7f85ced0ac4b5c83485a0c7d83bb7f598412e170d36
6
+ metadata.gz: d08ef863ffaf2ffc248f1213af38b25c6ae1963bbce4599735bedef87d0c025f3d4bc329cb5fc3a89d018c8b3a144693784bbecec163a970909f6e502e1b49cd
7
+ data.tar.gz: eee5144c546253056593e414621a4b9202999bf0a7f15fbdd1e0e7fa88835a67f4eb384eaf4eb9f8a287b0964daa465dae352f5d606705febd8d95610c5577ee
data/.travis.yml CHANGED
@@ -2,8 +2,9 @@ language: ruby
2
2
  bundler_args: --without debug extra
3
3
  script: bundle exec rake test_with_coveralls
4
4
  rvm:
5
- - 2.1.0
6
- - 2.0.0
5
+ - 2.2
6
+ - 2.1
7
+ - 2.0
7
8
  - jruby-19mode
8
9
  - rbx-2
9
10
  notifications:
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.precsion != max.precision
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
@@ -1,3 +1,3 @@
1
1
  module EDTF
2
- VERSION = '2.3.0'.freeze
2
+ VERSION = '2.3.1'.freeze
3
3
  end
@@ -75,7 +75,7 @@ module EDTF
75
75
  end
76
76
 
77
77
  it 'throws an exception if given invalid season code' do
78
- expect { subject.season = 13 }.to raise_error
78
+ expect { subject.season = 13 }.to raise_error(NoMethodError)
79
79
  end
80
80
  end
81
81
 
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.0
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-01-11 00:00:00.000000000 Z
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.4.5.1
115
+ rubygems_version: 2.6.3
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Extended Date/Time Format for Ruby.