ruby-trello 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -2
- data/lib/trello/action.rb +4 -5
- data/lib/trello/association.rb +11 -0
- data/lib/trello/association_proxy.rb +42 -0
- data/lib/trello/authorization.rb +47 -13
- data/lib/trello/basic_data.rb +34 -4
- data/lib/trello/board.rb +17 -23
- data/lib/trello/card.rb +21 -15
- data/lib/trello/checklist.rb +10 -11
- data/lib/trello/client.rb +2 -0
- data/lib/trello/has_actions.rb +2 -1
- data/lib/trello/item.rb +1 -1
- data/lib/trello/item_state.rb +1 -1
- data/lib/trello/list.rb +9 -12
- data/lib/trello/member.rb +25 -18
- data/lib/trello/multi_association.rb +10 -0
- data/lib/trello/net.rb +4 -2
- data/lib/trello/notification.rb +3 -4
- data/lib/trello/organization.rb +6 -3
- data/lib/trello/string.rb +3 -2
- data/lib/trello/token.rb +24 -0
- data/lib/trello.rb +19 -15
- data/spec/action_spec.rb +1 -1
- data/spec/board_spec.rb +1 -1
- data/spec/card_spec.rb +45 -4
- data/spec/member_spec.rb +11 -7
- data/spec/notification_spec.rb +4 -3
- data/spec/oauth_policy_spec.rb +60 -49
- data/spec/spec_helper.rb +33 -1
- data/spec/token_spec.rb +33 -0
- metadata +40 -23
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-trello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,22 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-02-13 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: yajl-ruby
|
16
|
-
requirement: &70158442213940 !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 1.1.0
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: *70158442213940
|
25
14
|
- !ruby/object:Gem::Dependency
|
26
15
|
name: oauth
|
27
|
-
requirement: &
|
16
|
+
requirement: &70256886904160 !ruby/object:Gem::Requirement
|
28
17
|
none: false
|
29
18
|
requirements:
|
30
19
|
- - ~>
|
@@ -32,10 +21,10 @@ dependencies:
|
|
32
21
|
version: 0.4.5
|
33
22
|
type: :runtime
|
34
23
|
prerelease: false
|
35
|
-
version_requirements: *
|
24
|
+
version_requirements: *70256886904160
|
36
25
|
- !ruby/object:Gem::Dependency
|
37
26
|
name: addressable
|
38
|
-
requirement: &
|
27
|
+
requirement: &70256886903640 !ruby/object:Gem::Requirement
|
39
28
|
none: false
|
40
29
|
requirements:
|
41
30
|
- - ~>
|
@@ -43,10 +32,10 @@ dependencies:
|
|
43
32
|
version: 2.2.6
|
44
33
|
type: :runtime
|
45
34
|
prerelease: false
|
46
|
-
version_requirements: *
|
35
|
+
version_requirements: *70256886903640
|
47
36
|
- !ruby/object:Gem::Dependency
|
48
37
|
name: rest-client
|
49
|
-
requirement: &
|
38
|
+
requirement: &70256886903180 !ruby/object:Gem::Requirement
|
50
39
|
none: false
|
51
40
|
requirements:
|
52
41
|
- - ~>
|
@@ -54,10 +43,10 @@ dependencies:
|
|
54
43
|
version: 1.6.7
|
55
44
|
type: :runtime
|
56
45
|
prerelease: false
|
57
|
-
version_requirements: *
|
46
|
+
version_requirements: *70256886903180
|
58
47
|
- !ruby/object:Gem::Dependency
|
59
48
|
name: activemodel
|
60
|
-
requirement: &
|
49
|
+
requirement: &70256886902760 !ruby/object:Gem::Requirement
|
61
50
|
none: false
|
62
51
|
requirements:
|
63
52
|
- - ! '>='
|
@@ -65,10 +54,10 @@ dependencies:
|
|
65
54
|
version: '0'
|
66
55
|
type: :runtime
|
67
56
|
prerelease: false
|
68
|
-
version_requirements: *
|
57
|
+
version_requirements: *70256886902760
|
69
58
|
- !ruby/object:Gem::Dependency
|
70
59
|
name: bundler
|
71
|
-
requirement: &
|
60
|
+
requirement: &70256886902180 !ruby/object:Gem::Requirement
|
72
61
|
none: false
|
73
62
|
requirements:
|
74
63
|
- - ~>
|
@@ -76,7 +65,29 @@ dependencies:
|
|
76
65
|
version: 1.0.0
|
77
66
|
type: :development
|
78
67
|
prerelease: false
|
79
|
-
version_requirements: *
|
68
|
+
version_requirements: *70256886902180
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec
|
71
|
+
requirement: &70256886901640 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.8.0
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70256886901640
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: rake
|
82
|
+
requirement: &70256886901100 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *70256886901100
|
80
91
|
description: A wrapper around the trello.com API.
|
81
92
|
email: jeremy@tregunna.ca
|
82
93
|
executables: []
|
@@ -85,6 +96,8 @@ extra_rdoc_files:
|
|
85
96
|
- README.md
|
86
97
|
files:
|
87
98
|
- lib/trello/action.rb
|
99
|
+
- lib/trello/association.rb
|
100
|
+
- lib/trello/association_proxy.rb
|
88
101
|
- lib/trello/authorization.rb
|
89
102
|
- lib/trello/basic_data.rb
|
90
103
|
- lib/trello/board.rb
|
@@ -96,10 +109,12 @@ files:
|
|
96
109
|
- lib/trello/item_state.rb
|
97
110
|
- lib/trello/list.rb
|
98
111
|
- lib/trello/member.rb
|
112
|
+
- lib/trello/multi_association.rb
|
99
113
|
- lib/trello/net.rb
|
100
114
|
- lib/trello/notification.rb
|
101
115
|
- lib/trello/organization.rb
|
102
116
|
- lib/trello/string.rb
|
117
|
+
- lib/trello/token.rb
|
103
118
|
- lib/trello.rb
|
104
119
|
- README.md
|
105
120
|
- spec/action_spec.rb
|
@@ -120,6 +135,7 @@ files:
|
|
120
135
|
- spec/organization_spec.rb
|
121
136
|
- spec/spec_helper.rb
|
122
137
|
- spec/string_spec.rb
|
138
|
+
- spec/token_spec.rb
|
123
139
|
homepage: https://github.com/jeremytregunna/ruby-trello
|
124
140
|
licenses: []
|
125
141
|
post_install_message:
|
@@ -164,3 +180,4 @@ test_files:
|
|
164
180
|
- spec/organization_spec.rb
|
165
181
|
- spec/spec_helper.rb
|
166
182
|
- spec/string_spec.rb
|
183
|
+
- spec/token_spec.rb
|