extraterrestrial 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 71e2dc6b2ad9d835e1decd3879dbba33bb362839
4
+ data.tar.gz: 804e5c5352b6b025b577c004d10e58ae45646907
5
+ SHA512:
6
+ metadata.gz: 086260a8a5f520ebbc0d16b835f8e4221f2c33697eb6f2d93253780bc7e038f32ceeaea162d638f31325c69be8669edba244d62fb8558c2cd28af8cc7846967c
7
+ data.tar.gz: 35394334a604132eb039e5ec5ce868160c401d023a7b7b84314d7d19d97c052a9799e8fa065f61aad573bf98789f300ee953d08720e267b80b7e98e6e70ab4e2
@@ -0,0 +1 @@
1
+ extraterrestrial
@@ -0,0 +1 @@
1
+ 2.1.2
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
@@ -0,0 +1,22 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ extraterrestrial (0.0.1)
5
+ gli (= 2.11.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ gli (2.11.0)
11
+ json (1.8.1)
12
+ rake (10.3.2)
13
+ rdoc (4.1.1)
14
+ json (~> 1.4)
15
+
16
+ PLATFORMS
17
+ ruby
18
+
19
+ DEPENDENCIES
20
+ extraterrestrial!
21
+ rake (~> 10.3.2)
22
+ rdoc (~> 4.1.1)
@@ -0,0 +1,6 @@
1
+ = extraterrestrial
2
+
3
+ Describe your project here
4
+
5
+ :include:extraterrestrial.rdoc
6
+
@@ -0,0 +1,41 @@
1
+ require "rake/clean"
2
+ require "rubygems"
3
+ require "rubygems/package_task"
4
+ require "rdoc/task"
5
+ require "cucumber"
6
+ require "cucumber/rake/task"
7
+
8
+ Rake::RDocTask.new do |rd|
9
+ rd.main = "README.rdoc"
10
+ rd.rdoc_files.include("README.rdoc", "lib/**/*.rb", "bin/**/*")
11
+ rd.title = "Your application title"
12
+ end
13
+
14
+ CUKE_RESULTS = "results.html"
15
+ CLEAN << CUKE_RESULTS
16
+ desc "Run features"
17
+ Cucumber::Rake::Task.new(:features) do |t|
18
+ opts = "features --format html -o #{CUKE_RESULTS} --format progress -x"
19
+ opts += " --tags #{ENV["TAGS"]}" if ENV["TAGS"]
20
+ t.cucumber_opts = opts
21
+ t.fork = false
22
+ end
23
+
24
+ desc "Run features tagged as work-in-progress (@wip)"
25
+ Cucumber::Rake::Task.new("features:wip") do |t|
26
+ tag_opts = " --tags @wip"
27
+ t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} " +
28
+ "--format pretty -x -s#{tag_opts}"
29
+ t.fork = false
30
+ end
31
+
32
+ task cucumber: :features
33
+ task "cucumber:wip" => "features:wip"
34
+ task wip: "features:wip"
35
+ require "rake/testtask"
36
+ Rake::TestTask.new do |t|
37
+ t.libs << "test"
38
+ t.test_files = FileList["test/*_test.rb"]
39
+ end
40
+
41
+ task default: [:test, :features]
data/bin/et ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ require "gli"
3
+ require "extraterrestrial"
4
+
5
+ include GLI::App
6
+
7
+ program_desc "Describe your application here"
8
+
9
+ version Extraterrestrial::VERSION
10
+
11
+ exit run(ARGV)
@@ -0,0 +1,28 @@
1
+ require File.join(
2
+ [File.dirname(__FILE__), "lib", "extraterrestrial", "version.rb"])
3
+ Gem::Specification.new do |s|
4
+ s.name = "extraterrestrial"
5
+ s.version = Extraterrestrial::VERSION
6
+ s.author = "Adam Sheehan"
7
+ s.email = "adam.sheehan@launchacademy.com"
8
+ s.homepage = "http://www.launchacademy.com"
9
+ s.platform = Gem::Platform::RUBY
10
+ s.summary = "Command-line interface for the event horizon."
11
+ s.description = <<-DESC
12
+ Users can download challenges and submit their solutions via the command-line
13
+ interface.
14
+ DESC
15
+
16
+ s.files = `git ls-files`.split("\n")
17
+ s.require_paths << "lib"
18
+ s.has_rdoc = true
19
+ s.extra_rdoc_files = ["README.rdoc", "extraterrestrial.rdoc"]
20
+ s.rdoc_options << "--title" << "extraterrestrial" <<
21
+ "--main" << "README.rdoc" << "-ri"
22
+ s.bindir = "bin"
23
+ s.executables << "et"
24
+ s.license = "MIT"
25
+ s.add_development_dependency("rake", "~> 10.3")
26
+ s.add_development_dependency("rdoc", "~> 4.1")
27
+ s.add_runtime_dependency("gli", "2.11.0")
28
+ end
@@ -0,0 +1,5 @@
1
+ = extraterrestrial
2
+
3
+ Generate this with
4
+ extraterrestrial rdoc
5
+ After you have described your command line interface
@@ -0,0 +1,4 @@
1
+ require "extraterrestrial/version.rb"
2
+
3
+ # Add requires for other files you add to your project here, so
4
+ # you just need to require this one file in your bin file
@@ -0,0 +1,3 @@
1
+ module Extraterrestrial
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,107 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: extraterrestrial
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Adam Sheehan
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '10.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.1'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: gli
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 2.11.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 2.11.0
55
+ description: |
56
+ Users can download challenges and submit their solutions via the command-line
57
+ interface.
58
+ email: adam.sheehan@launchacademy.com
59
+ executables:
60
+ - et
61
+ extensions: []
62
+ extra_rdoc_files:
63
+ - README.rdoc
64
+ - extraterrestrial.rdoc
65
+ files:
66
+ - ".ruby-gemset"
67
+ - ".ruby-version"
68
+ - Gemfile
69
+ - Gemfile.lock
70
+ - README.rdoc
71
+ - Rakefile
72
+ - bin/et
73
+ - extraterrestrial.gemspec
74
+ - extraterrestrial.rdoc
75
+ - lib/extraterrestrial.rb
76
+ - lib/extraterrestrial/version.rb
77
+ homepage: http://www.launchacademy.com
78
+ licenses:
79
+ - MIT
80
+ metadata: {}
81
+ post_install_message:
82
+ rdoc_options:
83
+ - "--title"
84
+ - extraterrestrial
85
+ - "--main"
86
+ - README.rdoc
87
+ - "-ri"
88
+ require_paths:
89
+ - lib
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ requirements: []
102
+ rubyforge_project:
103
+ rubygems_version: 2.2.2
104
+ signing_key:
105
+ specification_version: 4
106
+ summary: Command-line interface for the event horizon.
107
+ test_files: []