nodepile 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3e332bc4f537c99de9ed8c56812547874ddbe5afc02e0549de02d46c7bca5170
4
+ data.tar.gz: ef7c4a1c8458dfd2372515773ee360efed304a2b3a7c6c88f569f0aff74a68c9
5
+ SHA512:
6
+ metadata.gz: 84726023610a366bf199b12f0906d73402fa56875f2b5ba0e4284aa11c22646ceb872ef417beb6f800212d8fe2242f6cf27b5cfada1744ebe34632527b016c01
7
+ data.tar.gz: 3e81b917b0318e3668207fd6cc720b2a2df5253c2573a630852632bf9d80277b9099e02e311c1d669fd8c72295ef9c682dc1321001d5dc6ab3e501594d241fd0
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,13 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: double_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2023-04-02
4
+
5
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in nodepile.gemspec
6
+ gemspec
7
+
8
+ # Below lines are implied by development dependencies in gemspec file
9
+ #gem "rake", "~> 13.0"
10
+ #gem "rspec", "~> 3.0"
11
+ #gem "rubocop", "~> 1.21"
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Nodepile
2
+
3
+ **IMPORTANT NOTE - THIS IS NOT WORKING CODE**
4
+
5
+ Nodepile is a tool for converting tabular data in flat text files (such as CSV, TSV, etc.) and manipulating their appearance and composition for presentation using the Graphviz family of open source image renderers. That sounds complex but it is meant to be an easy way to "visualize" pre-existing spreadsheet data in the form of nodes and edges.
6
+
7
+ As a general structure, it reads in one or more tabular "flat files" representing a list of nodes, edges, and styles. It can then output spec files in the DOT language used by Graphviz. If Graphviz is installed on the system, it can be used to drive Graphviz to generate fully rendered image output. Additional facilitities support manipulation of the nodes, edges, and styles as well as output of intermediate results as human editable (but hairy) text files.
8
+
9
+ The tabular input files are intended to be extremely tolerant including allowing for columns of pre-existing data to remain associated to edges and nodes and for styling to be conditional based on those pre-existing columns of data.
10
+
11
+ ## Installation
12
+
13
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
14
+
15
+ Install the gem and add to the application's Gemfile by executing:
16
+
17
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
18
+
19
+ If bundler is not being used to manage dependencies, install the gem by executing:
20
+
21
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/nodepile.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nodepile
4
+ VERSION = "0.1.1"
5
+ end
data/lib/nodepile.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "nodepile/version"
4
+
5
+ module Nodepile
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
data/sig/nodepile.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Nodepile
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nodepile
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - David Foster
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-04-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '13.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '13.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.21'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.21'
55
+ description: Designed to make it easy to take a spreadsheet or other tabular data
56
+ and use it to generate, manipulate, and style connected graphs. Can be used from
57
+ the command line or as an object model. This gem does not itself perform any rendering,
58
+ although it contains facilities to drive the Graphviz familly of open source tools
59
+ to generate images (e.g. gif, jpg, svm).
60
+ email:
61
+ - david.t.foster.01@gmail.com
62
+ executables: []
63
+ extensions: []
64
+ extra_rdoc_files: []
65
+ files:
66
+ - ".rspec"
67
+ - ".rubocop.yml"
68
+ - CHANGELOG.md
69
+ - Gemfile
70
+ - README.md
71
+ - Rakefile
72
+ - lib/nodepile.rb
73
+ - lib/nodepile/version.rb
74
+ - sig/nodepile.rbs
75
+ homepage: https://rubygems.org/gems/nodepile
76
+ licenses:
77
+ - MIT
78
+ metadata:
79
+ homepage_uri: https://rubygems.org/gems/nodepile
80
+ source_code_uri: https://gitlab.com/fosterd42/nodepile.git
81
+ post_install_message:
82
+ rdoc_options: []
83
+ require_paths:
84
+ - lib
85
+ required_ruby_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: 2.7.0
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ requirements: []
96
+ rubygems_version: 3.4.6
97
+ signing_key:
98
+ specification_version: 4
99
+ summary: Translate flat text file data into connected graph specs suitable for graphviz.
100
+ test_files: []