montrose 0.2.0 → 0.2.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: 72c7f27af8ab0e30ced7801cad42cf1243f9f79f
4
- data.tar.gz: 228ad308e574dabefc4f5635e76dd878c8d105c9
3
+ metadata.gz: 53a2439841915011853eef7bb8fee926939b5335
4
+ data.tar.gz: fad0d53e1187f6a077c6410e63016526973633c2
5
5
  SHA512:
6
- metadata.gz: 94736a08ae987f52cd24adace44ce7414604d375a0d5281c823426cbc7f9d205fd25dccdbbacd46533cca4dc9bd424395374191ce26b75e4e8897e2ddc35ff25
7
- data.tar.gz: ae7a298bc0ed9830656c85ef8cbb74faaf8eb7d22f1ecd854dde5e7ce8d1eefc5a223e27b3d2ecbe683a1113c807a29df205cfeb3ddc324832af0b251a6470b4
6
+ metadata.gz: 6e3b010f94e12c9705278b2fc860df7d0384476a097ab4f77ca3b503fa365272a6e5af2faa34d1ec4e4692f1c192f01179e63637e85d2164fa8bedaa8ad387ac
7
+ data.tar.gz: 2466894b36681dc0a8bc723e72b8976dab0c8d7d340f2cf47ec15b7f52bc697b919434aae9e52e13e3e2ea27d1754d47615e05876188afb8a087bd19e0b884b7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.2.1 - 2016-02-03
2
+
3
+ * bug fixes
4
+ * Handle `nil` in `Montrose::Options` constructor
5
+
1
6
  ### 0.2.0 - 2016-02-03
2
7
 
3
8
  * enhancements
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![Code Climate](https://codeclimate.com/github/rossta/montrose/badges/gpa.svg)](https://codeclimate.com/github/rossta/montrose)
6
6
  [![Dependency Status](https://gemnasium.com/rossta/montrose.svg)](https://gemnasium.com/rossta/montrose)
7
7
 
8
- Recurring events in Ruby. This library is still a work-in-progress.
8
+ Montrose is an easy-to-use library for defining recurring events in Ruby. It uses a simple chaining system for building recurrences, inspired heavily by the design principles of [HTTP.rb](https://github.com/httprb/http) and rule definitions available in [Recurrence](https://github.com/fnando/recurrence).
9
9
 
10
10
  ## Installation
11
11
 
@@ -101,7 +101,7 @@ module Montrose
101
101
  total: nil
102
102
  }
103
103
 
104
- options = defaults.merge(opts)
104
+ options = defaults.merge(opts || {})
105
105
  options.each { |(k, v)| self[k] ||= v unless v.nil? }
106
106
  end
107
107
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Montrose
3
- VERSION = "0.2.0".freeze
3
+ VERSION = "0.2.1".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: montrose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Kaffenberger