cli_application 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cli_application/app.rb +1 -1
- data/lib/cli_application/version.rb +1 -1
- data/test/examples/1/stat/app.yml +14 -14
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4b0f3ceada563c7810adb8fb2ec62d225ba1ff2
|
4
|
+
data.tar.gz: 77c131b002d7f03b7cb64b2106e4cc13f88970f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3744fa04ba99818fec0cc888ebe108fcfcb3481e8546e7e8bd4b9d2d7f21c3ec4dbcde92d624dc255d567331539e4aef8f10e955ddd5d25a0cda7bd3a416de32
|
7
|
+
data.tar.gz: 3c144c21e11e0cf74b4bc2f4c222e1b4763d9471d00a3b7090d0c25219e5fa3810ba45ee85fd09ddcac8d7e5e3a62f8e7a6cc23c2eab778c11f9b9682849d11b
|
data/lib/cli_application/app.rb
CHANGED
@@ -35,7 +35,7 @@ module CliApplication
|
|
35
35
|
# @param [String] classfolder директория, в которой расположен базовый класс проекта
|
36
36
|
# @param [Sym] lang язык работы приложения (реализовано не полностью)
|
37
37
|
def initialize(argv, appfolder, classfolder, lang = :ru)
|
38
|
-
|
38
|
+
StTools.configure { |config| config.locale = lang }
|
39
39
|
|
40
40
|
@folders = Hash.new
|
41
41
|
@folders[:app] = appfolder
|
@@ -1,26 +1,28 @@
|
|
1
1
|
---
|
2
2
|
:name: app.rb
|
3
|
-
:shortdescription: "Пример
|
3
|
+
:shortdescription: "Пример 2 - Настройки CLI-приложения"
|
4
4
|
:version: '1.0'
|
5
5
|
:releasedate: '2015-05-11'
|
6
6
|
:timezone: Moscow
|
7
|
-
:last_started_at: '
|
7
|
+
:last_started_at: '2017-01-04 12:18:36 +0300'
|
8
8
|
:folders:
|
9
|
-
:app: "/Users/Stan/Documents/Development/RubyMine/cli_application/test/examples/
|
9
|
+
:app: "/Users/Stan/Documents/Development/RubyMine/cli_application/test/examples/2"
|
10
10
|
:class: "/Users/Stan/Documents/Development/RubyMine/cli_application/test/examples/1"
|
11
11
|
:stat: "/Users/Stan/Documents/Development/RubyMine/cli_application/test/examples/1/stat"
|
12
12
|
:avg:
|
13
|
-
:starts:
|
14
|
-
:executed_at: 4.
|
15
|
-
:executed_at_human: 4.
|
16
|
-
:memory:
|
13
|
+
:starts: 244
|
14
|
+
:executed_at: 4.383912
|
15
|
+
:executed_at_human: 4.383912 секунд
|
16
|
+
:memory: 391427
|
17
17
|
:last:
|
18
|
-
:started_at: '
|
19
|
-
:executed_at: 0.
|
20
|
-
:executed_at_human: 0.
|
21
|
-
:memory:
|
22
|
-
:exitcode:
|
18
|
+
:started_at: '2017-01-04 12:18:36 +0300'
|
19
|
+
:executed_at: 0.059596
|
20
|
+
:executed_at_human: 0.059596 секунд
|
21
|
+
:memory: 41.8 Мбайт
|
22
|
+
:exitcode: 255
|
23
23
|
:last10:
|
24
|
+
- 2017-01-04 12:18:36 +0300,255,0.059596,41.8 Мбайт
|
25
|
+
- 2017-01-04 12:18:26 +0300,255,0.053526,41.2 Мбайт
|
24
26
|
- 2015-11-12 08:04:04 +0300,10,0.032581,35 кбайт
|
25
27
|
- 2015-10-26 22:16:55 +0300,0,0.029927,36 кбайт
|
26
28
|
- 2015-10-26 22:16:01 +0300,0,0.02892,36 кбайт
|
@@ -29,5 +31,3 @@
|
|
29
31
|
- 2015-10-26 22:08:56 +0300,0,0.036485,38 кбайт
|
30
32
|
- 2015-10-26 22:07:56 +0300,0,0.035323,36 кбайт
|
31
33
|
- 2015-10-26 22:04:20 +0300,255,0.053609,35 кбайт
|
32
|
-
- 2015-06-10 22:49:55 +0300,true,0.033085,37 кбайт
|
33
|
-
- 2015-06-09 23:56:11 +0300,255,0.033716,37 кбайт
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cli_application
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stan Zhuravlev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,20 +44,20 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
47
|
+
version: '0.4'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: '0.
|
50
|
+
version: '0.4'
|
51
51
|
type: :development
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
54
54
|
requirements:
|
55
55
|
- - ">"
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
version: '0.
|
57
|
+
version: '0.4'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0.
|
60
|
+
version: '0.4'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: activesupport
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|