README.md in icalendar-recurrence-0.0.1 vs README.md in icalendar-recurrence-1.0
- old
+ new
@@ -2,18 +2,14 @@
Adds event recurrence to the [icalendar gem](https://github.com/icalendar/icalendar). This is helpful in cases where you'd like to parse an ICS and generate a series of event occurrences.
## Install
-_Note: This only works against the 2.0beta release of the icalendar gem._
+_Note: Works with 2.0.0beta.1 (or newer) icalendar gem. If you're using icalendar <=1.5.4, take a look at the [new code](https://github.com/icalendar/icalendar/tree/2.0beta) before you switch over._
-**Until icalendar 2.0beta is released, use git repos in your Gemfile:**
-
-
```ruby
-gem "icalendar", git: "https://github.com/icalendar/icalendar", branch: "2.0beta"
-gem "icalendar-recurrence", git: "https://github.com/icalendar/icalendar-recurrence"
+gem "icalendar-recurrence"
```
and run `bundle install` from your shell.
## Usage
@@ -33,10 +29,10 @@
An event occurrence is a simple struct object with `start_time` and `end_time` methods.
```ruby
occurrence.start_time # => 2014-02-01 00:00:00 -0800
-occurrence.end_time # => 2014-02-02 00:00:00 -0800
+occurrence.end_time # => 2014-02-02 00:00:00 -0800
```
### Daily event with excluded date (inline ICS example)
```ruby