remember_the_meeting 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/config/exchange.yml CHANGED
@@ -1,3 +1,2 @@
1
1
  server: https://yourserver.com/ews/exchange.asmx
2
2
  user: domain\user
3
- pass: pass
@@ -1,3 +1,3 @@
1
1
  module RememberTheMeeting
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -4,6 +4,7 @@ include Platform
4
4
 
5
5
  require 'viewpoint'
6
6
  require 'yaml'
7
+ require 'highline/import'
7
8
  require 'growl' unless linux?
8
9
 
9
10
  require File.join(File.dirname(__FILE__), 'remember_the_meeting', 'calendar_item_patch')
@@ -23,8 +24,9 @@ module RememberTheMeeting
23
24
  end
24
25
 
25
26
  def setup
27
+ password = ask("Enter password: ") { |q| q.echo = false }
26
28
  Viewpoint::EWS::EWS.endpoint = config['server']
27
- Viewpoint::EWS::EWS.set_auth(config['user'], config['pass'])
29
+ Viewpoint::EWS::EWS.set_auth(config['user'], password)
28
30
  @cal = Viewpoint::EWS::CalendarFolder.get_folder :calendar
29
31
  @cal.subscribe
30
32
  end
@@ -27,4 +27,5 @@ Gem::Specification.new do |s|
27
27
  s.add_runtime_dependency 'rubyntlm'
28
28
  s.add_runtime_dependency 'icalendar'
29
29
  s.add_runtime_dependency 'viewpoint'
30
+ s.add_runtime_dependency 'highline'
30
31
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remember_the_meeting
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
4
+ hash: 25
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Milan Dobrota
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-25 00:00:00 -05:00
19
- default_executable:
18
+ date: 2011-09-25 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: nokogiri
@@ -102,6 +101,20 @@ dependencies:
102
101
  version: "0"
103
102
  type: :runtime
104
103
  version_requirements: *id006
104
+ - !ruby/object:Gem::Dependency
105
+ name: highline
106
+ prerelease: false
107
+ requirement: &id007 !ruby/object:Gem::Requirement
108
+ none: false
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ hash: 3
113
+ segments:
114
+ - 0
115
+ version: "0"
116
+ type: :runtime
117
+ version_requirements: *id007
105
118
  description: "Gem that integrates against Exchange server and notifies you 15 minutes before meetings. Linux and OSX. "
106
119
  email:
107
120
  - milan@milandobrota.com
@@ -123,7 +136,6 @@ files:
123
136
  - lib/remember_the_meeting/platform.rb
124
137
  - lib/remember_the_meeting/version.rb
125
138
  - remember_the_meeting.gemspec
126
- has_rdoc: true
127
139
  homepage: ""
128
140
  licenses: []
129
141
 
@@ -153,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
165
  requirements: []
154
166
 
155
167
  rubyforge_project: remember_the_meeting
156
- rubygems_version: 1.3.7
168
+ rubygems_version: 1.8.6
157
169
  signing_key:
158
170
  specification_version: 3
159
171
  summary: Gem that integrates against Exchange server and notifies you 15 minutes before meetings.