fasttest 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/README.rdoc +6 -0
  3. data/bin/fasttest +62 -0
  4. data/fasttest.rdoc +5 -0
  5. metadata +110 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c2b5ebfc937f215f1938ca1d0c1dd663a2673373
4
+ data.tar.gz: b92c14fe9dad966cbf48ecb0856efc0dc5ea13e5
5
+ SHA512:
6
+ metadata.gz: b9585ae465a16241536ab529467b188edaed2989689d56e6427cb704629b9ef8ed98a8699abf8fbabd2ba2f6f86118cdc62a78d82ea4fa43b5d4db89cc8afbcb
7
+ data.tar.gz: fd12c2cd295db11fb64cde75ed8005ffd61e3a360203f008269b96f3c053c01587c3c255cfcf8ff659367e215afa80750339c85b42f1774076e3659e36adf779
data/README.rdoc ADDED
@@ -0,0 +1,6 @@
1
+ = fasttest
2
+
3
+ Describe your project here
4
+
5
+ :include:fasttest.rdoc
6
+
data/bin/fasttest ADDED
@@ -0,0 +1,62 @@
1
+ #!/usr/bin/env ruby
2
+ require 'gli'
3
+ require 'fasttest'
4
+ include GLI::App
5
+
6
+ program_desc 'Describe your application here'
7
+
8
+ version Fasttest::VERSION
9
+
10
+ subcommand_option_handling :normal
11
+ arguments :strict
12
+
13
+ desc 'Describe some switch here'
14
+ switch [:s,:switch]
15
+
16
+ desc 'Describe some flag here'
17
+ default_value 'the default'
18
+ arg_name 'The name of the argument'
19
+ flag [:f,:flagname]
20
+
21
+ desc 'Describe new here'
22
+ arg_name 'Describe arguments to new here'
23
+ command :new do |c|
24
+ c.desc 'Describe a switch to new'
25
+ c.switch :s
26
+
27
+ c.desc 'Describe a flag to new'
28
+ c.default_value 'default'
29
+ c.flag :f
30
+ c.action do |global_options,options,args|
31
+
32
+ # Your command logic here
33
+
34
+ # If you have any errors, just raise them
35
+ # raise "that command made no sense"
36
+
37
+ puts "new command ran"
38
+ end
39
+ end
40
+
41
+ pre do |global,command,options,args|
42
+ # Pre logic here
43
+ # Return true to proceed; false to abort and not call the
44
+ # chosen command
45
+ # Use skips_pre before a command to skip this block
46
+ # on that command only
47
+ true
48
+ end
49
+
50
+ post do |global,command,options,args|
51
+ # Post logic here
52
+ # Use skips_post before a command to skip this
53
+ # block on that command only
54
+ end
55
+
56
+ on_error do |exception|
57
+ # Error logic here
58
+ # return false to skip default error handling
59
+ true
60
+ end
61
+
62
+ exit run(ARGV)
data/fasttest.rdoc ADDED
@@ -0,0 +1,5 @@
1
+ = fasttest
2
+
3
+ Generate this with
4
+ fasttest rdoc
5
+ After you have described your command line interface
metadata ADDED
@@ -0,0 +1,110 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fasttest
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Your Name Here
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-12-31 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: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: aruba
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: gli
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 2.13.4
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 2.13.4
69
+ description:
70
+ email: your@email.address.com
71
+ executables:
72
+ - fasttest
73
+ extensions: []
74
+ extra_rdoc_files:
75
+ - README.rdoc
76
+ - fasttest.rdoc
77
+ files:
78
+ - README.rdoc
79
+ - bin/fasttest
80
+ - fasttest.rdoc
81
+ homepage: http://your.website.com
82
+ licenses: []
83
+ metadata: {}
84
+ post_install_message:
85
+ rdoc_options:
86
+ - "--title"
87
+ - fasttest
88
+ - "--main"
89
+ - README.rdoc
90
+ - "-ri"
91
+ require_paths:
92
+ - lib
93
+ - lib
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ requirements: []
105
+ rubyforge_project:
106
+ rubygems_version: 2.4.6
107
+ signing_key:
108
+ specification_version: 4
109
+ summary: A description of your project
110
+ test_files: []