Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (39 sloc) 1.691 kb
5c67f9fa »
2008-05-14 add crowd-0.5.3 code from gem
1 # -*- ruby -*-
2
3 require 'rubygems'
d2b860e8 »
2010-07-14 Add tasks to Rakefile for test, gem, wsdl2ruby
4 require 'rake'
5 require 'jeweler'
5c67f9fa »
2008-05-14 add crowd-0.5.3 code from gem
6 require './lib/crowd/version'
7
d2b860e8 »
2010-07-14 Add tasks to Rakefile for test, gem, wsdl2ruby
8
9 # Install the gem locally via 'rake install'.
10
11 task :default => :test
12
13 task :test do
14 system("spec spec/crowd_spec.rb")
5c67f9fa »
2008-05-14 add crowd-0.5.3 code from gem
15 end
16
d2b860e8 »
2010-07-14 Add tasks to Rakefile for test, gem, wsdl2ruby
17 task :wsdl2ruby do
18 system("cd lib/crowd/soap/ && wsdl2ruby.rb --force --wsdl http://localhost:8095/crowd/services/SecurityServer?wsdl --type client")
19 system("cp lib/crowd/soap/defaultMappingRegistry.rb lib/crowd/soap/mapping_registry.rb")
20 system("rm lib/crowd/soap/defaultMappingRegistry.rb")
21 system("cp lib/crowd/soap/defaultDriver.rb lib/crowd/soap/driver.rb")
22 system("rm lib/crowd/soap/defaultDriver.rb")
1bc6e56e »
2010-07-14 Add hint towards manually modified generated files
23 puts "You will need to modify some 'require' statements in the generated sources manually to load files from the right location."
d2b860e8 »
2010-07-14 Add tasks to Rakefile for test, gem, wsdl2ruby
24 end
25
a35e5415 »
2010-07-20 Add rake push
26 task :push => [:test, :build] do
fb423960 »
2010-11-17 Forking project and updating history/version to 0.5.12
27 system("gem push pkg/crowd-crossroads-#{Crowd::Version::STRING}.gem")
c628d7ed »
2010-07-20 Add rake upload_gem
28 end
29
d2b860e8 »
2010-07-14 Add tasks to Rakefile for test, gem, wsdl2ruby
30 begin
31 require 'jeweler'
32 Jeweler::Tasks.new do |gemspec|
fb423960 »
2010-11-17 Forking project and updating history/version to 0.5.12
33 gemspec.name = "crowd-crossroads"
d2b860e8 »
2010-07-14 Add tasks to Rakefile for test, gem, wsdl2ruby
34 gemspec.version = Crowd::Version::STRING
f94b4ef5 »
2010-07-20 Improve gemspec
35 gemspec.summary = "Ruby client for Atlassian Crowd 2.0"
1f9176cb »
2010-07-26 Improve gem description
36 gemspec.description = "A client for Atlassian Crowd v2.0. Tested with Crowd 2.0.2 and 2.0.5."
fb423960 »
2010-11-17 Forking project and updating history/version to 0.5.12
37 gemspec.email = "enquiries @nospam@ globalhand.org"
38 gemspec.homepage = "http://github.com/crossroads/crowd"
39 gemspec.authors = ["Stefan Wille", "Evgeny Zislis", "Jason Rimmer & Daniel Morrison", "Steve Kenworthy & Sam Scully"]
d2b860e8 »
2010-07-14 Add tasks to Rakefile for test, gem, wsdl2ruby
40 gemspec.add_development_dependency('rspec')
f94b4ef5 »
2010-07-20 Improve gemspec
41 # Silence a warning about missing rubyforge_project
42 gemspec.rubyforge_project = "nowarning"
d2b860e8 »
2010-07-14 Add tasks to Rakefile for test, gem, wsdl2ruby
43 end
44 rescue LoadError
45 puts "Jeweler not available. Install it with: gem install jeweler"
46 end
47
48
bf906d68 »
2008-05-14 update wsdl to use crowd 1.4.0 and change update author to myself
49 # vim:syn=ruby
Something went wrong with that request. Please try again.