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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d3142092b8f9f4533a7f508f4361b18a5578fd9
4
- data.tar.gz: 8b951fcf937e0fd381bc5fd8e647409df09f826e
3
+ metadata.gz: c4b0f3ceada563c7810adb8fb2ec62d225ba1ff2
4
+ data.tar.gz: 77c131b002d7f03b7cb64b2106e4cc13f88970f6
5
5
  SHA512:
6
- metadata.gz: dd41be718e545cd1a7db8736b512edf4ab2811c50211d1eb3a3cd0bd3c5f9027b7e73bb2a499bbbfa2f6138429f7f4644c6535efbc3cb745acc95ebf45fbd27c
7
- data.tar.gz: e21a4b6a97ef1bd5937806c351de92f33d121d84db51cccee9fe706d5342948e3787acec36da1c3d6ad4d7d0fc5cdd59ebfaeb624fbdd3ef1dd1610cc907cae1
6
+ metadata.gz: 3744fa04ba99818fec0cc888ebe108fcfcb3481e8546e7e8bd4b9d2d7f21c3ec4dbcde92d624dc255d567331539e4aef8f10e955ddd5d25a0cda7bd3a416de32
7
+ data.tar.gz: 3c144c21e11e0cf74b4bc2f4c222e1b4763d9471d00a3b7090d0c25219e5fa3810ba45ee85fd09ddcac8d7e5e3a62f8e7a6cc23c2eab778c11f9b9682849d11b
@@ -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
- ::StTools::Setup.setup(lang)
38
+ StTools.configure { |config| config.locale = lang }
39
39
 
40
40
  @folders = Hash.new
41
41
  @folders[:app] = appfolder
@@ -1,3 +1,3 @@
1
1
  module CliApplication
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -1,26 +1,28 @@
1
1
  ---
2
2
  :name: app.rb
3
- :shortdescription: "Пример 3 - Настройка футера"
3
+ :shortdescription: "Пример 2 - Настройки CLI-приложения"
4
4
  :version: '1.0'
5
5
  :releasedate: '2015-05-11'
6
6
  :timezone: Moscow
7
- :last_started_at: '2015-11-12 08:04:04 +0300'
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/3"
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: 242
14
- :executed_at: 4.419676
15
- :executed_at_human: 4.419676 секунд
16
- :memory: 35434
13
+ :starts: 244
14
+ :executed_at: 4.383912
15
+ :executed_at_human: 4.383912 секунд
16
+ :memory: 391427
17
17
  :last:
18
- :started_at: '2015-11-12 08:04:04 +0300'
19
- :executed_at: 0.032581
20
- :executed_at_human: 0.032581 секунд
21
- :memory: 35 кбайт
22
- :exitcode: 10
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.8
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: 2016-12-30 00:00:00.000000000 Z
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.3'
47
+ version: '0.4'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: '0.3'
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.3'
57
+ version: '0.4'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: '0.3'
60
+ version: '0.4'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: activesupport
63
63
  requirement: !ruby/object:Gem::Requirement