ical_importer 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ical_importer (0.0.11)
4
+ ical_importer (0.0.12)
5
5
  activesupport (~> 3.0.15)
6
6
  i18n
7
7
  ri_cal
@@ -57,7 +57,7 @@ module IcalImporter
57
57
  def open_ical(protocol = 'http')
58
58
  raise ArgumentError, "Must be http or https" unless %w[http https].include? protocol
59
59
  begin
60
- Timeout::timeout(5) do
60
+ ::Timeout::timeout(8) do
61
61
  open prepped_uri(protocol)
62
62
  end
63
63
  rescue
@@ -1,3 +1,3 @@
1
1
  module IcalImporter
2
- VERSION = '0.0.11'
2
+ VERSION = '0.0.12'
3
3
  end
data/lib/ical_importer.rb CHANGED
@@ -1,6 +1,8 @@
1
1
  require 'active_support/all'
2
2
  require 'ri_cal'
3
3
 
4
+ require 'open-uri'
5
+ require 'timeout'
4
6
  require 'ical_importer/date_exclusion'
5
7
  require 'ical_importer/builder'
6
8
  require 'ical_importer/collector'
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.11
4
+ version: 0.0.12
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-20 00:00:00.000000000 Z
12
+ date: 2012-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -158,7 +158,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
158
158
  version: '0'
159
159
  segments:
160
160
  - 0
161
- hash: -628509997917030048
161
+ hash: -1742466176344414538
162
162
  required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  none: false
164
164
  requirements:
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  version: '0'
168
168
  segments:
169
169
  - 0
170
- hash: -628509997917030048
170
+ hash: -1742466176344414538
171
171
  requirements: []
172
172
  rubyforge_project:
173
173
  rubygems_version: 1.8.24