restfully 0.5.7 → 0.5.8
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/Rakefile +1 -33
- data/VERSION +1 -1
- data/lib/restfully.rb +1 -1
- data/restfully.gemspec +5 -3
- metadata +13 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -11,11 +11,11 @@ begin
|
|
11
11
|
gem.homepage = "http://github.com/crohr/restfully"
|
12
12
|
gem.authors = ["Cyril Rohr"]
|
13
13
|
gem.add_dependency "rest-client", '>= 1.4'
|
14
|
+
gem.add_dependency "json", '>= 1.2.0'
|
14
15
|
gem.add_dependency "backports"
|
15
16
|
gem.add_development_dependency "webmock"
|
16
17
|
gem.add_development_dependency "rspec"
|
17
18
|
gem.add_development_dependency "json"
|
18
|
-
gem.rubyforge_project = 'restfully'
|
19
19
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
20
20
|
end
|
21
21
|
|
@@ -35,38 +35,6 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
|
|
35
35
|
spec.rcov = true
|
36
36
|
end
|
37
37
|
|
38
|
-
# These are new tasks
|
39
|
-
begin
|
40
|
-
require 'rake/contrib/sshpublisher'
|
41
|
-
namespace :rubyforge do
|
42
|
-
|
43
|
-
desc "Release gem and RDoc documentation to RubyForge"
|
44
|
-
task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
|
45
|
-
|
46
|
-
namespace :release do
|
47
|
-
desc "Publish RDoc to RubyForge."
|
48
|
-
task :docs => [:rdoc] do
|
49
|
-
config = YAML.load(
|
50
|
-
File.read(File.expand_path('~/.rubyforge/user-config.yml'))
|
51
|
-
)
|
52
|
-
|
53
|
-
host = "#{config['username']}@rubyforge.org"
|
54
|
-
remote_dir = "/var/www/gforge-projects/restfully/"
|
55
|
-
local_dir = 'rdoc'
|
56
|
-
|
57
|
-
Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
61
|
-
rescue LoadError
|
62
|
-
puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
|
63
|
-
end
|
64
|
-
|
65
|
-
Jeweler::RubyforgeTasks.new do |rubyforge|
|
66
|
-
rubyforge.doc_task = "rdoc"
|
67
|
-
end
|
68
|
-
|
69
|
-
|
70
38
|
task :default => :spec
|
71
39
|
|
72
40
|
require 'rake/rdoctask'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.8
|
data/lib/restfully.rb
CHANGED
data/restfully.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{restfully}
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.8"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Cyril Rohr"]
|
12
|
-
s.date = %q{2010-03-
|
12
|
+
s.date = %q{2010-03-29}
|
13
13
|
s.default_executable = %q{restfully}
|
14
14
|
s.description = %q{Experimental code for auto-generation of wrappers on top of RESTful APIs that follow HATEOAS principles and provide OPTIONS methods and/or Allow headers.}
|
15
15
|
s.email = %q{cyril.rohr@gmail.com}
|
@@ -67,7 +67,6 @@ Gem::Specification.new do |s|
|
|
67
67
|
s.homepage = %q{http://github.com/crohr/restfully}
|
68
68
|
s.rdoc_options = ["--charset=UTF-8"]
|
69
69
|
s.require_paths = ["lib"]
|
70
|
-
s.rubyforge_project = %q{restfully}
|
71
70
|
s.rubygems_version = %q{1.3.5}
|
72
71
|
s.summary = %q{Experimental code for auto-generation of wrappers on top of RESTful APIs that follow some specific conventions.}
|
73
72
|
s.test_files = [
|
@@ -92,12 +91,14 @@ Gem::Specification.new do |s|
|
|
92
91
|
|
93
92
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
94
93
|
s.add_runtime_dependency(%q<rest-client>, [">= 1.4"])
|
94
|
+
s.add_runtime_dependency(%q<json>, [">= 1.2.0"])
|
95
95
|
s.add_runtime_dependency(%q<backports>, [">= 0"])
|
96
96
|
s.add_development_dependency(%q<webmock>, [">= 0"])
|
97
97
|
s.add_development_dependency(%q<rspec>, [">= 0"])
|
98
98
|
s.add_development_dependency(%q<json>, [">= 0"])
|
99
99
|
else
|
100
100
|
s.add_dependency(%q<rest-client>, [">= 1.4"])
|
101
|
+
s.add_dependency(%q<json>, [">= 1.2.0"])
|
101
102
|
s.add_dependency(%q<backports>, [">= 0"])
|
102
103
|
s.add_dependency(%q<webmock>, [">= 0"])
|
103
104
|
s.add_dependency(%q<rspec>, [">= 0"])
|
@@ -105,6 +106,7 @@ Gem::Specification.new do |s|
|
|
105
106
|
end
|
106
107
|
else
|
107
108
|
s.add_dependency(%q<rest-client>, [">= 1.4"])
|
109
|
+
s.add_dependency(%q<json>, [">= 1.2.0"])
|
108
110
|
s.add_dependency(%q<backports>, [">= 0"])
|
109
111
|
s.add_dependency(%q<webmock>, [">= 0"])
|
110
112
|
s.add_dependency(%q<rspec>, [">= 0"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restfully
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril Rohr
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-03-
|
12
|
+
date: 2010-03-29 00:00:00 +02:00
|
13
13
|
default_executable: restfully
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -22,6 +22,16 @@ dependencies:
|
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: "1.4"
|
24
24
|
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: json
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.2.0
|
34
|
+
version:
|
25
35
|
- !ruby/object:Gem::Dependency
|
26
36
|
name: backports
|
27
37
|
type: :runtime
|
@@ -139,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
149
|
version:
|
140
150
|
requirements: []
|
141
151
|
|
142
|
-
rubyforge_project:
|
152
|
+
rubyforge_project:
|
143
153
|
rubygems_version: 1.3.5
|
144
154
|
signing_key:
|
145
155
|
specification_version: 3
|