fotonauts-merb_oauth 0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +14 -0
- data/Rakefile +39 -0
- metadata +63 -0
data/README
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
==== merb-oauth
|
2
|
+
|
3
|
+
Plugin to add OAuth Provider functionality.
|
4
|
+
|
5
|
+
==== Example app:
|
6
|
+
|
7
|
+
http://github.com/rubymaverick/merb-oauth-example/tree/master
|
8
|
+
|
9
|
+
Authors:
|
10
|
+
|
11
|
+
- Eric Allam
|
12
|
+
- Daniel Parker: created the original MerbRequest proxy (http://groups.google.com/group/oauth-ruby/browse_thread/thread/afc5b29291ebf2e3)
|
13
|
+
|
14
|
+
MIT License.
|
data/Rakefile
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake/gempackagetask'
|
3
|
+
require 'spec/rake/spectask'
|
4
|
+
|
5
|
+
spec = eval(File.read('merb_oauth.gemspec'))
|
6
|
+
|
7
|
+
windows = (PLATFORM =~ /win32|cygwin/) rescue nil
|
8
|
+
|
9
|
+
SUDO = windows ? "" : "sudo"
|
10
|
+
|
11
|
+
Rake::GemPackageTask.new(spec) do |pkg|
|
12
|
+
pkg.gem_spec = spec
|
13
|
+
end
|
14
|
+
|
15
|
+
desc "install merb_param_protection"
|
16
|
+
task :install => [:package] do
|
17
|
+
sh %{#{SUDO} gem install pkg/#{NAME}-#{VERSION} --no-rdoc --no-ri --no-update-sources}
|
18
|
+
end
|
19
|
+
|
20
|
+
desc 'Release the current version on rubyforge'
|
21
|
+
task :release => :package do
|
22
|
+
sh %{rubyforge add_release merb #{PLUGIN} #{VERSION} pkg/#{NAME}-#{VERSION}.gem}
|
23
|
+
end
|
24
|
+
|
25
|
+
desc "Run all specs"
|
26
|
+
Spec::Rake::SpecTask.new('specs') do |t|
|
27
|
+
t.spec_opts = ["--format", "specdoc", "--colour"]
|
28
|
+
t.spec_files = Dir['spec/**/*_spec.rb'].sort
|
29
|
+
end
|
30
|
+
|
31
|
+
desc "RCov"
|
32
|
+
Spec::Rake::SpecTask.new("rcov") do |t|
|
33
|
+
t.rcov_opts = ["--exclude", "gems", "--exclude", "spec"]
|
34
|
+
t.spec_opts = ["--format", "specdoc", "--colour"]
|
35
|
+
t.rcov_opts = ["--exclude","gems", "--exclude", "spec"]
|
36
|
+
t.spec_files = Dir["spec/**/*_spec.rb"].sort
|
37
|
+
t.libs = ["lib", "server/lib" ]
|
38
|
+
t.rcov = true
|
39
|
+
end
|
metadata
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fotonauts-merb_oauth
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.2"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Eric Allam
|
8
|
+
autorequire: merb_oauth
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-05-16 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: merb-core
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.9.4
|
24
|
+
version:
|
25
|
+
description: Merb plugin that integrates the ruby OAuth gem into Merb
|
26
|
+
email: rubymaverick@gmail.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- README
|
33
|
+
files:
|
34
|
+
- README
|
35
|
+
- Rakefile
|
36
|
+
has_rdoc: true
|
37
|
+
homepage:
|
38
|
+
post_install_message:
|
39
|
+
rdoc_options: []
|
40
|
+
|
41
|
+
require_paths:
|
42
|
+
- lib
|
43
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: "0"
|
48
|
+
version:
|
49
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
version:
|
55
|
+
requirements: []
|
56
|
+
|
57
|
+
rubyforge_project:
|
58
|
+
rubygems_version: 1.2.0
|
59
|
+
signing_key:
|
60
|
+
specification_version: 2
|
61
|
+
summary: Merb plugin that integrates the ruby OAuth gem into Merb
|
62
|
+
test_files: []
|
63
|
+
|