producteev 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Producteev Api
2
2
 
3
3
  A Ruby wrapper for the Producteev REST API
4
+ ## Ruby >=1.9.2 is needed!
4
5
 
5
6
  Supports all the API methods. If i have missed any let me know. More information on the API can be found at http://code.google.com/p/producteev-api/wiki/methodsDescriptions#Summary
6
7
 
@@ -36,27 +37,28 @@ producteevclient = Producteev.new("api_key_from_producteev","api_secret_from_pro
36
37
  Login in as a user
37
38
 
38
39
  ```ruby
39
- producteevclient.login("username","password")
40
+ client1 = producteevclient.login("username","password")
41
+ client2 = producteevclient.login("username1","password1")
40
42
  ```
41
43
 
42
44
  Get the server time
43
45
 
44
46
  ```ruby
45
- producteevclient.time
47
+ client1.time
46
48
  ```
47
49
 
48
50
  Get as list of tasks
49
51
 
50
52
  ```ruby
51
- producteevclient.tasks.show_list
52
- producteevclient.tasks.show_list({:page=>1})
53
+ client1.tasks.show_list
54
+ client2.tasks.show_list({:page=>1})
53
55
  ```
54
56
 
55
57
  Get as list of lables
56
58
 
57
59
  ```ruby
58
- producteevclient.labels.show_list
59
- producteevclient.labels.show_list({:page=>1})
60
+ client1.labels.show_list
61
+ client2.labels.show_list({:page=>1})
60
62
  ```
61
63
 
62
64
  Dashboards, users and activities can also be used in the same way. Please note all httparty exceptions you will have to deal with. All function calls return a hash.
@@ -2,7 +2,7 @@ module Producteev
2
2
  module VERSION
3
3
  MAJOR = 1
4
4
  MINOR = 0
5
- PATCH = 0
5
+ PATCH = 1
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.');
data/producteev.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.description = "Api client for producteev"
9
9
  s.authors = ["Stephen Johnson"]
10
10
  s.email = 'steve@thatbytes.co.uk'
11
- s.files = ["lib/hola.rb"]
11
+ s.required_ruby_version = '>= 1.9.2'
12
12
  s.homepage =
13
13
  'http://github.com/stephenrjohnson/producteev'
14
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: producteev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &17732380 !ruby/object:Gem::Requirement
16
+ requirement: &15666720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *17732380
24
+ version_requirements: *15666720
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: json
27
- requirement: &17731800 !ruby/object:Gem::Requirement
27
+ requirement: &15665820 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *17731800
35
+ version_requirements: *15665820
36
36
  description: Api client for producteev
37
37
  email: steve@thatbytes.co.uk
38
38
  executables: []
@@ -63,7 +63,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - ! '>='
65
65
  - !ruby/object:Gem::Version
66
- version: '0'
66
+ version: 1.9.2
67
67
  required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  none: false
69
69
  requirements: