usefuldb 0.0.11 → 0.0.12

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
+ SHA1:
3
+ metadata.gz: f340cc173f81d67440db1e52276834fe53be45ed
4
+ data.tar.gz: d6544a731d6ee05fdf21938adb7c2d4b9c82d0cc
5
+ SHA512:
6
+ metadata.gz: c65e5a612faed4d25f95acd176399e68feb9cb4f73b7f6d092943aacb7435e4c8de6c38d699c7b11e671e072a555795d4327db128d5de0cc2e9b9059a4e9bba2
7
+ data.tar.gz: 5a3ecf4006736c5b264cb35b0c7e0d6621ed8fabcd42b85ff49717ebdae480bff240478761fb1dd1ce2800432ac202b3e26ef62a8274271d001cd87aed9607e3
data/CHANGELOG CHANGED
@@ -1,9 +1,13 @@
1
1
  usefuldb gem CHANGELOG
2
2
 
3
+ ## Version 0.0.12
4
+ - Removed verbose mode, set it as default instead
5
+
6
+ ## Version 0.0.11
7
+ - Updated UsefulDB::Version
8
+
3
9
  ## Version 0.0.10
4
10
  - Updated gemspec to latest date
5
- - Updated README
6
- - Updated lib/usefuldb/version.rb
7
11
 
8
12
  ## Version 0.0.9
9
13
  - Added require statements for rubygems to ensure the system will work on ruby 1.8.7
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## Readme - v0.0.10
1
+ ## Readme - v0.0.11
2
2
 
3
3
  ### Install
4
4
  To run the unit tests use the following rake target
data/bin/usefuldb CHANGED
@@ -22,8 +22,8 @@ def blue(text); addColour(text, 34); end
22
22
  # Create the Logger instance
23
23
  log = Logger.new(STDOUT)
24
24
  #log.level = Logger::DEBUG
25
- #log.level = Logger::INFO
26
- log.level = Logger::WARN
25
+ log.level = Logger::INFO
26
+ #log.level = Logger::WARN
27
27
 
28
28
 
29
29
  options = {}
@@ -40,9 +40,7 @@ begin
40
40
  UsefulDB - a simple command and URL database (#{UsefulDB::Version})
41
41
 
42
42
  Useage: usefuldb <searchtag1> <searchtag2> .. <searchtagN>
43
- usefuldb -a
44
- usefuldb -d
45
- usefuldb -l
43
+
46
44
 
47
45
  WELCOME
48
46
 
@@ -61,10 +59,6 @@ WELCOME
61
59
  options[:l] = arg
62
60
  end
63
61
 
64
- opts.on('-v', '--verbose', "Runs the system in verbose mode") do |arg|
65
- log.debug "verbose parameter passed"
66
- options[:v] = arg
67
- end
68
62
 
69
63
  welcome = opts
70
64
 
@@ -104,9 +98,6 @@ else
104
98
  log.debug "Some flags parameters were passed"
105
99
  log.debug options
106
100
 
107
- if options[:v]
108
- log.level = Logger::INFO
109
- end
110
101
 
111
102
  if options[:a]
112
103
  log.debug "The -a or --add flag is true, launching add system"
@@ -8,7 +8,7 @@ module UsefulDB
8
8
 
9
9
  MAJOR = 0 unless defined? MAJOR
10
10
  MINOR = 0 unless defined? MINOR
11
- PATCH = 11 unless defined? PATCH
11
+ PATCH = 12 unless defined? PATCH
12
12
 
13
13
  def to_s
14
14
  [MAJOR, MINOR, PATCH].compact.join('.')
metadata CHANGED
@@ -1,112 +1,104 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usefuldb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
5
- prerelease:
4
+ version: 0.0.12
6
5
  platform: ruby
7
6
  authors:
8
7
  - David Kirwan
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-12 00:00:00.000000000 Z
11
+ date: 2012-04-06 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: test-unit
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rack-test
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: Accessible through a commandline script, UsefulDB allows the user to
63
56
  store information about a useful command or useful url
64
57
  email:
65
- - 00346128@mail.wit.ie
58
+ - davidkirwanirl@gmail.com
66
59
  executables:
67
60
  - usefuldb
68
61
  extensions: []
69
62
  extra_rdoc_files: []
70
63
  files:
71
64
  - lib/usefuldb.rb
72
- - lib/usefuldb/version.rb
73
- - lib/usefuldb/gui.rb
74
- - lib/usefuldb/utilities.rb
75
65
  - lib/usefuldb/exceptions.rb
66
+ - lib/usefuldb/gui.rb
76
67
  - lib/usefuldb/settings.rb
68
+ - lib/usefuldb/utilities.rb
69
+ - lib/usefuldb/version.rb
77
70
  - bin/usefuldb
78
- - README.md
79
- - COPYING
80
71
  - CHANGELOG
72
+ - COPYING
73
+ - README.md
81
74
  - Rakefile
82
75
  - resources/db.yaml
83
76
  - test/main_test.rb
84
77
  homepage: http://rubygems.org/gems/usefuldb
85
78
  licenses:
86
79
  - CC BY-SA 3.0
87
- post_install_message: ! " \nusefuldb - simple database for storage of useful commands
80
+ metadata: {}
81
+ post_install_message: " \nusefuldb - simple database for storage of useful commands
88
82
  and or urls.\n\nusefuldb is released under the creative commons attribution-sharealike
89
83
  3.0 unported (cc by-sa 3.0) licence.\nfor more information see: http://creativecommons.org/licenses/by-sa/3.0/\n\n"
90
84
  rdoc_options: []
91
85
  require_paths:
92
86
  - lib
93
87
  required_ruby_version: !ruby/object:Gem::Requirement
94
- none: false
95
88
  requirements:
96
- - - ! '>='
89
+ - - '>='
97
90
  - !ruby/object:Gem::Version
98
91
  version: 1.8.7
99
92
  required_rubygems_version: !ruby/object:Gem::Requirement
100
- none: false
101
93
  requirements:
102
- - - ! '>='
94
+ - - '>='
103
95
  - !ruby/object:Gem::Version
104
96
  version: '0'
105
97
  requirements: []
106
98
  rubyforge_project:
107
- rubygems_version: 1.8.23
99
+ rubygems_version: 2.0.3
108
100
  signing_key:
109
- specification_version: 3
101
+ specification_version: 4
110
102
  summary: usefuldb - simple database for storage of useful commands and or urls.
111
103
  test_files: []
112
104
  has_rdoc: