ical_importer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ical_importer (0.0.1)
4
+ ical_importer (0.0.2)
5
5
  activesupport (~> 3.0.15)
6
6
  i18n
7
7
  ri_cal
data/README.md CHANGED
@@ -4,20 +4,14 @@ Easily import your iCal feeds.
4
4
 
5
5
  [![TravisCI](https://secure.travis-ci.org/tstmedia/ical_importer.png "TravisCI")](http://travis-ci.org/tstmedia/ical_importer "Travis-CI IcalImporter")
6
6
 
7
- <!---
8
- [RubyGems](NOT YET "NOT YET")
9
- --->
10
-
11
- # Notes
12
-
13
- * Recurrence events are not the same as recurring events
7
+ [RubyGems](http://rubygems.org/gems/ical_importer)
14
8
 
15
9
  # Usage
16
10
 
17
11
  Add
18
12
 
19
13
  ```ruby
20
- gem 'ical_importer', :git => 'http://github.com/tstmedia/ical_importer.git'
14
+ gem 'ical_importer'
21
15
  ```
22
16
 
23
17
  to your Gemfile
@@ -61,11 +55,16 @@ parser.parse do |e|
61
55
  end
62
56
 
63
57
  # Each of these also accepts blocks and returns a list
58
+ # MUST parse before using these
64
59
  parser.all_events
65
60
  parser.recurrence_events
66
61
  parser.single_events
67
62
  ```
68
63
 
64
+ # Notes
65
+
66
+ * Recurrence events are not the same as recurring events
67
+
69
68
  # TODO
70
69
 
71
70
  * Current implementation based on an extraction from another app
@@ -16,7 +16,7 @@ module IcalImporter
16
16
  end
17
17
 
18
18
  def worth_parsing?
19
- should_parse? && feed.present? && feed.first
19
+ should_parse? && feed.present? && feed.first.present?
20
20
  end
21
21
 
22
22
  def all_events(&block)
@@ -1,3 +1,3 @@
1
1
  module IcalImporter
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ical_importer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-13 00:00:00.000000000 Z
12
+ date: 2012-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -114,6 +114,7 @@ executables: []
114
114
  extensions: []
115
115
  extra_rdoc_files: []
116
116
  files:
117
+ - .gitignore
117
118
  - .rspec
118
119
  - .rvmrc
119
120
  - .travis.yml
@@ -157,7 +158,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
158
  version: '0'
158
159
  segments:
159
160
  - 0
160
- hash: 261024239185401651
161
+ hash: 3297828595298379316
161
162
  required_rubygems_version: !ruby/object:Gem::Requirement
162
163
  none: false
163
164
  requirements:
@@ -166,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
167
  version: '0'
167
168
  segments:
168
169
  - 0
169
- hash: 261024239185401651
170
+ hash: 3297828595298379316
170
171
  requirements: []
171
172
  rubyforge_project:
172
173
  rubygems_version: 1.8.24