fox 0.0.2

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.
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env ruby
2
+
3
+
4
+ # @class Server command class
5
+ # @brief Implements the server command
6
+ class Version < Thor
7
+
8
+ default_task :show
9
+
10
+ ## API
11
+
12
+ # @fn def show {{{
13
+ # @brief Show version string of app
14
+ desc 'show', 'Show version of this app'
15
+ def show
16
+ version = Fox::VERSION
17
+
18
+ puts version
19
+ end # }}}
20
+
21
+
22
+ private
23
+
24
+ no_tasks do
25
+
26
+ ## Actions
27
+
28
+ end # of no_tasks do
29
+
30
+ end # of Class Version
31
+
32
+
33
+ # vim:ts=2:tw=100:wm=100:syntax=ruby
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+
3
+
4
+ # @module Fox Module
5
+ # @brief Implements the Fox module wrapper around the Fox API
6
+ class Fox
7
+
8
+ # Version of gem
9
+ VERSION = `git describe --tags`.split("-").first || "0.1.0"
10
+
11
+ end
12
+
13
+ # vim:ts=2:tw=100:wm=100:syntax=ruby
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # System include
4
+ require 'spec_helper'
5
+
6
+
7
+ describe Fox do
8
+ end # of describe
9
+
10
+ # vim:ts=2:tw=100:wm=100:syntax=ruby
@@ -0,0 +1,55 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # System include
4
+ require 'bundler/setup'
5
+ require 'rspec/mocks'
6
+ require 'rspec/its'
7
+ require 'rspec/expectations'
8
+ require 'ruby-try'
9
+ require 'simplecov'
10
+
11
+ # Custom include
12
+ require 'fox'
13
+
14
+ # Setup environment
15
+ Bundler.setup
16
+
17
+ RSpec.configure do |config|
18
+
19
+ # Use color in STDOUT
20
+ config.color = true
21
+
22
+ # Use color not only in STDOUT but also in pagers and files
23
+ config.tty = true
24
+
25
+ # Use the specified formatter
26
+ # config.formatter = # :documentation # :progress, :html, :textmate
27
+
28
+ config.expect_with :rspec do |c|
29
+ c.syntax = [:should, :expect] # Disable warnings
30
+ end
31
+
32
+ config.mock_with :rspec do |c|
33
+ c.syntax = [:should, :expect] # Disable warnings
34
+ end
35
+
36
+ end # of RSpec.configure
37
+
38
+ # Because of buggy standart include() matcher
39
+ RSpec::Matchers.define :include? do |expected|
40
+ match do |actual|
41
+ actual.include? expected
42
+ end
43
+
44
+ description do
45
+ "include #{expected}"
46
+ end
47
+ end # of RSpec::Matchers
48
+
49
+ SimpleCov.profiles.define 'fox' do
50
+ add_filter '/spec/'
51
+ end
52
+
53
+ SimpleCov.start 'fox'
54
+
55
+ # vim:ts=2:tw=100:wm=100:syntax=ruby
metadata ADDED
@@ -0,0 +1,159 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fox
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Bjoern Rennhak
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-09-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
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: ruby-try
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.1.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.1.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: ptools
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
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: os
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: andand
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: Commandline interface and library to the Fox Scientific Paper Suite
84
+ email:
85
+ - bjoern@clothesnetwork.com
86
+ executables:
87
+ - fox
88
+ extensions: []
89
+ extra_rdoc_files: []
90
+ files:
91
+ - ".project.yaml"
92
+ - AUTHORS.md
93
+ - CHANGELOG.md
94
+ - COPYING.md
95
+ - FAQ.md
96
+ - Gemfile
97
+ - LICENSE.md
98
+ - MAINTAINERS.md
99
+ - README.md
100
+ - Rakefile
101
+ - bin/fox
102
+ - fox.gemspec
103
+ - lib/fox.rb
104
+ - lib/fox/interface/rake/cucumber.rb
105
+ - lib/fox/interface/rake/default.rb
106
+ - lib/fox/interface/rake/documentation.rb
107
+ - lib/fox/interface/rake/guard.rb
108
+ - lib/fox/interface/rake/helpers.rb
109
+ - lib/fox/interface/rake/library.rb
110
+ - lib/fox/interface/rake/metric.rb
111
+ - lib/fox/interface/rake/rspec.rb
112
+ - lib/fox/interface/thor/info.thor
113
+ - lib/fox/interface/thor/mixin/config_choice.rb
114
+ - lib/fox/interface/thor/mixin/configuration.rb
115
+ - lib/fox/interface/thor/mixin/default.rb
116
+ - lib/fox/interface/thor/mixin/default_config.rb
117
+ - lib/fox/interface/thor/mixin/guess.rb
118
+ - lib/fox/interface/thor/mixin/logger.rb
119
+ - lib/fox/interface/thor/mixin/shell.rb
120
+ - lib/fox/interface/thor/version.thor
121
+ - lib/fox/version.rb
122
+ - spec/fox_spec.rb
123
+ - spec/spec_helper.rb
124
+ homepage: http://github.com/rennhak/fox
125
+ licenses:
126
+ - GPLv2
127
+ metadata:
128
+ issue_tracker: http://github.com/rennhak/fox
129
+ post_install_message: "\n / / ----( Paper )---- \n //\\_//\\ ____
130
+ \ _____ _____ __ \n _ _/ / / | ___/ _ / / \n / * * /^^^]
131
+ \ | |_ | | | / \n _O/_/ [ ] | _|| |_| / \n / _ [ /
132
+ \ |_| ___/_/_ \n _ / / \n [ [ / / _/ -----------------
133
+ \n _[ [ /_/ \n\n (c) 2014-09-27 00:00:00 UTC, All
134
+ rights reserved\n Bjoern Rennhak\n\n Don't forget to configure $HOME/.fox/config.\n
135
+ \ To generate config file under $HOME/.fox/ directory,\n please run 'fox config:generate'
136
+ command\n\n Thanks for installing Fox !\n"
137
+ rdoc_options: []
138
+ require_paths:
139
+ - lib
140
+ required_ruby_version: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '2.1'
145
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ requirements: []
151
+ rubyforge_project:
152
+ rubygems_version: 2.2.2
153
+ signing_key:
154
+ specification_version: 4
155
+ summary: Commandline interface and library to the Fox Scientific Paper Suite
156
+ test_files:
157
+ - spec/fox_spec.rb
158
+ - spec/spec_helper.rb
159
+ has_rdoc: