vedeu_cli 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -4
- data/.travis.yml +4 -2
- data/Gemfile +2 -1
- data/Guardfile +7 -0
- data/config/rubocop_enabled.yml +5 -9
- data/lib/vedeu/cli/application.rb +1 -1
- data/lib/vedeu/cli/helpers.rb +4 -4
- data/lib/vedeu/cli/version.rb +1 -1
- data/test/test_helper.rb +1 -1
- data/vedeu_cli.gemspec +8 -7
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21702492131dcb88447ff7336a81bb7805005e69
|
4
|
+
data.tar.gz: 746a8de43e26eaeada6c060e92b3bd055332e3fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ab3caca1a26ba37b8b146a1369d2f5117dd9ad789e7d583508cda2a97fe6ef0f767b4308d1f293d2a100401fce2474726f2339db839801048c21cfd7e2356f
|
7
|
+
data.tar.gz: ec67b6e0ed379952a7e24a76e13b3170227be9d1eb1a9e77c57d6039e3d9b4fde584135fb12ff89c2cb4a220be6934b077829aeee97867e34bb447033f975b3c
|
data/.rubocop.yml
CHANGED
@@ -27,9 +27,7 @@ AllCops:
|
|
27
27
|
Exclude:
|
28
28
|
- 'test/**/*'
|
29
29
|
- 'vendor/**/*'
|
30
|
-
|
31
|
-
# directory .rubocop.yml files, or by giving the -R/--rails option.
|
32
|
-
RunRailsCops: false
|
30
|
+
|
33
31
|
# Cop names are not displayed in offense messages by default. Change behavior
|
34
32
|
# by overriding DisplayCopNames, or by giving the -D/--display-cop-names
|
35
33
|
# option.
|
@@ -111,7 +109,7 @@ Style/SpaceInsideHashLiteralBraces:
|
|
111
109
|
Style/TrailingBlankLines:
|
112
110
|
EnforcedStyle: final_newline
|
113
111
|
|
114
|
-
Style/
|
112
|
+
Style/TrailingCommaInLiteral:
|
115
113
|
EnforcedStyleForMultiline: comma
|
116
114
|
|
117
115
|
##################### Metrics ##################################
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Guardfile
CHANGED
data/config/rubocop_enabled.yml
CHANGED
@@ -530,7 +530,7 @@ Style/SingleLineMethods:
|
|
530
530
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-single-line-methods'
|
531
531
|
Enabled: true
|
532
532
|
|
533
|
-
Style/
|
533
|
+
Style/SpaceBeforeFirstArg:
|
534
534
|
Description: >-
|
535
535
|
Checks that exactly one space is used between a method name
|
536
536
|
and the first argument for method calls without parentheses.
|
@@ -546,7 +546,7 @@ Style/SpaceAfterComma:
|
|
546
546
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
|
547
547
|
Enabled: true
|
548
548
|
|
549
|
-
Style/
|
549
|
+
Style/SpaceAroundKeyword:
|
550
550
|
Description: 'Use spaces after if/elsif/unless/while/until/case/when.'
|
551
551
|
Enabled: true
|
552
552
|
|
@@ -611,7 +611,7 @@ Style/SpaceAroundOperators:
|
|
611
611
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#spaces-operators'
|
612
612
|
Enabled: true
|
613
613
|
|
614
|
-
Style/
|
614
|
+
Style/SpaceAroundKeyword:
|
615
615
|
Description: 'Put a space before the modifier keyword.'
|
616
616
|
Enabled: true
|
617
617
|
|
@@ -674,7 +674,7 @@ Style/TrailingBlankLines:
|
|
674
674
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#newline-eof'
|
675
675
|
Enabled: true
|
676
676
|
|
677
|
-
Style/
|
677
|
+
Style/TrailingCommaInLiteral:
|
678
678
|
Description: 'Checks for trailing comma in parameter lists and literals.'
|
679
679
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
|
680
680
|
Enabled: true
|
@@ -914,7 +914,7 @@ Lint/ShadowingOuterLocalVariable:
|
|
914
914
|
for block arguments or block local variables.
|
915
915
|
Enabled: true
|
916
916
|
|
917
|
-
|
917
|
+
Style/SpaceBeforeFirstArg:
|
918
918
|
Description: >-
|
919
919
|
Put a space between a method name and the first argument
|
920
920
|
in a method call without parentheses.
|
@@ -1004,10 +1004,6 @@ Rails/Date:
|
|
1004
1004
|
such as Date.today, Date.current etc.
|
1005
1005
|
Enabled: true
|
1006
1006
|
|
1007
|
-
Rails/DefaultScope:
|
1008
|
-
Description: 'Checks if the argument passed to default_scope is a block.'
|
1009
|
-
Enabled: true
|
1010
|
-
|
1011
1007
|
Rails/Delegate:
|
1012
1008
|
Description: 'Prefer delegate method for delegations.'
|
1013
1009
|
Enabled: true
|
data/lib/vedeu/cli/helpers.rb
CHANGED
@@ -14,7 +14,7 @@ module Vedeu
|
|
14
14
|
|
15
15
|
# @return [String]
|
16
16
|
def app_name
|
17
|
-
@app_name ||= File.read('./config/app_name'
|
17
|
+
@app_name ||= File.read('./config/app_name')
|
18
18
|
end
|
19
19
|
|
20
20
|
# @return [String]
|
@@ -111,7 +111,7 @@ module Vedeu
|
|
111
111
|
# @param destination_path [String]
|
112
112
|
# @return [TrueClass]
|
113
113
|
def log_processed_file(destination_path)
|
114
|
-
Vedeu.log_stdout(type: :create, message:
|
114
|
+
Vedeu.log_stdout(type: :create, message: destination_path)
|
115
115
|
|
116
116
|
true
|
117
117
|
end
|
@@ -121,7 +121,7 @@ module Vedeu
|
|
121
121
|
def log_skipped_file(destination_path)
|
122
122
|
Vedeu.log_stdout(type: :create,
|
123
123
|
message: "#{destination_path} " +
|
124
|
-
Vedeu::
|
124
|
+
Vedeu::Esc.red {
|
125
125
|
'already exists, skipped.'
|
126
126
|
})
|
127
127
|
true
|
@@ -141,7 +141,7 @@ module Vedeu
|
|
141
141
|
def name
|
142
142
|
@_name ||= @name.downcase
|
143
143
|
end
|
144
|
-
|
144
|
+
alias app_root_path name
|
145
145
|
|
146
146
|
# @return [String]
|
147
147
|
def name_as_class
|
data/lib/vedeu/cli/version.rb
CHANGED
data/test/test_helper.rb
CHANGED
data/vedeu_cli.gemspec
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# coding: utf-8
|
2
|
+
# frozen_string_literal: true
|
2
3
|
lib = File.expand_path('../lib', __FILE__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
5
|
require 'vedeu/cli/version'
|
@@ -21,16 +22,16 @@ Gem::Specification.new do |spec|
|
|
21
22
|
spec.add_development_dependency 'guard', '2.13.0'
|
22
23
|
spec.add_development_dependency 'guard-minitest', '2.4.4'
|
23
24
|
spec.add_development_dependency 'guard-rubocop', '1.2.0'
|
24
|
-
spec.add_development_dependency 'minitest', '5.8.
|
25
|
-
spec.add_development_dependency 'minitest-reporters', '1.1.
|
25
|
+
spec.add_development_dependency 'minitest', '5.8.4'
|
26
|
+
spec.add_development_dependency 'minitest-reporters', '1.1.8'
|
26
27
|
spec.add_development_dependency 'mocha', '1.1.0'
|
27
28
|
spec.add_development_dependency 'pry', '0.10.3'
|
28
|
-
spec.add_development_dependency 'rubocop', '0.
|
29
|
-
spec.add_development_dependency 'ruby-prof', '0.15.
|
30
|
-
spec.add_development_dependency 'simplecov', '0.
|
31
|
-
spec.add_development_dependency 'simplecov-console', '0.
|
29
|
+
spec.add_development_dependency 'rubocop', '0.39.0'
|
30
|
+
spec.add_development_dependency 'ruby-prof', '0.15.9'
|
31
|
+
spec.add_development_dependency 'simplecov', '0.11.2'
|
32
|
+
spec.add_development_dependency 'simplecov-console', '0.3.0'
|
32
33
|
spec.add_development_dependency 'yard', '0.8.7.6'
|
33
34
|
|
34
|
-
spec.add_dependency 'rake', '~> 10.
|
35
|
+
spec.add_dependency 'rake', '~> 10.5'
|
35
36
|
spec.add_dependency 'thor', '0.19.1'
|
36
37
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vedeu_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gavin Laking
|
@@ -58,28 +58,28 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 5.8.
|
61
|
+
version: 5.8.4
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 5.8.
|
68
|
+
version: 5.8.4
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: minitest-reporters
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.1.
|
75
|
+
version: 1.1.8
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.1.
|
82
|
+
version: 1.1.8
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: mocha
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,56 +114,56 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.39.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: 0.39.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: ruby-prof
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.15.
|
131
|
+
version: 0.15.9
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.15.
|
138
|
+
version: 0.15.9
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: simplecov
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
145
|
+
version: 0.11.2
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
152
|
+
version: 0.11.2
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: simplecov-console
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - '='
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.
|
159
|
+
version: 0.3.0
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - '='
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.
|
166
|
+
version: 0.3.0
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: yard
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: '10.
|
187
|
+
version: '10.5'
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: '10.
|
194
|
+
version: '10.5'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: thor
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|