citrulu 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. checksums.yaml +15 -0
  2. data/Gemfile +11 -14
  3. data/Gemfile.lock +66 -37
  4. data/README.md +2 -2
  5. data/VERSION +1 -1
  6. data/citrulu.gemspec +31 -31
  7. metadata +33 -56
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ N2Q3YTM2YWI4NjJkYTFmZDY3NmMxN2E0ZmI1MDNlYWVkNzQ3ZDVlZg==
5
+ data.tar.gz: !binary |-
6
+ MWFhOTczYzA3NTUxYzBkOTFlMmRkZjg4NGNjMWRhMTdhM2IwYzU5Mw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ZDdiZTJiNThiM2Q3ZDFmNTFhMjVkYjcyZjIyMGU5MDRhZTc2YzBmMDBkODU1
10
+ YTVkYTE2ZGI1N2JmYmQ0MWM2OWNjMTczMjk4MTUyNGI1OTE5NmMyODJlNDEw
11
+ MGQ4NjhhNGFjODc5M2E5ZmExZTQ3ZjgxNzc0ZmY1OGQ2N2I1OWQ=
12
+ data.tar.gz: !binary |-
13
+ NTMwMTllMjFkYjkyNmNjN2ZlYTk2ZGFjYThmY2MxNjYyNDdmNDU1NTczOWM2
14
+ NmYxYTE4ZjU4M2VlNDVlMmY5N2E5ZWYxNWNhZTE2MjYzODczYzE4MWY5NzYy
15
+ NWQxNGM2Y2E1ZjIzZDYzZGEyMTIwZGZmYzNlYmFiODIxMTk2ZTg=
data/Gemfile CHANGED
@@ -1,17 +1,14 @@
1
1
  source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
5
- gem "faraday" #TODO: specify version
6
- gem "json" #TODO: specify version
7
- gem "activemodel", "~>4.0.0"
8
- # Add dependencies to develop your gem here.
9
- # Include everything needed to run rake, tests, features, etc.
2
+
3
+ gem "faraday", "~> 0.8"
4
+ gem "json", "~> 1.8"
5
+ gem "activemodel", "~> 4.0"
6
+
10
7
  group :development do
11
- gem "rspec", ">= 2.11.0"
12
- gem "factory_girl", "~> 4.2.0"
13
- gem "rdoc", "~> 3.12"
14
- gem "bundler", ">= 1.0.0"
15
- gem "jeweler", "~> 1.8.4"
16
- gem "simplecov", ">= 0"
8
+ gem "rspec", "~> 2.14"
9
+ gem "factory_girl", "~> 4.3"
10
+ gem "rdoc", "~> 4.1"
11
+ gem "bundler", "~> 1.5"
12
+ gem "jeweler", "~> 1.8"
13
+ gem "simplecov", "~> 0.8"
17
14
  end
data/Gemfile.lock CHANGED
@@ -1,62 +1,91 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- activemodel (4.0.0)
5
- activesupport (= 4.0.0)
4
+ activemodel (4.0.2)
5
+ activesupport (= 4.0.2)
6
6
  builder (~> 3.1.0)
7
- activesupport (4.0.0)
7
+ activesupport (4.0.2)
8
8
  i18n (~> 0.6, >= 0.6.4)
9
9
  minitest (~> 4.2)
10
10
  multi_json (~> 1.3)
11
11
  thread_safe (~> 0.1)
12
12
  tzinfo (~> 0.3.37)
13
+ addressable (2.3.5)
13
14
  atomic (1.1.14)
14
15
  builder (3.1.4)
15
- diff-lcs (1.1.3)
16
- factory_girl (4.2.0)
16
+ diff-lcs (1.2.5)
17
+ docile (1.1.1)
18
+ factory_girl (4.3.0)
17
19
  activesupport (>= 3.0.0)
18
- faraday (0.8.4)
19
- multipart-post (~> 1.1)
20
- git (1.2.5)
21
- i18n (0.6.5)
22
- jeweler (1.8.4)
20
+ faraday (0.8.8)
21
+ multipart-post (~> 1.2.0)
22
+ git (1.2.6)
23
+ github_api (0.10.1)
24
+ addressable
25
+ faraday (~> 0.8.1)
26
+ hashie (>= 1.2)
27
+ multi_json (~> 1.4)
28
+ nokogiri (~> 1.5.2)
29
+ oauth2
30
+ hashie (2.0.5)
31
+ highline (1.6.20)
32
+ httpauth (0.2.0)
33
+ i18n (0.6.9)
34
+ jeweler (1.8.8)
35
+ builder
23
36
  bundler (~> 1.0)
24
37
  git (>= 1.2.5)
38
+ github_api (= 0.10.1)
39
+ highline (>= 1.6.15)
40
+ nokogiri (= 1.5.10)
25
41
  rake
26
42
  rdoc
27
- json (1.7.5)
43
+ json (1.8.1)
44
+ jwt (0.1.8)
45
+ multi_json (>= 1.5)
28
46
  minitest (4.7.5)
29
- multi_json (1.8.1)
30
- multipart-post (1.1.5)
31
- rake (0.9.2.2)
32
- rdoc (3.12)
33
- json (~> 1.4)
34
- rspec (2.11.0)
35
- rspec-core (~> 2.11.0)
36
- rspec-expectations (~> 2.11.0)
37
- rspec-mocks (~> 2.11.0)
38
- rspec-core (2.11.1)
39
- rspec-expectations (2.11.3)
40
- diff-lcs (~> 1.1.3)
41
- rspec-mocks (2.11.3)
42
- simplecov (0.7.1)
47
+ multi_json (1.8.2)
48
+ multi_xml (0.5.5)
49
+ multipart-post (1.2.0)
50
+ nokogiri (1.5.10)
51
+ oauth2 (0.9.2)
52
+ faraday (~> 0.8)
53
+ httpauth (~> 0.2)
54
+ jwt (~> 0.1.4)
43
55
  multi_json (~> 1.0)
44
- simplecov-html (~> 0.7.1)
45
- simplecov-html (0.7.1)
56
+ multi_xml (~> 0.5)
57
+ rack (~> 1.2)
58
+ rack (1.5.2)
59
+ rake (10.1.1)
60
+ rdoc (4.1.0)
61
+ json (~> 1.4)
62
+ rspec (2.14.1)
63
+ rspec-core (~> 2.14.0)
64
+ rspec-expectations (~> 2.14.0)
65
+ rspec-mocks (~> 2.14.0)
66
+ rspec-core (2.14.7)
67
+ rspec-expectations (2.14.4)
68
+ diff-lcs (>= 1.1.3, < 2.0)
69
+ rspec-mocks (2.14.4)
70
+ simplecov (0.8.2)
71
+ docile (~> 1.1.0)
72
+ multi_json
73
+ simplecov-html (~> 0.8.0)
74
+ simplecov-html (0.8.0)
46
75
  thread_safe (0.1.3)
47
76
  atomic
48
- tzinfo (0.3.37)
77
+ tzinfo (0.3.38)
49
78
 
50
79
  PLATFORMS
51
80
  ruby
52
81
 
53
82
  DEPENDENCIES
54
- activemodel (~> 4.0.0)
55
- bundler (>= 1.0.0)
56
- factory_girl (~> 4.2.0)
57
- faraday
58
- jeweler (~> 1.8.4)
59
- json
60
- rdoc (~> 3.12)
61
- rspec (>= 2.11.0)
62
- simplecov
83
+ activemodel (~> 4.0)
84
+ bundler (~> 1.5)
85
+ factory_girl (~> 4.3)
86
+ faraday (~> 0.8)
87
+ jeweler (~> 1.8)
88
+ json (~> 1.8)
89
+ rdoc (~> 4.1)
90
+ rspec (~> 2.14)
91
+ simplecov (~> 0.8)
data/README.md CHANGED
@@ -2,7 +2,7 @@ Citrulu
2
2
  =======
3
3
  [![Gem Version](https://badge.fury.io/rb/citrulu.png)](http://badge.fury.io/rb/citrulu)
4
4
 
5
- [Citrulu](https://www.citrulu.com/) exposes an [api](https://app.citrulu.com/api) for creating, editing and compiling test files. This gem provides a wrapper around that api which allows you to work with TestFile objects locally.
5
+ [Citrulu](https://www.citrulu.com/) exposes an [api](https://www.citrulu.com/api) for creating, editing and compiling test files. This gem provides a wrapper around that api which allows you to work with TestFile objects locally.
6
6
 
7
7
  The gem has not yet been widely used. It's probably very unlikely to cause anything bad to happen in your app, but please **use at your own risk** and raise an issue if you find any bugs.
8
8
 
@@ -20,7 +20,7 @@ gem "citrulu"
20
20
  Setup
21
21
  -----
22
22
 
23
- You need an account on Citrulu to use the gem: Sign up at <http://www.citrulu.com>, and once you're signed in you can create an API key on the '[Account Settings](https://app.citrulu.com/settings)' page.
23
+ You need an account on Citrulu to use the gem: Sign up at <http://www.citrulu.com>, and once you're signed in you can create an API key on the [Account Settings](https://app.citrulu.com/settings) page.
24
24
 
25
25
  Configure your API key by adding it to an initializer:
26
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
data/citrulu.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "citrulu"
8
- s.version = "0.2.2"
8
+ s.version = "0.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Duncan Stuart"]
12
- s.date = "2013-10-05"
12
+ s.date = "2014-01-02"
13
13
  s.description = "Citrulu exposes an api for creating, editing and compiling test files (http://www.citrulu.com/api). This gem provides a wrapper around that api which allows you to work with TestFile objects locally."
14
14
  s.email = ["contact@dxw.com", "duncan@dxw.com"]
15
15
  s.extra_rdoc_files = [
@@ -39,43 +39,43 @@ Gem::Specification.new do |s|
39
39
  s.homepage = "https://github.com/dxw/citrulu-api-ruby.git"
40
40
  s.licenses = ["MIT"]
41
41
  s.require_paths = ["lib"]
42
- s.rubygems_version = "1.8.23"
42
+ s.rubygems_version = "2.0.7"
43
43
  s.summary = "Wrapper for the api exposed by Citrulu"
44
44
 
45
45
  if s.respond_to? :specification_version then
46
- s.specification_version = 3
46
+ s.specification_version = 4
47
47
 
48
48
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
- s.add_runtime_dependency(%q<faraday>, [">= 0"])
50
- s.add_runtime_dependency(%q<json>, [">= 0"])
51
- s.add_runtime_dependency(%q<activemodel>, ["~> 4.0.0"])
52
- s.add_development_dependency(%q<rspec>, [">= 2.11.0"])
53
- s.add_development_dependency(%q<factory_girl>, ["~> 4.2.0"])
54
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
55
- s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
56
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
57
- s.add_development_dependency(%q<simplecov>, [">= 0"])
49
+ s.add_runtime_dependency(%q<faraday>, ["~> 0.8"])
50
+ s.add_runtime_dependency(%q<json>, ["~> 1.8"])
51
+ s.add_runtime_dependency(%q<activemodel>, ["~> 4.0"])
52
+ s.add_development_dependency(%q<rspec>, ["~> 2.14"])
53
+ s.add_development_dependency(%q<factory_girl>, ["~> 4.3"])
54
+ s.add_development_dependency(%q<rdoc>, ["~> 4.1"])
55
+ s.add_development_dependency(%q<bundler>, ["~> 1.5"])
56
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8"])
57
+ s.add_development_dependency(%q<simplecov>, ["~> 0.8"])
58
58
  else
59
- s.add_dependency(%q<faraday>, [">= 0"])
60
- s.add_dependency(%q<json>, [">= 0"])
61
- s.add_dependency(%q<activemodel>, ["~> 4.0.0"])
62
- s.add_dependency(%q<rspec>, [">= 2.11.0"])
63
- s.add_dependency(%q<factory_girl>, ["~> 4.2.0"])
64
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
65
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
66
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
67
- s.add_dependency(%q<simplecov>, [">= 0"])
59
+ s.add_dependency(%q<faraday>, ["~> 0.8"])
60
+ s.add_dependency(%q<json>, ["~> 1.8"])
61
+ s.add_dependency(%q<activemodel>, ["~> 4.0"])
62
+ s.add_dependency(%q<rspec>, ["~> 2.14"])
63
+ s.add_dependency(%q<factory_girl>, ["~> 4.3"])
64
+ s.add_dependency(%q<rdoc>, ["~> 4.1"])
65
+ s.add_dependency(%q<bundler>, ["~> 1.5"])
66
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
67
+ s.add_dependency(%q<simplecov>, ["~> 0.8"])
68
68
  end
69
69
  else
70
- s.add_dependency(%q<faraday>, [">= 0"])
71
- s.add_dependency(%q<json>, [">= 0"])
72
- s.add_dependency(%q<activemodel>, ["~> 4.0.0"])
73
- s.add_dependency(%q<rspec>, [">= 2.11.0"])
74
- s.add_dependency(%q<factory_girl>, ["~> 4.2.0"])
75
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
76
- s.add_dependency(%q<bundler>, [">= 1.0.0"])
77
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
78
- s.add_dependency(%q<simplecov>, [">= 0"])
70
+ s.add_dependency(%q<faraday>, ["~> 0.8"])
71
+ s.add_dependency(%q<json>, ["~> 1.8"])
72
+ s.add_dependency(%q<activemodel>, ["~> 4.0"])
73
+ s.add_dependency(%q<rspec>, ["~> 2.14"])
74
+ s.add_dependency(%q<factory_girl>, ["~> 4.3"])
75
+ s.add_dependency(%q<rdoc>, ["~> 4.1"])
76
+ s.add_dependency(%q<bundler>, ["~> 1.5"])
77
+ s.add_dependency(%q<jeweler>, ["~> 1.8"])
78
+ s.add_dependency(%q<simplecov>, ["~> 0.8"])
79
79
  end
80
80
  end
81
81
 
metadata CHANGED
@@ -1,160 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: citrulu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
5
- prerelease:
4
+ version: 0.2.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Duncan Stuart
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-10-05 00:00:00.000000000 Z
11
+ date: 2014-01-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: faraday
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: '0.8'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
26
+ version: '0.8'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: json
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ~>
36
32
  - !ruby/object:Gem::Version
37
- version: '0'
33
+ version: '1.8'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ~>
44
39
  - !ruby/object:Gem::Version
45
- version: '0'
40
+ version: '1.8'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: activemodel
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
53
- version: 4.0.0
47
+ version: '4.0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
61
- version: 4.0.0
54
+ version: '4.0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ~>
68
60
  - !ruby/object:Gem::Version
69
- version: 2.11.0
61
+ version: '2.14'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ~>
76
67
  - !ruby/object:Gem::Version
77
- version: 2.11.0
68
+ version: '2.14'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: factory_girl
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ~>
84
74
  - !ruby/object:Gem::Version
85
- version: 4.2.0
75
+ version: '4.3'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ~>
92
81
  - !ruby/object:Gem::Version
93
- version: 4.2.0
82
+ version: '4.3'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: rdoc
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - ~>
100
88
  - !ruby/object:Gem::Version
101
- version: '3.12'
89
+ version: '4.1'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - ~>
108
95
  - !ruby/object:Gem::Version
109
- version: '3.12'
96
+ version: '4.1'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: bundler
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ~>
116
102
  - !ruby/object:Gem::Version
117
- version: 1.0.0
103
+ version: '1.5'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ~>
124
109
  - !ruby/object:Gem::Version
125
- version: 1.0.0
110
+ version: '1.5'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: jeweler
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
115
  - - ~>
132
116
  - !ruby/object:Gem::Version
133
- version: 1.8.4
117
+ version: '1.8'
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
122
  - - ~>
140
123
  - !ruby/object:Gem::Version
141
- version: 1.8.4
124
+ version: '1.8'
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: simplecov
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
- - - ! '>='
129
+ - - ~>
148
130
  - !ruby/object:Gem::Version
149
- version: '0'
131
+ version: '0.8'
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
- - - ! '>='
136
+ - - ~>
156
137
  - !ruby/object:Gem::Version
157
- version: '0'
138
+ version: '0.8'
158
139
  description: Citrulu exposes an api for creating, editing and compiling test files
159
140
  (http://www.citrulu.com/api). This gem provides a wrapper around that api which
160
141
  allows you to work with TestFile objects locally.
@@ -188,29 +169,25 @@ files:
188
169
  homepage: https://github.com/dxw/citrulu-api-ruby.git
189
170
  licenses:
190
171
  - MIT
172
+ metadata: {}
191
173
  post_install_message:
192
174
  rdoc_options: []
193
175
  require_paths:
194
176
  - lib
195
177
  required_ruby_version: !ruby/object:Gem::Requirement
196
- none: false
197
178
  requirements:
198
179
  - - ! '>='
199
180
  - !ruby/object:Gem::Version
200
181
  version: '0'
201
- segments:
202
- - 0
203
- hash: 2527565269818472620
204
182
  required_rubygems_version: !ruby/object:Gem::Requirement
205
- none: false
206
183
  requirements:
207
184
  - - ! '>='
208
185
  - !ruby/object:Gem::Version
209
186
  version: '0'
210
187
  requirements: []
211
188
  rubyforge_project:
212
- rubygems_version: 1.8.23
189
+ rubygems_version: 2.0.7
213
190
  signing_key:
214
- specification_version: 3
191
+ specification_version: 4
215
192
  summary: Wrapper for the api exposed by Citrulu
216
193
  test_files: []