Cleanups for gem release.
--- a/.gems Wed Nov 09 22:38:18 2016 -0800
+++ b/.gems Mon Nov 14 14:43:41 2016 -0800
@@ -1,6 +1,6 @@
-hoe-deveiate -v0.3.0
-pg -v0.18.1
-pluggability -v0.4.0
-sequel -v4.18.0
-sequel_pg -v1.6.11
-strelka -v0.9.0
+hoe-deveiate
+pg
+pluggability
+sequel
+sequel_pg
+strelka
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.ruby-gemset Mon Nov 14 14:43:41 2016 -0800
@@ -0,0 +1,1 @@
+thingfish-metastore-pggraph
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.ruby-version Mon Nov 14 14:43:41 2016 -0800
@@ -0,0 +1,1 @@
+2.3
--- a/.rvmrc Wed Nov 09 22:38:18 2016 -0800
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-#!/usr/bin/env bash
-
-# This is an RVM Project .rvmrc file, used to automatically load the ruby
-# development environment upon cd'ing into the directory
-
-# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
-# Only full ruby name is supported here, for short names use:
-# echo "rvm use 2.2.1" > .rvmrc
-environment_id="ruby-2.3@thingfish-metastore-pggraph"
-
-# Uncomment the following lines if you want to verify rvm version per project
-# rvmrc_rvm_version="1.26.11 (master)" # 1.10.1 seems like a safe start
-# eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | __rvm_awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
-# echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
-# return 1
-# }
-
-# First we attempt to load the desired environment directly from the environment
-# file. This is very fast and efficient compared to running through the entire
-# CLI and selector. If you want feedback on which environment was used then
-# insert the word 'use' after --create as this triggers verbose mode.
-if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
-then
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
- for __hook in "${rvm_path:-$HOME/.rvm}/hooks/after_use"*
- do
- if [[ -f "${__hook}" && -x "${__hook}" && -s "${__hook}" ]]
- then \. "${__hook}" || true
- fi
- done
- unset __hook
- if (( ${rvm_use_flag:=1} >= 2 )) # display only when forced
- then
- if [[ $- == *i* ]] # check for interactive shells
- then printf "%b" "Using: $(tput setaf 2 2>/dev/null)$GEM_HOME$(tput sgr0 2>/dev/null)\n" # show the user the ruby and gemset they are using in green
- else printf "%b" "Using: $GEM_HOME\n" # don't use colors in non-interactive shells
- fi
- fi
-else
- # If the environment file has not yet been created, use the RVM CLI to select.
- rvm --create "$environment_id" || {
- echo "Failed to create RVM environment '${environment_id}'."
- return 1
- }
-fi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/History.md Mon Nov 14 14:43:41 2016 -0800
@@ -0,0 +1,4 @@
+## v0.1.0 [2015-11-05] Mahlon E. Smith <mahlon@martini.nu>
+
+Initial release.
+
--- a/History.rdoc Wed Nov 09 22:38:18 2016 -0800
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-== v0.1.0 [2015-11-05] Mahlon E. Smith <mahlon@martini.nu>
-
-Initial release.
-
--- a/Manifest.txt Wed Nov 09 22:38:18 2016 -0800
+++ b/Manifest.txt Mon Nov 14 14:43:41 2016 -0800
@@ -2,15 +2,15 @@
.gems
.simplecov
ChangeLog
-History.rdoc
+History.md
LICENSE.rdoc
Manifest.txt
-README.rdoc
+README.md
Rakefile
-config.yml
data/thingfish-metastore-pggraph/migrations/20151102_initial.rb
lib/thingfish/metastore/pggraph.rb
lib/thingfish/metastore/pggraph/edge.rb
lib/thingfish/metastore/pggraph/node.rb
spec/spec_helper.rb
spec/thingfish/metastore/pggraph_spec.rb
+thingfish-metastore-pggraph.gemspec
--- a/README.md Wed Nov 09 22:38:18 2016 -0800
+++ b/README.md Mon Nov 14 14:43:41 2016 -0800
@@ -44,7 +44,7 @@
## License
-Copyright (c) 2014-2015, Michael Granger and Mahlon E. Smith.
+Copyright (c) 2014-2016, Michael Granger and Mahlon E. Smith.
All rights reserved.
@@ -72,4 +72,4 @@
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- a/README.rdoc Wed Nov 09 22:38:18 2016 -0800
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-= Thingfish PostgreSQL Metastore
-
-* http://bitbucket.org/mahlon/thingfish-metastore-pggraph
-
-== Description
-
-This is a metadata storage plugin for the Thingfish digital asset
-manager. It provides persistent storage for uploaded data to a
-PostgreSQL table.
-
-It is heavily based on the regular PG metastore, however it differs by
-storing objects as nodes, and their relations as edges.
-
-
-== Authors
-
-* Michael Granger <ged@FaerieMUD.org>
-* Mahlon E. Smith <mahlon@martini.nu>
-
-
-== Installation
-
- $ gem install thingfish-metastore-pggraph
-
-
-== Usage
-
-As with Thingfish itself, this plugin uses
-Configurability[https://rubygems.org/gems/configurability] to modify
-default behaviors.
-
-Here's an example configuration file that enables this plugin.
-
- ---
- thingfish:
- metastore: pggraph
-
- pggraph_metastore:
- uri: postgres://thingfish:password@db.example.com/database
-
-
-When Thingfish starts, it will install the necessary database schema
-automatically.
-
-
-== License
-
-Copyright (c) 2014-2015, Michael Granger and Mahlon E. Smith.
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are
-permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice, this
- list of conditions and the following disclaimer in the documentation and/or
- other materials provided with the distribution.
-
-* Neither the name of the authors, nor the names of its contributors may be used to
- endorse or promote products derived from this software without specific prior
- written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
-CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
--- a/Rakefile Wed Nov 09 22:38:18 2016 -0800
+++ b/Rakefile Mon Nov 14 14:43:41 2016 -0800
@@ -15,13 +15,16 @@
Hoe.plugin :bundler
Hoe.plugins.delete :rubyforge
-Hoe.plugins.delete :gemcutter
hoespec = Hoe.spec 'thingfish-metastore-pggraph' do |spec|
- spec.readme_file = 'README.rdoc'
- spec.history_file = 'History.rdoc'
+ spec.readme_file = 'README.md'
+ spec.history_file = 'History.md'
spec.extra_rdoc_files = FileList[ '*.rdoc' ]
- spec.license 'BSD'
+ spec.license 'BSD-3-Clause'
+ spec.urls = {
+ home: 'https://bitbucket.org/mahlon/thingfish-metastore-pggraph',
+ code: 'https://bitbucket.org/mahlon/thingfish-metastore-pggraph'
+ }
if File.directory?( '.hg' )
spec.spec_extras[:rdoc_options] = ['-f', 'fivefish', '-t', 'Thingfish-Metastore-PgGraph']
@@ -30,11 +33,16 @@
spec.developer 'Michael Granger', 'ged@FaerieMUD.org'
spec.developer 'Mahlon E. Smith', 'mahlon@martini.nu'
- spec.dependency 'loggability', '~> 0.10'
+ spec.dependency 'thingfish', '~> 0.5'
+ spec.dependency 'loggability', '~> 0.11'
+ spec.dependency 'configurability', '~> 2.2'
+ spec.dependency 'sequel', '~> 4.35'
+ spec.dependency 'pg', '~> 0.19'
- spec.dependency 'rspec', '~> 3.0', :developer
+ spec.dependency 'hoe-deveiate', '~> 0.8', :development
+ spec.dependency 'rspec', '~> 3.0', :development
- spec.require_ruby_version( '>=2.0.0' )
+ spec.require_ruby_version( '>=2.3.0' )
spec.hg_sign_tags = true if spec.respond_to?( :hg_sign_tags= )
end
@@ -60,11 +68,12 @@
spec = $hoespec.spec
spec.files.delete( '.gemtest' )
spec.signing_key = nil
- spec.version = "#{spec.version}.pre#{Time.now.strftime("%Y%m%d%H%M%S")}"
+ spec.version = "#{spec.version.bump}.0.pre#{Time.now.strftime("%Y%m%d%H%M%S")}"
File.open( task.name, 'w' ) do |fh|
fh.write( spec.to_ruby )
end
end
task :default => :gemspec
+CLOBBER.include( GEMSPEC.to_s )
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/thingfish-metastore-pggraph.gemspec Mon Nov 14 14:43:41 2016 -0800
@@ -0,0 +1,64 @@
+# -*- encoding: utf-8 -*-
+# stub: thingfish-metastore-pggraph 0.2.0.pre20161114143916 ruby lib
+
+Gem::Specification.new do |s|
+ s.name = "thingfish-metastore-pggraph"
+ s.version = "0.2.0.pre20161114143916"
+
+ s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
+ s.require_paths = ["lib"]
+ s.authors = ["Michael Granger", "Mahlon E. Smith"]
+ s.date = "2016-11-14"
+ s.description = "This is a metadata storage plugin for the Thingfish digital asset\nmanager. It provides persistent storage for uploaded data to a\nPostgreSQL table.\n\nIt is heavily based on the regular PG metastore, however it differs by\nstoring objects as nodes, and their relations as edges."
+ s.email = ["ged@FaerieMUD.org", "mahlon@martini.nu"]
+ s.extra_rdoc_files = ["History.md", "LICENSE.rdoc", "Manifest.txt", "README.md", "LICENSE.rdoc"]
+ s.files = [".document", ".gems", ".simplecov", "ChangeLog", "History.md", "LICENSE.rdoc", "Manifest.txt", "README.md", "Rakefile", "data/thingfish-metastore-pggraph/migrations/20151102_initial.rb", "lib/thingfish/metastore/pggraph.rb", "lib/thingfish/metastore/pggraph/edge.rb", "lib/thingfish/metastore/pggraph/node.rb", "spec/spec_helper.rb", "spec/thingfish/metastore/pggraph_spec.rb", "thingfish-metastore-pggraph.gemspec"]
+ s.homepage = "https://bitbucket.org/mahlon/thingfish-metastore-pggraph"
+ s.licenses = ["BSD-3-Clause"]
+ s.rdoc_options = ["-f", "fivefish", "-t", "Thingfish-Metastore-PgGraph"]
+ s.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
+ s.rubygems_version = "2.5.1"
+ s.summary = "This is a metadata storage plugin for the Thingfish digital asset manager"
+
+ if s.respond_to? :specification_version then
+ s.specification_version = 4
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<thingfish>, ["~> 0.5"])
+ s.add_runtime_dependency(%q<loggability>, ["~> 0.11"])
+ s.add_runtime_dependency(%q<configurability>, ["~> 2.2"])
+ s.add_runtime_dependency(%q<sequel>, ["~> 4.35"])
+ s.add_runtime_dependency(%q<pg>, ["~> 0.19"])
+ s.add_development_dependency(%q<hoe-mercurial>, ["~> 1.4"])
+ s.add_development_dependency(%q<hoe-highline>, ["~> 0.2"])
+ s.add_development_dependency(%q<hoe-deveiate>, ["~> 0.8"])
+ s.add_development_dependency(%q<rspec>, ["~> 3.0"])
+ s.add_development_dependency(%q<rdoc>, ["~> 4.0"])
+ s.add_development_dependency(%q<hoe>, ["~> 3.15"])
+ else
+ s.add_dependency(%q<thingfish>, ["~> 0.5"])
+ s.add_dependency(%q<loggability>, ["~> 0.11"])
+ s.add_dependency(%q<configurability>, ["~> 2.2"])
+ s.add_dependency(%q<sequel>, ["~> 4.35"])
+ s.add_dependency(%q<pg>, ["~> 0.19"])
+ s.add_dependency(%q<hoe-mercurial>, ["~> 1.4"])
+ s.add_dependency(%q<hoe-highline>, ["~> 0.2"])
+ s.add_dependency(%q<hoe-deveiate>, ["~> 0.8"])
+ s.add_dependency(%q<rspec>, ["~> 3.0"])
+ s.add_dependency(%q<rdoc>, ["~> 4.0"])
+ s.add_dependency(%q<hoe>, ["~> 3.15"])
+ end
+ else
+ s.add_dependency(%q<thingfish>, ["~> 0.5"])
+ s.add_dependency(%q<loggability>, ["~> 0.11"])
+ s.add_dependency(%q<configurability>, ["~> 2.2"])
+ s.add_dependency(%q<sequel>, ["~> 4.35"])
+ s.add_dependency(%q<pg>, ["~> 0.19"])
+ s.add_dependency(%q<hoe-mercurial>, ["~> 1.4"])
+ s.add_dependency(%q<hoe-highline>, ["~> 0.2"])
+ s.add_dependency(%q<hoe-deveiate>, ["~> 0.8"])
+ s.add_dependency(%q<rspec>, ["~> 3.0"])
+ s.add_dependency(%q<rdoc>, ["~> 4.0"])
+ s.add_dependency(%q<hoe>, ["~> 3.15"])
+ end
+end