optionsful 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/optionsful.rb +10 -0
- data/optionsful.gemspec +6 -6
- data/tasks/optionsful.rake +11 -0
- metadata +8 -7
- data/lib/tasks/optionsful.rake +0 -8
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ begin
|
|
15
15
|
gem.add_development_dependency "rspec", ">= 1.2.9"
|
16
16
|
gem.add_development_dependency "yard", ">= 0"
|
17
17
|
gem.add_development_dependency "cucumber", ">= 0"
|
18
|
-
gem.add_dependency "rails", "
|
18
|
+
gem.add_dependency "rails", "= 3.0.0.rc"
|
19
19
|
end
|
20
20
|
Jeweler::GemcutterTasks.new
|
21
21
|
Jeweler::RubyforgeTasks.new do |rubyforge|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/lib/optionsful.rb
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
|
1
5
|
##
|
2
6
|
# Baurets Software
|
3
7
|
# kayaman@baurets.net
|
@@ -7,5 +11,11 @@ module Baurets
|
|
7
11
|
autoload :Server, 'baurets/optionsful/server'
|
8
12
|
autoload :Introspections, 'baurets/optionsful/introspections'
|
9
13
|
autoload :Config, 'baurets/optionsful/config'
|
14
|
+
|
15
|
+
LIB_ROOT = File.dirname(__FILE__)
|
10
16
|
end
|
17
|
+
end
|
18
|
+
|
19
|
+
unless Rake::Task.task_defined? "optionsful:yml"
|
20
|
+
load File.join(Baurets::Optionsful::LIB_ROOT, '..', 'tasks', 'optionsful.rake')
|
11
21
|
end
|
data/optionsful.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{optionsful}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Marco Antonio Gonzalez Junior"]
|
@@ -32,7 +32,6 @@ Gem::Specification.new do |s|
|
|
32
32
|
"lib/baurets/optionsful/introspections.rb",
|
33
33
|
"lib/baurets/optionsful/server.rb",
|
34
34
|
"lib/optionsful.rb",
|
35
|
-
"lib/tasks/optionsful.rake",
|
36
35
|
"optionsful.gemspec",
|
37
36
|
"rails/init.rb",
|
38
37
|
"spec/config/optionsful.yml",
|
@@ -42,7 +41,8 @@ Gem::Specification.new do |s|
|
|
42
41
|
"spec/optionsful_config_spec.rb",
|
43
42
|
"spec/optionsful_server_spec.rb",
|
44
43
|
"spec/spec.opts",
|
45
|
-
"spec/spec_helper.rb"
|
44
|
+
"spec/spec_helper.rb",
|
45
|
+
"tasks/optionsful.rake"
|
46
46
|
]
|
47
47
|
s.homepage = %q{http://github.com/kayaman/optionsful}
|
48
48
|
s.rdoc_options = ["--charset=UTF-8"]
|
@@ -65,18 +65,18 @@ Gem::Specification.new do |s|
|
|
65
65
|
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
|
66
66
|
s.add_development_dependency(%q<yard>, [">= 0"])
|
67
67
|
s.add_development_dependency(%q<cucumber>, [">= 0"])
|
68
|
-
s.add_runtime_dependency(%q<rails>, ["
|
68
|
+
s.add_runtime_dependency(%q<rails>, ["= 3.0.0.rc"])
|
69
69
|
else
|
70
70
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
71
71
|
s.add_dependency(%q<yard>, [">= 0"])
|
72
72
|
s.add_dependency(%q<cucumber>, [">= 0"])
|
73
|
-
s.add_dependency(%q<rails>, ["
|
73
|
+
s.add_dependency(%q<rails>, ["= 3.0.0.rc"])
|
74
74
|
end
|
75
75
|
else
|
76
76
|
s.add_dependency(%q<rspec>, [">= 1.2.9"])
|
77
77
|
s.add_dependency(%q<yard>, [">= 0"])
|
78
78
|
s.add_dependency(%q<cucumber>, [">= 0"])
|
79
|
-
s.add_dependency(%q<rails>, ["
|
79
|
+
s.add_dependency(%q<rails>, ["= 3.0.0.rc"])
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
namespace :optionsful do
|
5
|
+
desc "Install 'config/optionsful.yml'"
|
6
|
+
task :yml do
|
7
|
+
FileUtils.cp File.join(Baurets::Optionsful::LIB_ROOT, '..','config', 'optionsful.yml'), File.join(Rails.root, 'config', 'optionsful.yml')
|
8
|
+
puts "\nNow you are able to configure Link hader generation settings"
|
9
|
+
puts "\nEdit the file 'config/optionsful.yml' on your Rails application."
|
10
|
+
end
|
11
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: optionsful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 2
|
10
|
+
version: 0.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Marco Antonio Gonzalez Junior
|
@@ -68,14 +68,15 @@ dependencies:
|
|
68
68
|
requirement: &id004 !ruby/object:Gem::Requirement
|
69
69
|
none: false
|
70
70
|
requirements:
|
71
|
-
- - "
|
71
|
+
- - "="
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
hash:
|
73
|
+
hash: 7712042
|
74
74
|
segments:
|
75
75
|
- 3
|
76
76
|
- 0
|
77
77
|
- 0
|
78
|
-
|
78
|
+
- rc
|
79
|
+
version: 3.0.0.rc
|
79
80
|
type: :runtime
|
80
81
|
version_requirements: *id004
|
81
82
|
description: Help building RESTful web services by supporting the HTTP OPTIONS verb on Ruby on Rails applications.
|
@@ -103,7 +104,6 @@ files:
|
|
103
104
|
- lib/baurets/optionsful/introspections.rb
|
104
105
|
- lib/baurets/optionsful/server.rb
|
105
106
|
- lib/optionsful.rb
|
106
|
-
- lib/tasks/optionsful.rake
|
107
107
|
- optionsful.gemspec
|
108
108
|
- rails/init.rb
|
109
109
|
- spec/config/optionsful.yml
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- spec/optionsful_server_spec.rb
|
115
115
|
- spec/spec.opts
|
116
116
|
- spec/spec_helper.rb
|
117
|
+
- tasks/optionsful.rake
|
117
118
|
has_rdoc: true
|
118
119
|
homepage: http://github.com/kayaman/optionsful
|
119
120
|
licenses: []
|