et 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: acf9f6211f8391114cb5a17db584a55e087d793c
4
+ data.tar.gz: a55f0b806e22168cb62069f409b66703314eef6f
5
+ SHA512:
6
+ metadata.gz: 2ce3471fc5b7b40cbf0e27fa989d052618893960d9893fa19c07d86e402a9b1a450c907b96d8d4eaf5841c2827e81d0637572dce7c426f99fd0ad8436e229d46
7
+ data.tar.gz: 47ae0cafa0613bde14bd37d830fee47b36c1324a6134162494ce5af92bc92828ba88b9bdc939f9378f5ada89eb592707a277dac786817cb8e7620438baca2fce
@@ -0,0 +1,2 @@
1
+ # Don't include output from gem builds.
2
+ /*.gem
@@ -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,18 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ et (0.0.1)
5
+ gli (= 2.11.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ gli (2.11.0)
11
+ rake (10.3.2)
12
+
13
+ PLATFORMS
14
+ ruby
15
+
16
+ DEPENDENCIES
17
+ et!
18
+ rake (~> 10.3)
@@ -0,0 +1,3 @@
1
+ # ET
2
+
3
+ A command-line utility for downloading and submitting code challenges.
@@ -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 "et"
4
+
5
+ include GLI::App
6
+
7
+ program_desc "Describe your application here"
8
+
9
+ version ET::VERSION
10
+
11
+ exit run(ARGV)
@@ -0,0 +1,24 @@
1
+ require File.join(
2
+ [File.dirname(__FILE__), "lib", "et", "version.rb"])
3
+ Gem::Specification.new do |s|
4
+ s.name = "et"
5
+ s.version = ET::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 = false
19
+ s.bindir = "bin"
20
+ s.executables << "et"
21
+ s.license = "MIT"
22
+ s.add_development_dependency("rake", "~> 10.3")
23
+ s.add_runtime_dependency("gli", "2.11.0")
24
+ end
@@ -0,0 +1,4 @@
1
+ require "et/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 ET
2
+ VERSION = "0.0.1"
3
+ end
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: et
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-08-09 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: gli
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 2.11.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 2.11.0
41
+ description: |
42
+ Users can download challenges and submit their solutions via the command-line
43
+ interface.
44
+ email: adam.sheehan@launchacademy.com
45
+ executables:
46
+ - et
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - ".gitignore"
51
+ - ".ruby-gemset"
52
+ - ".ruby-version"
53
+ - Gemfile
54
+ - Gemfile.lock
55
+ - README.md
56
+ - Rakefile
57
+ - bin/et
58
+ - et.gemspec
59
+ - lib/et.rb
60
+ - lib/et/version.rb
61
+ homepage: http://www.launchacademy.com
62
+ licenses:
63
+ - MIT
64
+ metadata: {}
65
+ post_install_message:
66
+ rdoc_options: []
67
+ require_paths:
68
+ - lib
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ required_rubygems_version: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
80
+ requirements: []
81
+ rubyforge_project:
82
+ rubygems_version: 2.2.2
83
+ signing_key:
84
+ specification_version: 4
85
+ summary: Command-line interface for the event horizon.
86
+ test_files: []