lucie-cmd 0.0.19 → 0.0.20
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.
- checksums.yaml +4 -4
- data/lib/lucie-cmd/commands.rb +11 -0
- data/lib/lucie-cmd.rb +22 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d3168eaa0820a4950fdb34ce0138323c5cfe43c
|
|
4
|
+
data.tar.gz: 73f9a525689054097e7dc5ac2fcf0a126f543b74
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 09983e8f40177733becdb74ef941175b90d4e55f89dec2bbad5ae3dd3f81b4bfa1eca60bff81cb2151c97759c661ec691f4770756903f240b7dcf19308279c50
|
|
7
|
+
data.tar.gz: ade77fb9ac96ef9a3f2166806f56d293697f3ddebcb8367d3b83af7dbc3ee5fdd9fcc14d0452bba38e91b0b1d86d520a7dc90cdb121d35fb3bfec9fda35a3cc1
|
data/lib/lucie-cmd/commands.rb
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
require 'open3'
|
|
2
2
|
|
|
3
3
|
module Lucie
|
|
4
|
+
|
|
5
|
+
# Lucie provides library to work with command line applications in an
|
|
6
|
+
# easy way.
|
|
7
|
+
#
|
|
8
|
+
# In order to use these methods in your controller class you need to include
|
|
9
|
+
# it to the class.
|
|
10
|
+
#
|
|
11
|
+
# class SampleController < Lucie::Controller::Base
|
|
12
|
+
# include Lucie::Commands
|
|
13
|
+
# end
|
|
14
|
+
#
|
|
4
15
|
module Commands
|
|
5
16
|
|
|
6
17
|
protected
|
data/lib/lucie-cmd.rb
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
|
+
# The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
# Copyright (c) 2014 Laszlo Papp, <laszlo.papp@bteam.hu>
|
|
4
|
+
|
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
# of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
# furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
# The above copyright notice and this permission notice shall be included in
|
|
13
|
+
# all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
# THE SOFTWARE.
|
|
22
|
+
|
|
1
23
|
require "lucie-cmd/commands"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lucie-cmd
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nucc
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2014-02-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|