spore 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +13 -0
- data/Gemfile +4 -0
- data/Rakefile +3 -39
- data/lib/spore/version.rb +4 -0
- data/spore.gemspec +55 -0
- metadata +70 -12
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Rakefile
CHANGED
@@ -1,25 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
gem 'rdoc', '>= 2.5.11'
|
4
|
-
require 'rake'
|
5
|
-
|
6
|
-
begin
|
7
|
-
require 'jeweler'
|
8
|
-
Jeweler::Tasks.new do |gem|
|
9
|
-
gem.name = "spore"
|
10
|
-
gem.summary = %Q{A Ruby implementation for SPORE}
|
11
|
-
gem.description = %Q{Spore is a specification for describing ReST API that can be parsed and used automatically by client implementations to communicate with the descibed API}
|
12
|
-
gem.email = "<sukria@sukria.net>"
|
13
|
-
gem.homepage = "http://github.com/sukria/Ruby-Spore"
|
14
|
-
gem.authors = ["Alexis Sukrieh <sukria@sukria.net> [sukria]", "Hery Ramihajamalala <hery@rails-royce.org> [hallelujah]"]
|
15
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
|
-
gem.add_dependency "json", ">= 1.4.6"
|
17
|
-
gem.add_dependency "httpclient", "= 2.1.7.2"
|
18
|
-
end
|
19
|
-
Jeweler::GemcutterTasks.new
|
20
|
-
rescue LoadError
|
21
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
22
|
-
end
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
23
3
|
|
24
4
|
require 'rake/testtask'
|
25
5
|
Rake::TestTask.new(:test) do |test|
|
@@ -38,21 +18,5 @@ begin
|
|
38
18
|
test.rcov_opts += ["--exclude /gems/"]
|
39
19
|
end
|
40
20
|
rescue LoadError
|
41
|
-
|
42
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
46
|
-
task :test => :check_dependencies
|
47
|
-
|
48
|
-
task :default => :test
|
49
|
-
|
50
|
-
require 'rake/rdoctask'
|
51
|
-
Rake::RDocTask.new do |rdoc|
|
52
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
53
|
-
|
54
|
-
rdoc.rdoc_dir = 'rdoc'
|
55
|
-
rdoc.title = "spore #{version}"
|
56
|
-
rdoc.rdoc_files.include('README*')
|
57
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
|
+
puts "Install rcov gem : `gem install rcov`"
|
58
22
|
end
|
data/spore.gemspec
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
|
4
|
+
require "spore/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{spore}
|
8
|
+
s.version = "0.0.8"
|
9
|
+
|
10
|
+
s.version = Spore::VERSION
|
11
|
+
s.platform = Gem::Platform::RUBY
|
12
|
+
|
13
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
14
|
+
s.authors = ["Alexis Sukrieh <sukria@sukria.net> [sukria]", "Hery Ramihajamalala <hery@rails-royce.org> [hallelujah]"]
|
15
|
+
s.date = %q{2011-07-28}
|
16
|
+
s.description = %q{Spore is a specification for describing ReST API that can be parsed and used automatically by client implementations to communicate with the descibed API}
|
17
|
+
s.email = %q{<sukria@sukria.net>}
|
18
|
+
|
19
|
+
s.homepage = %q{http://github.com/sukria/Ruby-Spore}
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
s.rubygems_version = %q{1.3.7}
|
22
|
+
s.summary = %q{A Ruby implementation for SPORE}
|
23
|
+
s.rubyforge_project = "spore"
|
24
|
+
|
25
|
+
s.extra_rdoc_files = [
|
26
|
+
"LICENSE",
|
27
|
+
"README.rdoc"
|
28
|
+
]
|
29
|
+
|
30
|
+
s.files = `git ls-files`.split("\n")
|
31
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
32
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
33
|
+
s.require_paths = ["lib"]
|
34
|
+
|
35
|
+
s.add_development_dependency(%q<test-unit>, [">= 2.1.0"])
|
36
|
+
s.add_development_dependency(%q<rake>, [">= 0.8.7"])
|
37
|
+
s.add_development_dependency(%q<rcov>, [">= 0.9.9"])
|
38
|
+
|
39
|
+
if s.respond_to? :specification_version then
|
40
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
41
|
+
s.specification_version = 3
|
42
|
+
|
43
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
+
s.add_runtime_dependency(%q<json>, [">= 1.4.6"])
|
45
|
+
s.add_runtime_dependency(%q<httpclient>, ["= 2.1.7.2"])
|
46
|
+
else
|
47
|
+
s.add_dependency(%q<json>, [">= 1.4.6"])
|
48
|
+
s.add_dependency(%q<httpclient>, ["= 2.1.7.2"])
|
49
|
+
end
|
50
|
+
else
|
51
|
+
s.add_dependency(%q<json>, [">= 1.4.6"])
|
52
|
+
s.add_dependency(%q<httpclient>, ["= 2.1.7.2"])
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spore
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 9
|
10
|
+
version: 0.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alexis Sukrieh <sukria@sukria.net> [sukria]
|
@@ -20,9 +20,57 @@ date: 2011-07-28 00:00:00 +02:00
|
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
|
-
|
23
|
+
type: :development
|
24
|
+
name: test-unit
|
25
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ">="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 11
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 1
|
34
|
+
- 0
|
35
|
+
version: 2.1.0
|
36
|
+
prerelease: false
|
37
|
+
requirement: *id001
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
type: :development
|
40
|
+
name: rake
|
41
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 49
|
47
|
+
segments:
|
48
|
+
- 0
|
49
|
+
- 8
|
50
|
+
- 7
|
51
|
+
version: 0.8.7
|
24
52
|
prerelease: false
|
25
|
-
requirement:
|
53
|
+
requirement: *id002
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
type: :development
|
56
|
+
name: rcov
|
57
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
hash: 41
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
- 9
|
66
|
+
- 9
|
67
|
+
version: 0.9.9
|
68
|
+
prerelease: false
|
69
|
+
requirement: *id003
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
type: :runtime
|
72
|
+
name: json
|
73
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
26
74
|
none: false
|
27
75
|
requirements:
|
28
76
|
- - ">="
|
@@ -33,12 +81,12 @@ dependencies:
|
|
33
81
|
- 4
|
34
82
|
- 6
|
35
83
|
version: 1.4.6
|
36
|
-
|
37
|
-
|
84
|
+
prerelease: false
|
85
|
+
requirement: *id004
|
38
86
|
- !ruby/object:Gem::Dependency
|
87
|
+
type: :runtime
|
39
88
|
name: httpclient
|
40
|
-
|
41
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
89
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
42
90
|
none: false
|
43
91
|
requirements:
|
44
92
|
- - "="
|
@@ -50,8 +98,8 @@ dependencies:
|
|
50
98
|
- 7
|
51
99
|
- 2
|
52
100
|
version: 2.1.7.2
|
53
|
-
|
54
|
-
|
101
|
+
prerelease: false
|
102
|
+
requirement: *id005
|
55
103
|
description: Spore is a specification for describing ReST API that can be parsed and used automatically by client implementations to communicate with the descibed API
|
56
104
|
email: <sukria@sukria.net>
|
57
105
|
executables: []
|
@@ -62,7 +110,9 @@ extra_rdoc_files:
|
|
62
110
|
- LICENSE
|
63
111
|
- README.rdoc
|
64
112
|
files:
|
113
|
+
- .gitignore
|
65
114
|
- .rvmrc
|
115
|
+
- Gemfile
|
66
116
|
- LICENSE
|
67
117
|
- README.rdoc
|
68
118
|
- Rakefile
|
@@ -74,6 +124,8 @@ files:
|
|
74
124
|
- lib/spore/middleware/runtime.rb
|
75
125
|
- lib/spore/spec_parser/json.rb
|
76
126
|
- lib/spore/spec_parser/yaml.rb
|
127
|
+
- lib/spore/version.rb
|
128
|
+
- spore.gemspec
|
77
129
|
- test/github.json
|
78
130
|
- test/github.xml
|
79
131
|
- test/github.yml
|
@@ -118,13 +170,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
170
|
version: "0"
|
119
171
|
requirements: []
|
120
172
|
|
121
|
-
rubyforge_project:
|
173
|
+
rubyforge_project: spore
|
122
174
|
rubygems_version: 1.3.7
|
123
175
|
signing_key:
|
124
176
|
specification_version: 3
|
125
177
|
summary: A Ruby implementation for SPORE
|
126
178
|
test_files:
|
179
|
+
- test/github.json
|
180
|
+
- test/github.xml
|
181
|
+
- test/github.yml
|
182
|
+
- test/github1.yml
|
183
|
+
- test/github2.yml
|
127
184
|
- test/helper.rb
|
185
|
+
- test/royce.yml
|
128
186
|
- test/test_collapsing.rb
|
129
187
|
- test/test_constructor.rb
|
130
188
|
- test/test_enable_if.rb
|