sud 1.0.0.pre.alpha
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 +7 -0
- data/.gitignore +56 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +17 -0
- data/LICENSE +21 -0
- data/README.md +7 -0
- data/bin/sud +17 -0
- data/lib/sud.rb +2 -0
- data/lib/sud/version.rb +6 -0
- data/sud.gemspec +47 -0
- data/version.txt +1 -0
- metadata +53 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 9c3673dc2c1c9af8e0e77a2d5b00671e46b3deeb3ae0470614db2d4f2b9a9c8d
|
|
4
|
+
data.tar.gz: 528862ea3bba0730a6c123792101deff73a24424d2748c1d479bcba82720c8a4
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: c1fbc6873a0c6348d59cf06e11563ddee8abed1acf5fdac38dff23f0e6f5cabce1eefbfd8730a161166faf6ddd5a286b77b1f464ddda7825f0e66f6966ea273b
|
|
7
|
+
data.tar.gz: 629abfe6101819799c92b101c6ce10f7dfbe94db083c70fa82230f88eed9ec962667f5725e91bc48b5401bfad2614fe649add4eb1f7c42cd5f0e0bb5a54a835f
|
data/.gitignore
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
*.gem
|
|
2
|
+
*.rbc
|
|
3
|
+
/.config
|
|
4
|
+
/coverage/
|
|
5
|
+
/InstalledFiles
|
|
6
|
+
/pkg/
|
|
7
|
+
/spec/reports/
|
|
8
|
+
/spec/examples.txt
|
|
9
|
+
/test/tmp/
|
|
10
|
+
/test/version_tmp/
|
|
11
|
+
/tmp/
|
|
12
|
+
|
|
13
|
+
# Used by dotenv library to load environment variables.
|
|
14
|
+
# .env
|
|
15
|
+
|
|
16
|
+
# Ignore Byebug command history file.
|
|
17
|
+
.byebug_history
|
|
18
|
+
|
|
19
|
+
## Specific to RubyMotion:
|
|
20
|
+
.dat*
|
|
21
|
+
.repl_history
|
|
22
|
+
build/
|
|
23
|
+
*.bridgesupport
|
|
24
|
+
build-iPhoneOS/
|
|
25
|
+
build-iPhoneSimulator/
|
|
26
|
+
|
|
27
|
+
## Specific to RubyMotion (use of CocoaPods):
|
|
28
|
+
#
|
|
29
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
|
30
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
|
31
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
|
32
|
+
#
|
|
33
|
+
# vendor/Pods/
|
|
34
|
+
|
|
35
|
+
## Documentation cache and generated files:
|
|
36
|
+
/.yardoc/
|
|
37
|
+
/_yardoc/
|
|
38
|
+
/doc/
|
|
39
|
+
/rdoc/
|
|
40
|
+
|
|
41
|
+
## Environment normalization:
|
|
42
|
+
/.bundle/
|
|
43
|
+
/vendor/bundle
|
|
44
|
+
/lib/bundler/man/
|
|
45
|
+
|
|
46
|
+
# for a library or gem, you might want to ignore these files since the code is
|
|
47
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
48
|
+
# Gemfile.lock
|
|
49
|
+
# .ruby-version
|
|
50
|
+
# .ruby-gemset
|
|
51
|
+
|
|
52
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
|
53
|
+
.rvmrc
|
|
54
|
+
|
|
55
|
+
# Used by RuboCop. Remote config files pulled in from inherit_from directive.
|
|
56
|
+
# .rubocop-https?--*
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Bitmodo
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Sud
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
Sud is a tool to streamline project management.
|
|
5
|
+
Its goal is to provide a single command line interface no matter what you're working on.
|
|
6
|
+
It allows you to provide custom scripts and tools to use for specific inputs.
|
|
7
|
+
This way, you can define complex logic and functionality in a single, simple file.
|
data/bin/sud
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
# Split arguments by "--" if its there, we'll recombine them later
|
|
4
|
+
argv = ARGV.dup
|
|
5
|
+
argv_extra = []
|
|
6
|
+
|
|
7
|
+
if idx = argv.index("--")
|
|
8
|
+
argv_extra = argv.slice(idx+1, argv.length-2)
|
|
9
|
+
argv = argv.slice(0, idx)
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
# Fast path the version of Sud
|
|
13
|
+
if argv.include?("-v") || argv.include?("--version")
|
|
14
|
+
require_relative "../lib/sud/version"
|
|
15
|
+
puts "Sud #{Sud::VERSION}"
|
|
16
|
+
exit 0
|
|
17
|
+
end
|
data/lib/sud.rb
ADDED
data/lib/sud/version.rb
ADDED
data/sud.gemspec
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
$:.unshift File.expand_path("../lib", __FILE__)
|
|
2
|
+
require "sud/version"
|
|
3
|
+
|
|
4
|
+
Gem::Specification.new do |s|
|
|
5
|
+
s.name = 'sud'
|
|
6
|
+
s.version = Sud::VERSION
|
|
7
|
+
s.platform = Gem::Platform::RUBY
|
|
8
|
+
s.summary = "A tool to streamline project management"
|
|
9
|
+
s.description = "Sud is a tool to help streamline and improve project management"
|
|
10
|
+
s.authors = ["BSFishy"]
|
|
11
|
+
# s.email = ''
|
|
12
|
+
# s.files = ["lib/sud.rb"]
|
|
13
|
+
s.homepage = 'https://github.com/bitmodo/sud'
|
|
14
|
+
s.license = 'MIT'
|
|
15
|
+
|
|
16
|
+
root_path = File.dirname(__FILE__)
|
|
17
|
+
all_files = Dir.chdir(root_path) { Dir.glob("**/{*,.*}") }
|
|
18
|
+
all_files.reject! { |file| [".", ".."].include?(File.basename(file)) }
|
|
19
|
+
# all_files.reject! { |file| file.start_with?("website/") }
|
|
20
|
+
# all_files.reject! { |file| file.start_with?("test/") }
|
|
21
|
+
gitignore_path = File.join(root_path, ".gitignore")
|
|
22
|
+
gitignore = File.readlines(gitignore_path)
|
|
23
|
+
gitignore.map! { |line| line.chomp.strip }
|
|
24
|
+
gitignore.reject! { |line| line.empty? || line =~ /^(#|!)/ }
|
|
25
|
+
|
|
26
|
+
unignored_files = all_files.reject do |file|
|
|
27
|
+
# Ignore any directories, the gemspec only cares about files
|
|
28
|
+
next true if File.directory?(file)
|
|
29
|
+
|
|
30
|
+
# Ignore any paths that match anything in the gitignore. We do
|
|
31
|
+
# two tests here:
|
|
32
|
+
#
|
|
33
|
+
# - First, test to see if the entire path matches the gitignore.
|
|
34
|
+
# - Second, match if the basename does, this makes it so that things
|
|
35
|
+
# like '.DS_Store' will match sub-directories too (same behavior
|
|
36
|
+
# as git).
|
|
37
|
+
#
|
|
38
|
+
gitignore.any? do |ignore|
|
|
39
|
+
File.fnmatch(ignore, file, File::FNM_PATHNAME) ||
|
|
40
|
+
File.fnmatch(ignore, File.basename(file), File::FNM_PATHNAME)
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
s.files = unignored_files
|
|
45
|
+
s.executables = unignored_files.map { |f| f[/^bin\/(.*)/, 1] }.compact
|
|
46
|
+
s.require_path = 'lib'
|
|
47
|
+
end
|
data/version.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.0-alpha
|
metadata
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: sud
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0.pre.alpha
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- BSFishy
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: Sud is a tool to help streamline and improve project management
|
|
14
|
+
email:
|
|
15
|
+
executables:
|
|
16
|
+
- sud
|
|
17
|
+
extensions: []
|
|
18
|
+
extra_rdoc_files: []
|
|
19
|
+
files:
|
|
20
|
+
- ".gitignore"
|
|
21
|
+
- Gemfile
|
|
22
|
+
- Gemfile.lock
|
|
23
|
+
- LICENSE
|
|
24
|
+
- README.md
|
|
25
|
+
- bin/sud
|
|
26
|
+
- lib/sud.rb
|
|
27
|
+
- lib/sud/version.rb
|
|
28
|
+
- sud.gemspec
|
|
29
|
+
- version.txt
|
|
30
|
+
homepage: https://github.com/bitmodo/sud
|
|
31
|
+
licenses:
|
|
32
|
+
- MIT
|
|
33
|
+
metadata: {}
|
|
34
|
+
post_install_message:
|
|
35
|
+
rdoc_options: []
|
|
36
|
+
require_paths:
|
|
37
|
+
- lib
|
|
38
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
39
|
+
requirements:
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '0'
|
|
43
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - ">"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: 1.3.1
|
|
48
|
+
requirements: []
|
|
49
|
+
rubygems_version: 3.0.3
|
|
50
|
+
signing_key:
|
|
51
|
+
specification_version: 4
|
|
52
|
+
summary: A tool to streamline project management
|
|
53
|
+
test_files: []
|