Oshuma-httpattack-lib 0.0.1
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/Rakefile +52 -0
- metadata +54 -0
data/Rakefile
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
require 'spec/rake/spectask'
|
|
2
|
+
|
|
3
|
+
task :default => :spec
|
|
4
|
+
|
|
5
|
+
desc 'Run the specs'
|
|
6
|
+
Spec::Rake::SpecTask.new(:spec) do |t|
|
|
7
|
+
t.spec_opts = ['--color']
|
|
8
|
+
t.spec_files = FileList['spec/**/*_spec.rb']
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
desc 'Run the specs with autotest'
|
|
12
|
+
task :autotest do
|
|
13
|
+
ENV['RSPEC'] = 'true'
|
|
14
|
+
sh 'autotest'
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
desc 'Start an IRB session with the library loaded'
|
|
18
|
+
task :console do
|
|
19
|
+
sh "irb -I ./lib -r 'httpattack'"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#
|
|
24
|
+
# Gem Stuff
|
|
25
|
+
#
|
|
26
|
+
APP_DIR = File.dirname(__FILE__)
|
|
27
|
+
GEMSPEC = File.join(APP_DIR, 'httpattack-lib.gemspec')
|
|
28
|
+
GEMNAME = File.basename(GEMSPEC, '.gemspec')
|
|
29
|
+
|
|
30
|
+
desc 'Build the gem'
|
|
31
|
+
task :gem => ['gem:build']
|
|
32
|
+
|
|
33
|
+
namespace :gem do
|
|
34
|
+
task :build do
|
|
35
|
+
sh "gem build #{GEMSPEC}"
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
desc "Clean the built gem"
|
|
39
|
+
task :clean do
|
|
40
|
+
sh "rm -f #{APP_DIR}/*.gem"
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
desc 'Clean, rebuild and install the gem'
|
|
44
|
+
task :install do
|
|
45
|
+
Rake::Task['gem:clean'].invoke
|
|
46
|
+
Rake::Task['gem:build'].invoke
|
|
47
|
+
gem = FileList["#{APP_DIR}/#{GEMNAME}-*.gem"].first
|
|
48
|
+
sudo = RUBY_PLATFORM !~ /win32/ ? "sudo" : ""
|
|
49
|
+
sh "#{sudo} gem uninstall #{GEMNAME}"
|
|
50
|
+
sh "#{sudo} gem install #{gem}"
|
|
51
|
+
end
|
|
52
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: Oshuma-httpattack-lib
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Dale Campbell
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-05-16 00:00:00 -07:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies: []
|
|
15
|
+
|
|
16
|
+
description:
|
|
17
|
+
email:
|
|
18
|
+
- oshuma@gmail.com
|
|
19
|
+
executables: []
|
|
20
|
+
|
|
21
|
+
extensions: []
|
|
22
|
+
|
|
23
|
+
extra_rdoc_files: []
|
|
24
|
+
|
|
25
|
+
files:
|
|
26
|
+
- Rakefile
|
|
27
|
+
has_rdoc: true
|
|
28
|
+
homepage: http://oshuma.github.com/HTTPAttack
|
|
29
|
+
post_install_message:
|
|
30
|
+
rdoc_options:
|
|
31
|
+
- --charset=UTF-8
|
|
32
|
+
require_paths:
|
|
33
|
+
- lib
|
|
34
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
35
|
+
requirements:
|
|
36
|
+
- - ">="
|
|
37
|
+
- !ruby/object:Gem::Version
|
|
38
|
+
version: "0"
|
|
39
|
+
version:
|
|
40
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
41
|
+
requirements:
|
|
42
|
+
- - ">="
|
|
43
|
+
- !ruby/object:Gem::Version
|
|
44
|
+
version: "0"
|
|
45
|
+
version:
|
|
46
|
+
requirements: []
|
|
47
|
+
|
|
48
|
+
rubyforge_project:
|
|
49
|
+
rubygems_version: 1.2.0
|
|
50
|
+
signing_key:
|
|
51
|
+
specification_version: 2
|
|
52
|
+
summary: The game library for HTTPAttack
|
|
53
|
+
test_files: []
|
|
54
|
+
|