bbc_data_service 1.9.2 → 1.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bbc_data_service.gemspec +0 -1
- data/lib/bbc_data_service/version.rb +1 -1
- metadata +128 -83
- data/bin/bbc_data_service +0 -25
data/bbc_data_service.gemspec
CHANGED
@@ -15,7 +15,6 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = BBCDataService::VERSION
|
17
17
|
|
18
|
-
gem.add_dependency("sinatra", "~>1.2.6")
|
19
18
|
gem.add_dependency('activesupport', '~>3.1.0')
|
20
19
|
gem.add_dependency("activemodel", "~>3.1.0")
|
21
20
|
gem.add_dependency("rdf-rdfxml", "~>0.3.4")
|
metadata
CHANGED
@@ -1,128 +1,164 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbc_data_service
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 53
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 9
|
9
|
+
- 3
|
10
|
+
version: 1.9.3
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Matthew Crouch
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
requirement: &2152069320 !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: 1.2.6
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: *2152069320
|
25
|
-
- !ruby/object:Gem::Dependency
|
17
|
+
|
18
|
+
date: 2012-02-14 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
26
21
|
name: activesupport
|
27
|
-
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
28
24
|
none: false
|
29
|
-
requirements:
|
25
|
+
requirements:
|
30
26
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 3
|
31
|
+
- 1
|
32
|
+
- 0
|
32
33
|
version: 3.1.0
|
33
34
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
37
|
name: activemodel
|
38
|
-
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
40
|
none: false
|
40
|
-
requirements:
|
41
|
+
requirements:
|
41
42
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 3
|
47
|
+
- 1
|
48
|
+
- 0
|
43
49
|
version: 3.1.0
|
44
50
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
51
|
+
version_requirements: *id002
|
52
|
+
- !ruby/object:Gem::Dependency
|
48
53
|
name: rdf-rdfxml
|
49
|
-
|
54
|
+
prerelease: false
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
56
|
none: false
|
51
|
-
requirements:
|
57
|
+
requirements:
|
52
58
|
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 27
|
61
|
+
segments:
|
62
|
+
- 0
|
63
|
+
- 3
|
64
|
+
- 4
|
54
65
|
version: 0.3.4
|
55
66
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
67
|
+
version_requirements: *id003
|
68
|
+
- !ruby/object:Gem::Dependency
|
59
69
|
name: rdf-json
|
60
|
-
|
70
|
+
prerelease: false
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
61
72
|
none: false
|
62
|
-
requirements:
|
73
|
+
requirements:
|
63
74
|
- - ~>
|
64
|
-
- !ruby/object:Gem::Version
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 19
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
- 3
|
80
|
+
- 0
|
65
81
|
version: 0.3.0
|
66
82
|
type: :runtime
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
83
|
+
version_requirements: *id004
|
84
|
+
- !ruby/object:Gem::Dependency
|
70
85
|
name: nokogiri
|
71
|
-
|
86
|
+
prerelease: false
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
72
88
|
none: false
|
73
|
-
requirements:
|
74
|
-
- - =
|
75
|
-
- !ruby/object:Gem::Version
|
89
|
+
requirements:
|
90
|
+
- - "="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 3
|
93
|
+
segments:
|
94
|
+
- 1
|
95
|
+
- 5
|
96
|
+
- 0
|
76
97
|
version: 1.5.0
|
77
98
|
type: :runtime
|
78
|
-
|
79
|
-
|
80
|
-
- !ruby/object:Gem::Dependency
|
99
|
+
version_requirements: *id005
|
100
|
+
- !ruby/object:Gem::Dependency
|
81
101
|
name: rspec
|
82
|
-
|
102
|
+
prerelease: false
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
83
104
|
none: false
|
84
|
-
requirements:
|
105
|
+
requirements:
|
85
106
|
- - ~>
|
86
|
-
- !ruby/object:Gem::Version
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 23
|
109
|
+
segments:
|
110
|
+
- 2
|
111
|
+
- 6
|
112
|
+
- 0
|
87
113
|
version: 2.6.0
|
88
114
|
type: :development
|
89
|
-
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
115
|
+
version_requirements: *id006
|
116
|
+
- !ruby/object:Gem::Dependency
|
92
117
|
name: turn
|
93
|
-
|
118
|
+
prerelease: false
|
119
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
94
120
|
none: false
|
95
|
-
requirements:
|
121
|
+
requirements:
|
96
122
|
- - ~>
|
97
|
-
- !ruby/object:Gem::Version
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
hash: 59
|
125
|
+
segments:
|
126
|
+
- 0
|
127
|
+
- 8
|
128
|
+
- 2
|
98
129
|
version: 0.8.2
|
99
130
|
type: :development
|
100
|
-
|
101
|
-
|
102
|
-
- !ruby/object:Gem::Dependency
|
131
|
+
version_requirements: *id007
|
132
|
+
- !ruby/object:Gem::Dependency
|
103
133
|
name: rake
|
104
|
-
|
134
|
+
prerelease: false
|
135
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
105
136
|
none: false
|
106
|
-
requirements:
|
137
|
+
requirements:
|
107
138
|
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
hash: 63
|
141
|
+
segments:
|
142
|
+
- 0
|
143
|
+
- 9
|
144
|
+
- 2
|
109
145
|
version: 0.9.2
|
110
146
|
type: :development
|
111
|
-
|
112
|
-
version_requirements: *2152064260
|
147
|
+
version_requirements: *id008
|
113
148
|
description: BBC Data Service
|
114
|
-
email:
|
149
|
+
email:
|
115
150
|
- matthew.crouch@bbc.co.uk
|
116
|
-
executables:
|
117
|
-
|
151
|
+
executables: []
|
152
|
+
|
118
153
|
extensions: []
|
154
|
+
|
119
155
|
extra_rdoc_files: []
|
120
|
-
|
156
|
+
|
157
|
+
files:
|
121
158
|
- .gitignore
|
122
159
|
- Gemfile
|
123
160
|
- Rakefile
|
124
161
|
- bbc_data_service.gemspec
|
125
|
-
- bin/bbc_data_service
|
126
162
|
- lib/.DS_Store
|
127
163
|
- lib/bbc_data_service.rb
|
128
164
|
- lib/bbc_data_service/app_fixture.rb
|
@@ -148,29 +184,38 @@ files:
|
|
148
184
|
- spec/spec_helper.rb
|
149
185
|
homepage: https://github.com/mobzilla/bbc-data-service
|
150
186
|
licenses: []
|
187
|
+
|
151
188
|
post_install_message:
|
152
189
|
rdoc_options: []
|
153
|
-
|
190
|
+
|
191
|
+
require_paths:
|
154
192
|
- lib
|
155
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
156
194
|
none: false
|
157
|
-
requirements:
|
158
|
-
- -
|
159
|
-
- !ruby/object:Gem::Version
|
160
|
-
|
161
|
-
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
hash: 3
|
199
|
+
segments:
|
200
|
+
- 0
|
201
|
+
version: "0"
|
202
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
203
|
none: false
|
163
|
-
requirements:
|
164
|
-
- -
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
|
204
|
+
requirements:
|
205
|
+
- - ">="
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
hash: 3
|
208
|
+
segments:
|
209
|
+
- 0
|
210
|
+
version: "0"
|
167
211
|
requirements: []
|
212
|
+
|
168
213
|
rubyforge_project:
|
169
214
|
rubygems_version: 1.8.15
|
170
215
|
signing_key:
|
171
216
|
specification_version: 3
|
172
217
|
summary: BBC Data Service for fixture management
|
173
|
-
test_files:
|
218
|
+
test_files:
|
174
219
|
- spec/fixture_loader_spec.rb
|
175
220
|
- spec/fixtures/athlete.json
|
176
221
|
- spec/fixtures/athletes.json
|
data/bin/bbc_data_service
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
$:.push File.expand_path('../../lib', __FILE__)
|
4
|
-
|
5
|
-
require 'rubygems'
|
6
|
-
require 'optparse'
|
7
|
-
require 'bbc_data_service/service_config'
|
8
|
-
|
9
|
-
OptionParser.new do |opts|
|
10
|
-
opts.banner = "Usage: bbc_data_service [options]"
|
11
|
-
|
12
|
-
opts.on("-f", "--fixture-config FILE_PATH", "Path to your fixture configuration file") do |fixture_config_file_path|
|
13
|
-
ServiceConfig[:fixture_config] = fixture_config_file_path
|
14
|
-
end
|
15
|
-
|
16
|
-
opts.on_tail("-h", "--help", "Just shows this!") do
|
17
|
-
puts opts
|
18
|
-
exit
|
19
|
-
end
|
20
|
-
end.parse!
|
21
|
-
|
22
|
-
require 'bbc_data_service'
|
23
|
-
require ServiceConfig[:fixture_config].to_s
|
24
|
-
|
25
|
-
BBCDataService::Application.run!
|