Skip to content

Commit

Permalink
add reuse headers
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst committed Apr 8, 2020
1 parent 9ca7fe2 commit 432e788
Show file tree
Hide file tree
Showing 14 changed files with 380 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

/.bundle/
/.yardoc
/_yardoc/
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
language: ruby
cache: bundler
Expand Down
6 changes: 6 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: https://www.contributor-covenant.org/
SPDX-License-Identifier: CC-BY-4.0
-->

# Contributor Covenant Code of Conduct

## Our Pledge
Expand Down
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

source "https://rubygems.org"

# Specify your gem's dependencies in nextcloud_share_graph.gemspec
Expand Down
324 changes: 324 additions & 0 deletions LICENSES/CC-BY-4.0.txt

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2020 Felix Wolfsteller
SPDX-License-Identifier: AGPL-3.0-or-later
-->

# NextcloudShareGraph

Render a graph of shared files within a nextcloud (18) instance with graphviz.
Expand Down
4 changes: 4 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

require "bundler/gem_tasks"
require "rake/testtask"

Expand Down
4 changes: 4 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/usr/bin/env ruby

# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

require "bundler/setup"
require "nextcloud_share_graph"

Expand Down
5 changes: 5 additions & 0 deletions bin/setup
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env bash

# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

set -euo pipefail
IFS=$'\n\t'
set -vx
Expand Down
4 changes: 4 additions & 0 deletions exe/nextcloud_share_graph
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#!/usr/bin/env ruby
#
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

require "nextcloud_share_graph"
4 changes: 4 additions & 0 deletions lib/nextcloud_share_graph/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

module NextcloudShareGraph
VERSION = "0.1.0"
end
4 changes: 4 additions & 0 deletions nextcloud_share_graph.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

require_relative 'lib/nextcloud_share_graph/version'

Gem::Specification.new do |spec|
Expand Down
4 changes: 4 additions & 0 deletions test/nextcloud_share_graph_test.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

require "test_helper"

class NextcloudShareGraphTest < Minitest::Test
Expand Down
4 changes: 4 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Felix Wolfsteller
#
# SPDX-License-Identifier: AGPL-3.0-or-later

$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
require "nextcloud_share_graph"

Expand Down

0 comments on commit 432e788

Please sign in to comment.