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 +4 -4
- data/.gitignore +30 -0
- data/bin/dftsg +8 -12
- data/lib/dftsg/version.rb +1 -1
- metadata +1 -2
- data/pkg/dftsg-0.1.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ef6fca8d1baaac50b6c27c255196f7f9f1975b1
|
4
|
+
data.tar.gz: 2ae4e58513e5b63c0123a68405a1e6f38259c414
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
-
|
22
|
-
|
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
|
data/lib/dftsg/version.rb
CHANGED
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.
|
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
|
data/pkg/dftsg-0.1.0.gem
DELETED
Binary file
|