csvcop 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: ab81a0aff29f872587a8695620b8c1722c3371a78ae8215a5191f83d2f8f0907
4
- data.tar.gz: 904fbfeb4d372e0bcb8c3322c3aec6c807a9d5f4432698cdc40aad9c048e936c
3
+ metadata.gz: 589bf9fc215840d575c7d40be2036b033e0b650c2af5bbcbf5e07f55e599f249
4
+ data.tar.gz: e1bf9b51d1844f5e35951d5971859978d77fe8ab5f3b10a6c22682d4c553590a
5
5
  SHA512:
6
- metadata.gz: 5dbc01278063d78dcdae7ee6ace90f0ebbdf2d779e292c0589639b48c6d932e3682333ac24685bfb1ddbb61f0d5bd8ac53f32fc4606c3ba28ac6013d817a1caf
7
- data.tar.gz: 8620149ab77ad933b4d031ad09103e0dbc50e61dfe01875c0445f7acd891997731d5347aab2f81b067c42fa8cb54e197ad1fba7e155172a8adebb3d8ada0390c
6
+ metadata.gz: 5fb824f49a2d0538675dfc0b2a6d09f0f9f6efac99818e96cb86828d5548bbd3821f94f2dc3a17e19cf603bfbf228e6eb891aab90cfe46746c63e81376741227
7
+ data.tar.gz: 73c3c534a2944330b69974da41c87c249b5073cd0a6b7c233e1f797ccdaedba1bc4f7d9ba1f3f92fcf9aff42e2d71e9edf578b3015de6a2f132b88480d5e00d9
@@ -1,7 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- csvcop (0.1.0)
4
+ csvcop (0.1.1)
5
+ activesupport (~> 6.0.3)
6
+ csv (~> 3.1.2)
7
+ thor (~> 1.0.1)
8
+ yaml (~> 0.1.0)
5
9
 
6
10
  GEM
7
11
  remote: https://rubygems.org/
@@ -26,4 +26,8 @@ Gem::Specification.new do |spec|
26
26
  spec.bindir = "exe"
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
+ spec.add_dependency "thor", "~> 1.0.1"
30
+ spec.add_dependency "csv", "~> 3.1.2"
31
+ spec.add_dependency "activesupport", "~> 6.0.3"
32
+ spec.add_dependency "yaml", "~> 0.1.0"
29
33
  end
@@ -6,7 +6,5 @@ require_relative "csvcop/config"
6
6
  require_relative "csvcop/cop"
7
7
  require_relative "csvcop/cop/uniq_column"
8
8
 
9
- require "byebug"
10
-
11
9
  module CsvCop
12
10
  end
@@ -4,9 +4,9 @@ require "csv"
4
4
 
5
5
  module CsvCop
6
6
  class Cli < Thor
7
- desc "csvcop {CSV File Path} {options}", "check csv file"
7
+ desc "start {CSV File Path} {options}", "check csv file"
8
8
  option "config", aliases: "-c", type: :string
9
- def csvcop(csv_file_path)
9
+ def start(csv_file_path)
10
10
  config = CsvCop::Config.new(options[:config]).read
11
11
  csv = CSV.table(csv_file_path)
12
12
  cop = CsvCop::Cop::Cop.new(csv, config)
@@ -1,3 +1,3 @@
1
1
  module CsvCop
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csvcop
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
  - j-o-lantern0422
@@ -9,7 +9,63 @@ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2020-05-17 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: thor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.0.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.0.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: csv
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 3.1.2
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 3.1.2
41
+ - !ruby/object:Gem::Dependency
42
+ name: activesupport
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 6.0.3
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 6.0.3
55
+ - !ruby/object:Gem::Dependency
56
+ name: yaml
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.1.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.1.0
13
69
  description: csv linter and autofixer like rubocop
14
70
  email:
15
71
  - j.o.lantern0422@gmail.com