dftsg 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd1d096457fc638d82475c05c61021cdeb1677ca
4
- data.tar.gz: c5dee1bd92bab45600463e6e4220030862e426c4
3
+ metadata.gz: 1ef6fca8d1baaac50b6c27c255196f7f9f1975b1
4
+ data.tar.gz: 2ae4e58513e5b63c0123a68405a1e6f38259c414
5
5
  SHA512:
6
- metadata.gz: 290ea22bcf6f04dddf6e9ecb8e5e28cc50417131d5cf198a168f14eb6b6b46589ac735fe27ed0c43f3e4259aefbad899c9d042369ca6d720bd505f67e33133ba
7
- data.tar.gz: 7460156a21c138fe88c2a34b2f87c6c2c5a5bbee89462b4e60a6578215f4269fb1099ea0b7be732273dd1f3730843b8eb0b05d973a6a9b528bd2c44ee984c401
6
+ metadata.gz: 4682c85d2cb1431b4e88b954a2223d3bad0eed4bfa12d7b78e149d1a15a54e7914d10cf11c272820b8f09ad27b4de766e846149cfddfdcc0d54506f8e1a9b838
7
+ data.tar.gz: ec05bc46224bea18dbe1b4cc5adb311b162490db8baa53bdb341bc5f01193aa03dee76b109913e8268b6b0766006ddd0dcb22fca614ef80877aeca1baf4b8008
data/.gitignore CHANGED
@@ -1 +1,31 @@
1
1
  *DS_Store*
2
+
3
+ # General
4
+ *.gem
5
+ *.rbc
6
+ /.config
7
+ /coverage/
8
+ /InstalledFiles
9
+ /pkg/
10
+ /spec/reports/
11
+ /test/tmp/
12
+ /test/version_tmp/
13
+ /tmp/
14
+
15
+ # Documentation
16
+ /.yardoc/
17
+ /_yardoc/
18
+ /doc/
19
+ /rdoc/
20
+
21
+ # Environment
22
+ /.bundle/
23
+ /lib/bundler/man/
24
+
25
+ # Library
26
+ Gemfile.lock
27
+ .ruby-version
28
+ .ruby-gemset
29
+
30
+ # RVM
31
+ .rvmrc
data/bin/dftsg CHANGED
@@ -7,22 +7,18 @@ require_relative '../lib/FormGenerator'
7
7
 
8
8
  input = nil
9
9
 
10
- program :version, '0.0.1'
11
- program :description, 'Validates Swift Style Guide'
10
+ program :version, '0.1.1'
11
+ program :description, 'Validates Swift files based on Dafiti\'s Swift Style Guide'
12
12
 
13
13
  command :gen do |c|
14
- c.syntax = 'dftsg gen directory/with/Swift/files'
15
- c.summary = ''
16
- c.description = ''
17
- c.example 'description', 'dftsg input '
18
- c.option '--output STRING', 'Optional output directory'
14
+ c.syntax = 'dftsg gen directory/with/Swift/files [--output <outputdirectory>]'
15
+ c.summary = 'Generates analysis report'
16
+ c.description = 'Generates analysis report'
17
+ c.option '--output PATH', 'Optional output directory'
19
18
  c.action do |args, options|
20
19
  if args.count == 0
21
- puts
22
- puts "You must provide the directory of Swift files to analyze:"
23
- puts
24
- puts "\t dftsg gen directory/with/Swift/files"
25
- puts
20
+ say_error "You must provide the directory of Swift files to analyze:"
21
+ say_error "\t dftsg gen directory/with/Swift/files"
26
22
  else
27
23
  input = args.first
28
24
  output = options.output
@@ -1,3 +1,3 @@
1
1
  module Dftsg
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dftsg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher John Morris
@@ -76,7 +76,6 @@ files:
76
76
  - lib/LineDeterminator.rb
77
77
  - lib/LineType.rb
78
78
  - lib/dftsg/version.rb
79
- - pkg/dftsg-0.1.0.gem
80
79
  homepage: http://rubygems.org
81
80
  licenses:
82
81
  - MIT
Binary file