google_calendar 0.4.1 → 0.4.2

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: cb6ee8f97c1f4f064a5915428a3b5259a5f0d050
4
- data.tar.gz: 01915a98a647b36bd2f22121db9f162196d6e952
3
+ metadata.gz: c297b3a72681304aedd3ab416624ad08cf0a81a0
4
+ data.tar.gz: e442a228ba475e8aaffc59450146ba5f1ebe0fec
5
5
  SHA512:
6
- metadata.gz: 97dba08c8fcc7e2c9e25917992c5a5830325412dbbd0bace74eb9c147fe08d02f0e04b353f234e4ed571d8a87b75693636d096d5fa61792648fe137745807d92
7
- data.tar.gz: 4b024ebb4f6b049afe2df43bcb4c08a869660781a36a60c73566912b4da471a0b834db06815ef3aa63a61404d1a535ff1f608a29edc3333584a74bb902589470
6
+ metadata.gz: 6e9f87759fb2caaecc84a997afef82fcced67b8551d5c71da44d4043106f192bed69c520951dde71c9b1d870f681433ab1b52b0255fc5d9cffa1035012900f7e
7
+ data.tar.gz: 5fcd845f10346f292710c16c5cba98c35aae2a0889fc1affb3ea623bf02b89877998c8c734baef722b63d648364cbe0f802c8147f11df88779260c22961a69ca
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google_calendar (0.4.0)
5
- signet (>= 0.5.1)
4
+ google_calendar (0.4.1)
5
+ signet (~> 0.5)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
@@ -81,15 +81,15 @@ PLATFORMS
81
81
  ruby
82
82
 
83
83
  DEPENDENCIES
84
- bundler (>= 1.0.0)
84
+ bundler (>= 1.2)
85
85
  codeclimate-test-reporter
86
86
  google_calendar!
87
- guard-minitest
87
+ guard-minitest (~> 2.3)
88
88
  minitest (~> 5.1)
89
- minitest-reporters
90
- mocha
91
- rake (> 10)
92
- rb-fsevent
93
- rdoc (>= 3)
94
- shoulda-context
95
- terminal-notifier-guard
89
+ minitest-reporters (~> 1.0)
90
+ mocha (~> 1.1)
91
+ rake (~> 10)
92
+ rb-fsevent (~> 0.9)
93
+ rdoc (~> 4.1)
94
+ shoulda-context (~> 1.2)
95
+ terminal-notifier-guard (~> 1.6)
@@ -2,8 +2,8 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "google_calendar"
5
- s.version = "0.4.1"
6
- s.date = "2014-11-21"
5
+ s.version = "0.4.2"
6
+ s.date = "2014-11-23"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
 
@@ -24,19 +24,19 @@ Gem::Specification.new do |s|
24
24
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
25
25
 
26
26
  s.require_paths = ["lib"]
27
- s.rubygems_version = "1.8.24"
27
+ s.rubygems_version = "2.2.2"
28
28
 
29
- s.add_runtime_dependency(%q<signet>, [">= 0.5.1"])
29
+ s.add_runtime_dependency(%q<signet>, ["~> 0.5"])
30
30
 
31
- s.add_development_dependency(%q<terminal-notifier-guard>, [">= 0"])
32
- s.add_development_dependency(%q<rb-fsevent>, [">= 0"])
33
- s.add_development_dependency(%q<guard-minitest>, [">= 0"])
31
+ s.add_development_dependency(%q<terminal-notifier-guard>, ["~> 1.6"])
32
+ s.add_development_dependency(%q<rb-fsevent>, ["~> 0.9"])
33
+ s.add_development_dependency(%q<guard-minitest>, ["~> 2.3"])
34
34
  s.add_development_dependency(%q<minitest>, ["~> 5.1"])
35
- s.add_development_dependency(%q<minitest-reporters>, [">=0"])
36
- s.add_development_dependency(%q<shoulda-context>, [">= 0"])
37
- s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
38
- s.add_development_dependency(%q<mocha>, [">= 0"])
39
- s.add_development_dependency(%q<rake>, ["> 10"])
40
- s.add_development_dependency(%q<rdoc>, [">= 3"])
35
+ s.add_development_dependency(%q<minitest-reporters>, ["~> 1.0"])
36
+ s.add_development_dependency(%q<shoulda-context>, ["~> 1.2"])
37
+ s.add_development_dependency(%q<bundler>, [">= 1.2"])
38
+ s.add_development_dependency(%q<mocha>, ["~> 1.1"])
39
+ s.add_development_dependency(%q<rake>, ["~> 10"])
40
+ s.add_development_dependency(%q<rdoc>, ["~> 4.1"])
41
41
 
42
42
  end
@@ -233,7 +233,7 @@ module Google
233
233
  # Utility method to centralize time encoding.
234
234
  #
235
235
  def encode_time(time) #:nodoc:
236
- time.strftime("%FT%T%z")
236
+ time.utc.strftime("%FT%TZ")
237
237
  end
238
238
 
239
239
  #
@@ -79,16 +79,16 @@ class TestGoogleCalendar < Minitest::Test
79
79
  end
80
80
 
81
81
  should "find events in range" do
82
- start_min = DateTime.new(2011, 2, 1, 11, 1, 1)
83
- start_max = DateTime.new(2011, 2, 28, 23, 59, 59)
84
- @calendar.expects(:event_lookup).with('?timeMin=2011-02-01T11:01:01+0000&timeMax=2011-02-28T23:59:59+0000&orderBy=startTime&maxResults=25&singleEvents=true')
82
+ start_min = Time.new(2011, 2, 1, 11, 1, 1).utc
83
+ start_max = Time.new(2011, 2, 28, 23, 59, 59).utc
84
+ @calendar.expects(:event_lookup).with('?timeMin=2011-02-01T19:01:01Z&timeMax=2011-03-01T07:59:59Z&orderBy=startTime&maxResults=25&singleEvents=true')
85
85
  events = @calendar.find_events_in_range(start_min, start_max)
86
86
  end
87
87
 
88
88
  should "find future events" do
89
- now = DateTime.now
90
- DateTime.stubs(:now).returns(now)
91
- formatted_time = now.strftime("%FT%T%z")
89
+ now = Time.now.utc
90
+ Time.stubs(:now).returns(now)
91
+ formatted_time = now.strftime("%FT%TZ")
92
92
  @calendar.expects(:event_lookup).with("?timeMin=#{formatted_time}&orderBy=startTime&maxResults=25&singleEvents=true")
93
93
  events = @calendar.find_future_events()
94
94
  end
metadata CHANGED
@@ -1,169 +1,169 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_calendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Zich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-21 00:00:00.000000000 Z
11
+ date: 2014-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: signet
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.1
19
+ version: '0.5'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 0.5.1
26
+ version: '0.5'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: terminal-notifier-guard
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '1.6'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '1.6'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rb-fsevent
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '0.9'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '0.9'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: guard-minitest
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '2.3'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: '2.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '5.1'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '5.1'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: minitest-reporters
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: '1.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: '1.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: shoulda-context
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '1.2'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: '1.2'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: bundler
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ">="
115
+ - - '>='
116
116
  - !ruby/object:Gem::Version
117
- version: 1.0.0
117
+ version: '1.2'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - '>='
123
123
  - !ruby/object:Gem::Version
124
- version: 1.0.0
124
+ version: '1.2'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: mocha
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ">="
129
+ - - ~>
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: '1.1'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - ~>
137
137
  - !ruby/object:Gem::Version
138
- version: '0'
138
+ version: '1.1'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rake
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">"
143
+ - - ~>
144
144
  - !ruby/object:Gem::Version
145
145
  version: '10'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">"
150
+ - - ~>
151
151
  - !ruby/object:Gem::Version
152
152
  version: '10'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rdoc
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ">="
157
+ - - ~>
158
158
  - !ruby/object:Gem::Version
159
- version: '3'
159
+ version: '4.1'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ">="
164
+ - - ~>
165
165
  - !ruby/object:Gem::Version
166
- version: '3'
166
+ version: '4.1'
167
167
  description: A minimal wrapper around the google calendar API
168
168
  email: steve.zich@gmail.com
169
169
  executables: []
@@ -172,9 +172,9 @@ extra_rdoc_files:
172
172
  - LICENSE.txt
173
173
  - README.rdoc
174
174
  files:
175
- - ".document"
176
- - ".gitignore"
177
- - ".travis.yml"
175
+ - .document
176
+ - .gitignore
177
+ - .travis.yml
178
178
  - Gemfile
179
179
  - Gemfile.lock
180
180
  - Guardfile
@@ -215,17 +215,17 @@ require_paths:
215
215
  - lib
216
216
  required_ruby_version: !ruby/object:Gem::Requirement
217
217
  requirements:
218
- - - ">="
218
+ - - '>='
219
219
  - !ruby/object:Gem::Version
220
220
  version: '0'
221
221
  required_rubygems_version: !ruby/object:Gem::Requirement
222
222
  requirements:
223
- - - ">="
223
+ - - '>='
224
224
  - !ruby/object:Gem::Version
225
225
  version: '0'
226
226
  requirements: []
227
227
  rubyforge_project:
228
- rubygems_version: 2.2.2
228
+ rubygems_version: 2.0.3
229
229
  signing_key:
230
230
  specification_version: 4
231
231
  summary: A lightweight Google Calendar API wrapper