thor_250mm_cannon 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ pkg/*
2
+ *.gem
3
+ .bundle
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in thor_250mm_cannon.gemspec
4
+ gemspec
data/README.markdown ADDED
@@ -0,0 +1,3 @@
1
+ The Thor project has been shrouded in mystery since its inception. Agents of the Umojan Protectorate were the first to investigate the Dominion’s new terror weapon. Images from this investigation showed a huge bipedal war machine armed with a dorsal artillery battery that wouldn’t be out of place on a battleship. Most disturbing of all was the discovery that this monster could be built rapidly from the ground up by a standard Factory.
2
+
3
+ Equipped with powerful 250mm strike cannons that incapacitate the target and deal 500 points of damage over the course of 6 seconds. This weapon can be fired against ground units and structures (best used against enemy Thors, Ultralisks, or Colossi).
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
data/extconf.rb ADDED
@@ -0,0 +1,5 @@
1
+ require 'fileutils'
2
+
3
+ Dir['lib/thor/*.thor'].each do |file|
4
+ `thor install #{file} --force`
5
+ end
@@ -0,0 +1,25 @@
1
+ class Setup < Thor
2
+
3
+ desc "config [NAME] [--force]", "copy example configuration files to config folder"
4
+ method_options :force => :boolean, :aliases => '-f'
5
+ method_options :quiet => :boolean, :aliases => '-q'
6
+ def config(name = "**/*")
7
+ Dir["config/examples/#{name}"].each do |source|
8
+ destination = "config/#{File.basename(source)}"
9
+ FileUtils.rm(destination) if options[:force]
10
+ if File.exist?(destination)
11
+ puts "Skipping #{destination} because it already exists"
12
+ else
13
+ puts "Copying #{destination}"
14
+ FileUtils.cp(source, destination)
15
+ end
16
+ end
17
+ end
18
+
19
+ private
20
+
21
+ def puts *args
22
+ super unless options[:quiet]
23
+ end
24
+
25
+ end
@@ -0,0 +1,3 @@
1
+ raise %Q{Do not require this gem. It only exists to be installed.
2
+ After installation it installs to Thor provided scripts.
3
+ That's it.}
@@ -0,0 +1,3 @@
1
+ module Thor250mmCannon
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,26 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "thor_250mm_cannon/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "thor_250mm_cannon"
7
+ s.version = Thor250mmCannon::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Dmitriy Kiriyenko"]
10
+ s.email = ["dmitriy.kiriyenko@gmail.com"]
11
+ s.homepage = "https://github.com/dmitriy-kiriyenko/250mm_cannon"
12
+ s.summary = %q{A set of thor scripts for administration tasks for rails applications}
13
+ s.description = %q{A set of thor scripts for administration tasks for rails applications.
14
+ Use it to handle most common project administration tasks.}
15
+
16
+ s.rubyforge_project = "thor_250mm_cannon"
17
+
18
+ s.add_dependency "thor"
19
+
20
+ s.files = `git ls-files`.split("\n")
21
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
22
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
23
+ s.require_paths = ["lib"]
24
+
25
+ s.extensions = "extconf.rb"
26
+ end
metadata ADDED
@@ -0,0 +1,91 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: thor_250mm_cannon
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Dmitriy Kiriyenko
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-05-31 00:00:00 +03:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: thor
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ description: |-
36
+ A set of thor scripts for administration tasks for rails applications.
37
+ Use it to handle most common project administration tasks.
38
+ email:
39
+ - dmitriy.kiriyenko@gmail.com
40
+ executables: []
41
+
42
+ extensions:
43
+ - extconf.rb
44
+ extra_rdoc_files: []
45
+
46
+ files:
47
+ - .gitignore
48
+ - Gemfile
49
+ - README.markdown
50
+ - Rakefile
51
+ - extconf.rb
52
+ - lib/thor/setup.thor
53
+ - lib/thor_250mm_cannon.rb
54
+ - lib/thor_250mm_cannon/version.rb
55
+ - thor_250mm_cannon.gemspec
56
+ has_rdoc: true
57
+ homepage: https://github.com/dmitriy-kiriyenko/250mm_cannon
58
+ licenses: []
59
+
60
+ post_install_message:
61
+ rdoc_options: []
62
+
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ hash: 3
71
+ segments:
72
+ - 0
73
+ version: "0"
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ hash: 3
80
+ segments:
81
+ - 0
82
+ version: "0"
83
+ requirements: []
84
+
85
+ rubyforge_project: thor_250mm_cannon
86
+ rubygems_version: 1.5.0
87
+ signing_key:
88
+ specification_version: 3
89
+ summary: A set of thor scripts for administration tasks for rails applications
90
+ test_files: []
91
+