jasper-cli 0.0.8

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: d05d363adca5fe59bafcb06b73e984927da21f3b
4
+ data.tar.gz: 554c298a11bfd66794dd56ba49743bd29a29d719
5
+ SHA512:
6
+ metadata.gz: 1d0452fb575e79c0ae59058b6591915bc356cbcfbfe87809ee3e3f78415cf7836804487b06cd2e19349d107c2f08a923d36d57090e1348d06c7d6c89210eadf2
7
+ data.tar.gz: bc26baa7b5ef0264ac6f44b77e64924c1ea96b36874c37aa86c88ab89b18466bb7332dd6608abb12d3f605d8637f0229b6376a4ea9c6f94a6b27f7fc2ce35994
data/LICENSE ADDED
@@ -0,0 +1,27 @@
1
+ Copyright (c) 2015, MediariuM Ltd.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification,
5
+ are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice,
8
+ this list of conditions and the following disclaimer.
9
+
10
+ 2. Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ 3. Neither the name of the copyright holder nor the names of its contributors
15
+ may be used to endorse or promote products derived from this software
16
+ without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
22
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
23
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
25
+ OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
26
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
27
+ OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,3 @@
1
+ = Jasper CLI
2
+
3
+ The Jasper CLI is the {Jasper gem}(https://rubygems.org/gems/jasper) used to manage {Jasper (Video Management System)}(https://github.com/mediarium/jasper-system) installation from the command line.
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env ruby
2
+ require 'jasper_cli'
@@ -0,0 +1,7 @@
1
+ module Jasper
2
+ module CLI
3
+
4
+ # TODO: ...
5
+
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ module Jasper
2
+ module CLI
3
+ class Extension < Thor::Group
4
+ include Thor::Actions
5
+
6
+ # TODO: ...
7
+
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,19 @@
1
+ module Jasper
2
+ module CLI
3
+
4
+ # Returns the version of the currently loaded Jasper as a <tt>Gem::Version</tt>
5
+ def self.gem_version
6
+ Gem::Version.new VERSION::STRING
7
+ end
8
+
9
+ module VERSION
10
+ MAJOR = 0
11
+ MINOR = 0
12
+ TINY = 8
13
+ PRE = nil
14
+
15
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,10 @@
1
+ module Jasper
2
+ module CLI
3
+ class Installer < Thor::Group
4
+ include Thor::Actions
5
+
6
+ # TODO: ...
7
+
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,12 @@
1
+ require 'jasper/cli/gem_version'
2
+
3
+ module Jasper
4
+ module CLI
5
+
6
+ # Returns the version of the currently loaded Jasper as a string.
7
+ def self.version
8
+ VERSION::STRING
9
+ end
10
+
11
+ end
12
+ end
@@ -0,0 +1,14 @@
1
+ require 'jasper/cli'
2
+
3
+ case ARGV.first
4
+ when 'version', '-v', '--version'
5
+ puts Jasper::CLI.version
6
+ when 'extension'
7
+ ARGV.shift
8
+ require 'jasper/cli/extension'
9
+ Jasper::CLI::Extension.start
10
+ else
11
+ ARGV.shift
12
+ require 'jasper/cli/installer'
13
+ Jasper::CLI::Installer.start
14
+ end
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jasper-cli
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.8
5
+ platform: ruby
6
+ authors:
7
+ - Alexander Bragin
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-28 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.19'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.19'
27
+ description: The Jasper CLI is the gem used to manage Jasper (Video Management System)
28
+ installation from the command line.
29
+ email: bragin-av@mediarium.com
30
+ executables:
31
+ - jasper
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - LICENSE
36
+ - README.rdoc
37
+ - bin/jasper
38
+ - lib/jasper/cli.rb
39
+ - lib/jasper/cli/extension.rb
40
+ - lib/jasper/cli/gem_version.rb
41
+ - lib/jasper/cli/installer.rb
42
+ - lib/jasper/cli/version.rb
43
+ - lib/jasper_cli.rb
44
+ homepage: http://jasper-vms.com
45
+ licenses:
46
+ - BSD-3
47
+ metadata: {}
48
+ post_install_message:
49
+ rdoc_options:
50
+ - "--exclude"
51
+ - "."
52
+ require_paths:
53
+ - lib
54
+ required_ruby_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: 2.2.1
59
+ required_rubygems_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ requirements: []
65
+ rubyforge_project:
66
+ rubygems_version: 2.4.5
67
+ signing_key:
68
+ specification_version: 4
69
+ summary: Command line interface to manage Jasper (Video Management System).
70
+ test_files: []