opushon 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/VERSION.semver +1 -1
- data/lib/opushon/type/base.rb +1 -1
- data/spec/opushon/parameter/input_spec.rb +7 -7
- data/spec/opushon/parameter/output_spec.rb +7 -7
- data/spec/opushon_spec.rb +10 -10
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 04f7e087af188ca2457a822bb5c427898f8f24c1
|
|
4
|
+
data.tar.gz: 4a5d0680343e9ce1ee25fdfbb45078fc8249ea7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a34d5465e4665d012a49f3aadcb3135ab53e7a44ae968f656d42541367c4cc80dabd79202c8956eb1b4ff73a4a4143d4d65c824aa8740c1d483270547906871b
|
|
7
|
+
data.tar.gz: d69f4bcdc6579feafda7137fc91854d30bf1339d2bdafa5bbf8eef07f61623c1a3d0158318dc0eb611aa968d8509e718cbd3f976c403daaa428583451240b059
|
data/VERSION.semver
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/lib/opushon/type/base.rb
CHANGED
|
@@ -28,7 +28,7 @@ describe Opushon::Parameter::Input do
|
|
|
28
28
|
|
|
29
29
|
o.to_h.must_equal(title: '',
|
|
30
30
|
description: '',
|
|
31
|
-
type:
|
|
31
|
+
type: :string,
|
|
32
32
|
nullifiable: true,
|
|
33
33
|
query_string: true,
|
|
34
34
|
restricted_values: nil,
|
|
@@ -44,7 +44,7 @@ describe Opushon::Parameter::Input do
|
|
|
44
44
|
|
|
45
45
|
o.to_h.must_equal(title: '',
|
|
46
46
|
description: '',
|
|
47
|
-
type:
|
|
47
|
+
type: :string,
|
|
48
48
|
nullifiable: true,
|
|
49
49
|
query_string: true,
|
|
50
50
|
restricted_values: nil,
|
|
@@ -60,7 +60,7 @@ describe Opushon::Parameter::Input do
|
|
|
60
60
|
|
|
61
61
|
o.to_h.must_equal(title: '',
|
|
62
62
|
description: '',
|
|
63
|
-
type:
|
|
63
|
+
type: :number,
|
|
64
64
|
nullifiable: true,
|
|
65
65
|
query_string: true,
|
|
66
66
|
restricted_values: nil,
|
|
@@ -75,7 +75,7 @@ describe Opushon::Parameter::Input do
|
|
|
75
75
|
|
|
76
76
|
o.to_h.must_equal(title: '',
|
|
77
77
|
description: '',
|
|
78
|
-
type:
|
|
78
|
+
type: :boolean,
|
|
79
79
|
nullifiable: true,
|
|
80
80
|
query_string: true,
|
|
81
81
|
restricted_values: nil)
|
|
@@ -88,7 +88,7 @@ describe Opushon::Parameter::Input do
|
|
|
88
88
|
|
|
89
89
|
o.to_h.must_equal(title: '',
|
|
90
90
|
description: '',
|
|
91
|
-
type:
|
|
91
|
+
type: :array,
|
|
92
92
|
nullifiable: true,
|
|
93
93
|
query_string: true,
|
|
94
94
|
restricted_values: nil)
|
|
@@ -101,7 +101,7 @@ describe Opushon::Parameter::Input do
|
|
|
101
101
|
|
|
102
102
|
o.to_h.must_equal(title: '',
|
|
103
103
|
description: '',
|
|
104
|
-
type:
|
|
104
|
+
type: :hash,
|
|
105
105
|
nullifiable: true,
|
|
106
106
|
query_string: true,
|
|
107
107
|
restricted_values: nil)
|
|
@@ -135,7 +135,7 @@ describe Opushon::Parameter::Input do
|
|
|
135
135
|
|
|
136
136
|
o.to_h.must_equal(title: '',
|
|
137
137
|
description: 'State of the issues to return.',
|
|
138
|
-
type:
|
|
138
|
+
type: :boolean,
|
|
139
139
|
nullifiable: true,
|
|
140
140
|
query_string: false,
|
|
141
141
|
restricted_values: [
|
|
@@ -28,7 +28,7 @@ describe Opushon::Parameter::Output do
|
|
|
28
28
|
|
|
29
29
|
o.to_h.must_equal(title: '',
|
|
30
30
|
description: '',
|
|
31
|
-
type:
|
|
31
|
+
type: :string,
|
|
32
32
|
nullifiable: true)
|
|
33
33
|
end
|
|
34
34
|
end
|
|
@@ -39,7 +39,7 @@ describe Opushon::Parameter::Output do
|
|
|
39
39
|
|
|
40
40
|
o.to_h.must_equal(title: '',
|
|
41
41
|
description: '',
|
|
42
|
-
type:
|
|
42
|
+
type: :string,
|
|
43
43
|
nullifiable: true)
|
|
44
44
|
end
|
|
45
45
|
end
|
|
@@ -50,7 +50,7 @@ describe Opushon::Parameter::Output do
|
|
|
50
50
|
|
|
51
51
|
o.to_h.must_equal(title: '',
|
|
52
52
|
description: '',
|
|
53
|
-
type:
|
|
53
|
+
type: :number,
|
|
54
54
|
nullifiable: true)
|
|
55
55
|
end
|
|
56
56
|
end
|
|
@@ -61,7 +61,7 @@ describe Opushon::Parameter::Output do
|
|
|
61
61
|
|
|
62
62
|
o.to_h.must_equal(title: '',
|
|
63
63
|
description: '',
|
|
64
|
-
type:
|
|
64
|
+
type: :boolean,
|
|
65
65
|
nullifiable: true)
|
|
66
66
|
end
|
|
67
67
|
end
|
|
@@ -72,7 +72,7 @@ describe Opushon::Parameter::Output do
|
|
|
72
72
|
|
|
73
73
|
o.to_h.must_equal(title: '',
|
|
74
74
|
description: '',
|
|
75
|
-
type:
|
|
75
|
+
type: :array,
|
|
76
76
|
nullifiable: true)
|
|
77
77
|
end
|
|
78
78
|
end
|
|
@@ -83,7 +83,7 @@ describe Opushon::Parameter::Output do
|
|
|
83
83
|
|
|
84
84
|
o.to_h.must_equal(title: '',
|
|
85
85
|
description: '',
|
|
86
|
-
type:
|
|
86
|
+
type: :hash,
|
|
87
87
|
nullifiable: true)
|
|
88
88
|
end
|
|
89
89
|
end
|
|
@@ -100,7 +100,7 @@ describe Opushon::Parameter::Output do
|
|
|
100
100
|
|
|
101
101
|
o.to_h.must_equal(title: '',
|
|
102
102
|
description: 'State of the issues to return.',
|
|
103
|
-
type:
|
|
103
|
+
type: :boolean,
|
|
104
104
|
nullifiable: true)
|
|
105
105
|
end
|
|
106
106
|
end
|
data/spec/opushon_spec.rb
CHANGED
|
@@ -159,7 +159,7 @@ describe Opushon do
|
|
|
159
159
|
:title=>"",
|
|
160
160
|
:description=>"Identify the page to return.",
|
|
161
161
|
:nullifiable=>true,
|
|
162
|
-
:type
|
|
162
|
+
:type=>:number,
|
|
163
163
|
:min=>1,
|
|
164
164
|
:max=>nil
|
|
165
165
|
},
|
|
@@ -169,7 +169,7 @@ describe Opushon do
|
|
|
169
169
|
:title=>"",
|
|
170
170
|
:description=>"Indicate the number of issues per page.",
|
|
171
171
|
:nullifiable=>true,
|
|
172
|
-
:type
|
|
172
|
+
:type=>:number,
|
|
173
173
|
:min=>1,
|
|
174
174
|
:max=>100
|
|
175
175
|
},
|
|
@@ -195,7 +195,7 @@ describe Opushon do
|
|
|
195
195
|
:title=>"",
|
|
196
196
|
:description=>"Indicates the state of the issues to return.",
|
|
197
197
|
:nullifiable=>true,
|
|
198
|
-
:type
|
|
198
|
+
:type=>:string,
|
|
199
199
|
:minlen=>nil,
|
|
200
200
|
:maxlen=>nil,
|
|
201
201
|
:pattern=>nil
|
|
@@ -206,25 +206,25 @@ describe Opushon do
|
|
|
206
206
|
:title=>"",
|
|
207
207
|
:description=>"The datetime that the resource was created at.",
|
|
208
208
|
:nullifiable=>false,
|
|
209
|
-
:type
|
|
209
|
+
:type=>:string
|
|
210
210
|
},
|
|
211
211
|
:title=>{
|
|
212
212
|
:title=>"",
|
|
213
213
|
:description=>"The title of the resource.",
|
|
214
214
|
:nullifiable=>false,
|
|
215
|
-
:type
|
|
215
|
+
:type=>:string
|
|
216
216
|
},
|
|
217
217
|
:body=>{
|
|
218
218
|
:title=>"",
|
|
219
219
|
:description=>"The body of the resource.",
|
|
220
220
|
:nullifiable=>true,
|
|
221
|
-
:type
|
|
221
|
+
:type=>:string
|
|
222
222
|
},
|
|
223
223
|
:state=>{
|
|
224
224
|
:title=>"",
|
|
225
225
|
:description=>"Indicates the state of the issue.",
|
|
226
226
|
:nullifiable=>false,
|
|
227
|
-
:type
|
|
227
|
+
:type=>:string
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
},
|
|
@@ -251,7 +251,7 @@ describe Opushon do
|
|
|
251
251
|
:title=>"",
|
|
252
252
|
:description=>"Issue title.",
|
|
253
253
|
:nullifiable=>false,
|
|
254
|
-
:type
|
|
254
|
+
:type=>:string,
|
|
255
255
|
:minlen=>nil,
|
|
256
256
|
:maxlen=>255,
|
|
257
257
|
:pattern=>nil
|
|
@@ -262,7 +262,7 @@ describe Opushon do
|
|
|
262
262
|
:title=>"",
|
|
263
263
|
:description=>"Issue body.",
|
|
264
264
|
:nullifiable=>true,
|
|
265
|
-
:type
|
|
265
|
+
:type=>:string,
|
|
266
266
|
:minlen=>nil,
|
|
267
267
|
:maxlen=>nil,
|
|
268
268
|
:pattern=>nil
|
|
@@ -289,7 +289,7 @@ describe Opushon do
|
|
|
289
289
|
:title=>"",
|
|
290
290
|
:description=>"Labels to associate with this issue.",
|
|
291
291
|
:nullifiable=>true,
|
|
292
|
-
:type
|
|
292
|
+
:type=>:string,
|
|
293
293
|
:minlen=>nil,
|
|
294
294
|
:maxlen=>nil,
|
|
295
295
|
:pattern=>nil
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opushon
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cyril Wack
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-12-
|
|
11
|
+
date: 2014-12-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|