guard-standardrb 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 12579cf3a887dedc2f77576057ad6798c666cc4caf6f27fc29b5d0211cae3b08
4
- data.tar.gz: 866e54fe4a37a61bc48b2242aa284504fb7a5e673ca6b5f0d609d21e8cf5502c
3
+ metadata.gz: 03ab395c9a951dbb9ef428667cdc0464bd46565688422d6d4068acd8664da705
4
+ data.tar.gz: 91fc5b06daabf12f370687611fafe5b5918173c9637a417d3749ea762a07f8b7
5
5
  SHA512:
6
- metadata.gz: 94415c6863f8d68d2dd62462d345c457b7252c8a4896c4104eeb745295b163b277772a7d8e2afab48f342ce7b6d53d4292c968096611f628c81bbefbb6116331
7
- data.tar.gz: 43aa19629c15c16141930d22aec892315a759cc2a7501225ba54d8a9b0b911ce7621f8a560822ac81cd908d6cc4162e01409da2ceadd040e0b8e0a85b63e2e51
6
+ metadata.gz: d24e1f6e15fc5d6e8472e90e14862ad4b164dcf0d36b2eb9c3512c87255489aa1a2c6c788aad763e58635b80c261244ddeb834fd7b1606442a720fc5e71948ce
7
+ data.tar.gz: 8a9d9b13968634f7894afa9bda2f65daae632b6bea4aa350d1e1d1a2b6c066c85466ce3ebc43becb62b669ee78b90e04d12804a8332451627c248a7b2e929843
data/Gemfile CHANGED
@@ -2,8 +2,3 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in guard-standardrb.gemspec
4
4
  gemspec
5
-
6
- group :development, :test do
7
- gem 'rake'
8
- gem 'rspec', '~> 3.1'
9
- end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- guard-standardrb (0.1.0.beta4)
4
+ guard-standardrb (0.1.0)
5
5
  guard (>= 2.0.0)
6
6
  guard-compat (~> 1.0)
7
7
  standardrb
@@ -9,10 +9,10 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- ast (2.4.0)
13
- coderay (1.1.2)
12
+ ast (2.4.1)
13
+ coderay (1.1.3)
14
14
  diff-lcs (1.3)
15
- ffi (1.12.2)
15
+ ffi (1.13.1)
16
16
  formatador (0.2.5)
17
17
  guard (2.16.2)
18
18
  formatador (>= 0.2.4)
@@ -24,27 +24,27 @@ GEM
24
24
  shellany (~> 0.0)
25
25
  thor (>= 0.18.1)
26
26
  guard-compat (1.2.1)
27
- jaro_winkler (1.5.4)
28
27
  listen (3.2.1)
29
28
  rb-fsevent (~> 0.10, >= 0.10.3)
30
29
  rb-inotify (~> 0.9, >= 0.9.10)
31
- lumberjack (1.2.4)
30
+ lumberjack (1.2.5)
32
31
  method_source (1.0.0)
33
32
  nenv (0.3.0)
34
33
  notiffany (0.1.3)
35
34
  nenv (~> 0.1)
36
35
  shellany (~> 0.0)
37
- parallel (1.19.1)
38
- parser (2.7.1.1)
36
+ parallel (1.19.2)
37
+ parser (2.7.1.3)
39
38
  ast (~> 2.4.0)
40
39
  pry (0.13.1)
41
40
  coderay (~> 1.1)
42
41
  method_source (~> 1.0)
43
42
  rainbow (3.0.0)
44
43
  rake (13.0.1)
45
- rb-fsevent (0.10.3)
44
+ rb-fsevent (0.10.4)
46
45
  rb-inotify (0.10.1)
47
46
  ffi (~> 1.0)
47
+ regexp_parser (1.7.1)
48
48
  rexml (3.2.4)
49
49
  rspec (3.9.0)
50
50
  rspec-core (~> 3.9.0)
@@ -59,25 +59,28 @@ GEM
59
59
  diff-lcs (>= 1.2.0, < 2.0)
60
60
  rspec-support (~> 3.9.0)
61
61
  rspec-support (3.9.2)
62
- rubocop (0.80.1)
63
- jaro_winkler (~> 1.5.1)
62
+ rubocop (0.85.1)
64
63
  parallel (~> 1.10)
65
64
  parser (>= 2.7.0.1)
66
65
  rainbow (>= 2.2.2, < 4.0)
66
+ regexp_parser (>= 1.7)
67
67
  rexml
68
+ rubocop-ast (>= 0.0.3)
68
69
  ruby-progressbar (~> 1.7)
69
- unicode-display_width (>= 1.4.0, < 1.7)
70
- rubocop-performance (1.5.2)
70
+ unicode-display_width (>= 1.4.0, < 2.0)
71
+ rubocop-ast (0.0.3)
72
+ parser (>= 2.7.0.1)
73
+ rubocop-performance (1.6.1)
71
74
  rubocop (>= 0.71.0)
72
75
  ruby-progressbar (1.10.1)
73
76
  shellany (0.0.1)
74
- standard (0.2.4)
75
- rubocop (~> 0.80.1)
76
- rubocop-performance (~> 1.5.2)
77
+ standard (0.4.7)
78
+ rubocop (~> 0.85.0)
79
+ rubocop-performance (~> 1.6.0)
77
80
  standardrb (1.0.0)
78
81
  standard
79
82
  thor (1.0.1)
80
- unicode-display_width (1.6.1)
83
+ unicode-display_width (1.7.0)
81
84
 
82
85
  PLATFORMS
83
86
  ruby
@@ -88,4 +91,4 @@ DEPENDENCIES
88
91
  rspec (~> 3.1)
89
92
 
90
93
  BUNDLED WITH
91
- 2.1.0
94
+ 2.1.4
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.authors = ["Jody Vandenschrick"]
8
8
  spec.email = ["jody.vanden@gmail.com"]
9
9
 
10
- spec.summary = %q{add a plugin to gard to work with standardrb.}
10
+ spec.summary = %q{add a plugin to guard to work with standardrb.}
11
11
  spec.homepage = "https://github.com/JodyVanden/guard-standardrb"
12
12
  spec.license = "MIT"
13
13
  # spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
@@ -21,6 +21,10 @@ Gem::Specification.new do |spec|
21
21
  spec.add_dependency 'guard', '>= 2.0.0'
22
22
  spec.add_dependency 'guard-compat', '~> 1.0'
23
23
  spec.add_dependency 'standardrb'
24
+
25
+ spec.add_development_dependency 'rake'
26
+ spec.add_development_dependency 'rspec', '~> 3.1'
27
+
24
28
 
25
29
  # Specify which files should be added to the gem when it is released.
26
30
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -1,20 +1,20 @@
1
- # coding: utf-8
2
-
3
- require 'guard'
4
- require 'guard/plugin'
1
+ require "guard"
2
+ require "guard/plugin"
3
+ require "guard/standardrb/version"
5
4
 
6
5
  module Guard
7
6
  class Standardrb < Plugin
8
-
9
- def start
10
- UI.info 'Inspecting Ruby code style of all files with standardrb'
7
+ def initialize(options = {})
8
+ super
9
+ @options = options
11
10
  end
12
11
 
13
- def stop
12
+ def start
13
+ Guard::Compat::UI.info "Inspecting Ruby code style of all files with standardrb"
14
14
  end
15
15
 
16
16
  def run_on_modifications(res)
17
- UI.info 'StandardRb a file was modified'
17
+ Guard::Compat::UI.info "StandardRb a file was modified"
18
18
  inspect_with_standardrb(res)
19
19
 
20
20
  $stdout.puts res if res
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module StandardrbVersion
3
- VERSION = "0.1.0".freeze
3
+ VERSION = "0.1.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-standardrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jody Vandenschrick
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-01 00:00:00.000000000 Z
11
+ date: 2020-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: guard
@@ -52,6 +52,34 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.1'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.1'
55
83
  description:
56
84
  email:
57
85
  - jody.vanden@gmail.com
@@ -97,8 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
125
  - !ruby/object:Gem::Version
98
126
  version: '0'
99
127
  requirements: []
100
- rubygems_version: 3.1.2
128
+ rubygems_version: 3.0.3
101
129
  signing_key:
102
130
  specification_version: 4
103
- summary: add a plugin to gard to work with standardrb.
131
+ summary: add a plugin to guard to work with standardrb.
104
132
  test_files: []