easy_basecamp 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/easy_basecamp.gemspec +1 -1
  2. data/lib/basecamp.rb +10 -1
  3. metadata +5 -5
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "easy_basecamp"
3
- s.version = "0.0.8"
3
+ s.version = "0.0.9"
4
4
  s.email = "g.marcilhacy@gmail.com"
5
5
  s.homepage = "https://github.com/gregorym/easy-basecamp"
6
6
  s.summary = "Ruby wrapper of the Basecamp API"
data/lib/basecamp.rb CHANGED
@@ -26,4 +26,13 @@ require "basecamp/person.rb"
26
26
  require "basecamp/project.rb"
27
27
  require "basecamp/time_tracker.rb"
28
28
  require "basecamp/todo_list.rb"
29
- require "basecamp/todo_list_item.rb"
29
+ require "basecamp/todo_list_item.rb"
30
+
31
+ #https://mar6.basecamphq.com/projects/7584268-sendlater
32
+ Basecamp::Base.establish_connection!(true, "mar6", "gregory.marcilhacy", "gregochou")
33
+ Basecamp::Message.prefix = "/projects/:project_id/"
34
+ m = Basecamp::Message.new(:project_id => 7584268 )
35
+ m.title =" greg"
36
+ m.body = "gregory!!"
37
+ m.notify = [7714823]
38
+ m.save
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_basecamp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 8
10
- version: 0.0.8
9
+ - 9
10
+ version: 0.0.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Gr\xC3\xA9gory Marcilhacy"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-19 00:00:00 +02:00
18
+ date: 2011-07-25 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -57,7 +57,7 @@ files:
57
57
  - lib/basecamp/time_tracker.rb
58
58
  - lib/basecamp/todo_list.rb
59
59
  - lib/basecamp/todo_list_item.rb
60
- has_rdoc: true
60
+ has_rdoc: false
61
61
  homepage: https://github.com/gregorym/easy-basecamp
62
62
  licenses: []
63
63