Permalink
Browse files

- Removed verbose mode, set it as default

  • Loading branch information...
1 parent 5e18904 commit aa5eed577e395c798e7ebb4d5b4bffdf7cde0dfb David Kirwan committed Apr 6, 2013
Showing with 11 additions and 21 deletions.
  1. +3 −2 CHANGELOG
  2. +1 −1 README.md
  3. +3 −12 bin/usefuldb
  4. +1 −1 lib/usefuldb/version.rb
  5. +3 −5 usefuldb.gemspec
View
@@ -1,9 +1,10 @@
usefuldb gem CHANGELOG
+## Version 0.0.11
+- Updated UsefulDB::Version
+
## Version 0.0.10
- Updated gemspec to latest date
-- Updated README
-- Updated lib/usefuldb/version.rb
## Version 0.0.9
- Added require statements for rubygems to ensure the system will work on ruby 1.8.7
View
@@ -1,4 +1,4 @@
-## Readme - v0.0.10
+## Readme - v0.0.11
### Install
To run the unit tests use the following rake target
View
@@ -22,8 +22,8 @@ def blue(text); addColour(text, 34); end
# Create the Logger instance
log = Logger.new(STDOUT)
#log.level = Logger::DEBUG
-#log.level = Logger::INFO
-log.level = Logger::WARN
+log.level = Logger::INFO
+#log.level = Logger::WARN
options = {}
@@ -40,9 +40,7 @@ begin
UsefulDB - a simple command and URL database (#{UsefulDB::Version})
Useage: usefuldb <searchtag1> <searchtag2> .. <searchtagN>
- usefuldb -a
- usefuldb -d
- usefuldb -l
+
WELCOME
@@ -61,10 +59,6 @@ WELCOME
options[:l] = arg
end
- opts.on('-v', '--verbose', "Runs the system in verbose mode") do |arg|
- log.debug "verbose parameter passed"
- options[:v] = arg
- end
welcome = opts
@@ -104,9 +98,6 @@ else
log.debug "Some flags parameters were passed"
log.debug options
- if options[:v]
- log.level = Logger::INFO
- end
if options[:a]
log.debug "The -a or --add flag is true, launching add system"
View
@@ -8,7 +8,7 @@ class << self
MAJOR = 0 unless defined? MAJOR
MINOR = 0 unless defined? MINOR
- PATCH = 11 unless defined? PATCH
+ PATCH = 12 unless defined? PATCH
def to_s
[MAJOR, MINOR, PATCH].compact.join('.')
View
@@ -1,18 +1,16 @@
-# -*- encoding: utf-8 -*-
-#$:.push File.expand_path("../lib", __FILE__)
require 'rubygems'
require 'rake'
Gem::Specification.new do |s|
s.name = 'usefuldb'
- s.version = '0.0.11'
- s.date = '2013-03-12'
+ s.version = '0.0.12'
+ s.date = '2012-04-06'
s.summary = "usefuldb - simple database for storage of useful commands and or urls."
s.description = "Accessible through a commandline script, UsefulDB allows the user to store information about a useful command or useful url"
s.authors = ["David Kirwan"]
- s.email = ['00346128@mail.wit.ie']
+ s.email = ['davidkirwanirl@gmail.com']
s.require_paths = ["lib"]
s.files = FileList['lib/**/*.rb',
'bin/*',

0 comments on commit aa5eed5

Please sign in to comment.