nitroapi 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +51 -0
- data/Gemfile +4 -16
- data/Gemfile.lock +26 -20
- data/README.md +9 -3
- data/Rakefile +1 -13
- data/lib/nitro_api.rb +114 -94
- data/lib/nitro_api/batch_calls.rb +62 -0
- data/lib/nitro_api/challenge.rb +5 -0
- data/lib/nitro_api/rule.rb +5 -0
- data/lib/nitro_api/site_calls.rb +33 -0
- data/lib/nitro_api/user_calls.rb +155 -0
- data/lib/nitro_api/version.rb +3 -0
- data/nitroapi.gemspec +21 -62
- data/spec/nitro_api_spec.rb +321 -18
- metadata +56 -41
- data/VERSION +0 -1
metadata
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nitroapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Gilad Buchman
|
9
|
+
- James H. Linder
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date:
|
13
|
-
default_executable:
|
13
|
+
date: 2012-12-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
17
|
-
requirement:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,15 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements:
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '0'
|
26
31
|
- !ruby/object:Gem::Dependency
|
27
32
|
name: json
|
28
|
-
requirement:
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
29
34
|
none: false
|
30
35
|
requirements:
|
31
36
|
- - ! '>='
|
@@ -33,79 +38,90 @@ dependencies:
|
|
33
38
|
version: '0'
|
34
39
|
type: :runtime
|
35
40
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: rspec
|
39
|
-
requirement: &2151878720 !ruby/object:Gem::Requirement
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
42
|
none: false
|
41
43
|
requirements:
|
42
|
-
- -
|
44
|
+
- - ! '>='
|
43
45
|
- !ruby/object:Gem::Version
|
44
|
-
version:
|
45
|
-
type: :development
|
46
|
-
prerelease: false
|
47
|
-
version_requirements: *2151878720
|
46
|
+
version: '0'
|
48
47
|
- !ruby/object:Gem::Dependency
|
49
48
|
name: bundler
|
50
|
-
requirement:
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
51
50
|
none: false
|
52
51
|
requirements:
|
53
52
|
- - ~>
|
54
53
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.
|
54
|
+
version: 1.2.2
|
56
55
|
type: :development
|
57
56
|
prerelease: false
|
58
|
-
version_requirements:
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.2.2
|
59
63
|
- !ruby/object:Gem::Dependency
|
60
|
-
name:
|
61
|
-
requirement:
|
64
|
+
name: rspec
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
62
66
|
none: false
|
63
67
|
requirements:
|
64
68
|
- - ~>
|
65
69
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
70
|
+
version: 2.3.0
|
67
71
|
type: :development
|
68
72
|
prerelease: false
|
69
|
-
version_requirements:
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 2.3.0
|
70
79
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
72
|
-
requirement:
|
80
|
+
name: simplecov
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
73
82
|
none: false
|
74
83
|
requirements:
|
75
|
-
- -
|
84
|
+
- - ~>
|
76
85
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
86
|
+
version: 0.7.1
|
78
87
|
type: :development
|
79
88
|
prerelease: false
|
80
|
-
version_requirements:
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ~>
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 0.7.1
|
81
95
|
description: Api client for Bunchball's Nitro. http://www.bunchball.com/nitro/
|
82
|
-
email:
|
96
|
+
email:
|
97
|
+
- gems@jlinder.com
|
83
98
|
executables: []
|
84
99
|
extensions: []
|
85
|
-
extra_rdoc_files:
|
86
|
-
- LICENSE.txt
|
87
|
-
- README.md
|
100
|
+
extra_rdoc_files: []
|
88
101
|
files:
|
89
102
|
- .document
|
103
|
+
- .gitignore
|
90
104
|
- .rspec
|
91
105
|
- Gemfile
|
92
106
|
- Gemfile.lock
|
93
107
|
- LICENSE.txt
|
94
108
|
- README.md
|
95
109
|
- Rakefile
|
96
|
-
- VERSION
|
97
110
|
- examples/award_challenge.rb
|
98
111
|
- examples/log_and_check_status.rb
|
99
112
|
- keys.json.example
|
100
113
|
- lib/nitro_api.rb
|
114
|
+
- lib/nitro_api/batch_calls.rb
|
101
115
|
- lib/nitro_api/challenge.rb
|
116
|
+
- lib/nitro_api/rule.rb
|
117
|
+
- lib/nitro_api/site_calls.rb
|
118
|
+
- lib/nitro_api/user_calls.rb
|
119
|
+
- lib/nitro_api/version.rb
|
102
120
|
- nitroapi.gemspec
|
103
121
|
- spec/nitro_api_spec.rb
|
104
122
|
- spec/spec_helper.rb
|
105
|
-
|
106
|
-
|
107
|
-
licenses:
|
108
|
-
- MIT
|
123
|
+
homepage: http://github.com/jlinder/nitroapi
|
124
|
+
licenses: []
|
109
125
|
post_install_message:
|
110
126
|
rdoc_options: []
|
111
127
|
require_paths:
|
@@ -116,9 +132,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
132
|
- - ! '>='
|
117
133
|
- !ruby/object:Gem::Version
|
118
134
|
version: '0'
|
119
|
-
segments:
|
120
|
-
- 0
|
121
|
-
hash: -1647359799222202423
|
122
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
136
|
none: false
|
124
137
|
requirements:
|
@@ -127,8 +140,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
140
|
version: '0'
|
128
141
|
requirements: []
|
129
142
|
rubyforge_project:
|
130
|
-
rubygems_version: 1.
|
143
|
+
rubygems_version: 1.8.24
|
131
144
|
signing_key:
|
132
145
|
specification_version: 3
|
133
146
|
summary: Api client for Bunchball's Nitro
|
134
|
-
test_files:
|
147
|
+
test_files:
|
148
|
+
- spec/nitro_api_spec.rb
|
149
|
+
- spec/spec_helper.rb
|
data/VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
0.0.5
|