boom 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.markdown CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## head
4
4
 
5
+ ## 0.0.8
6
+ - Support for Ruby 1.9 (thanks [jimmycuadra](https://github.com/jimmycuadra)).
7
+
5
8
  ## 0.0.7
6
9
  - Reverts item creation from stdin, since it broke regular item creation.
7
10
 
data/bin/boom CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # coding: utf-8
2
3
 
3
4
  $:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
4
5
 
data/boom.gemspec CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'boom'
16
- s.version = '0.0.7'
17
- s.date = '2011-01-05'
16
+ s.version = '0.0.8'
17
+ s.date = '2011-01-09'
18
18
  s.rubyforge_project = 'boom'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  # Clipboard is a centralized point to shell out to each individual platform's
2
4
  # clipboard, pasteboard, or whatever they decide to call it.
3
5
  #
data/lib/boom/command.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  # Command is the main point of entry for boom commands; shell arguments are
2
4
  # passd through to Command, which then filters and parses through indivdual
3
5
  # commands and reroutes them to constituent object classes.
@@ -70,7 +72,7 @@ module Boom
70
72
  return all if command == 'all'
71
73
  return edit if command == 'edit'
72
74
  return help if command == 'help'
73
- return help if command[0] == 45 # any - dash options are pleas for help
75
+ return help if command[0] == 45 || command[0] == '-' # any - dash options are pleas for help
74
76
 
75
77
  # if we're operating on a List
76
78
  if storage.list_exists?(command)
data/lib/boom/item.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  # The representation of the base unit in boom. An Item contains just a name and
2
4
  # a value. It doesn't know its parent relationship explicitly; the parent List
3
5
  # object instead knows which Items it contains.
data/lib/boom/list.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  # The List contains many Items. They exist as buckets in which to categorize
2
4
  # individual Items. The relationship is maintained in a simple array on the
3
5
  # List-level.
data/lib/boom/storage.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  # Storage is the middleman between changes the client makes in-memory and how
2
4
  # it's actually persisted to disk (and vice-versa). There are also a few
3
5
  # convenience methods to run searches and operations on the in-memory hash.
data/lib/boom.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  begin
2
4
  require 'rubygems'
3
5
  rescue LoadError
@@ -15,7 +17,7 @@ require 'boom/list'
15
17
  require 'boom/storage'
16
18
 
17
19
  module Boom
18
- VERSION = '0.0.7'
20
+ VERSION = '0.0.8'
19
21
 
20
22
  def self.storage
21
23
  @storage ||= Boom::Storage.new
data/test/helper.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  require 'test/unit'
2
4
 
3
5
  begin
data/test/test_command.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  require 'helper'
2
4
 
3
5
  # Intercept STDOUT and collect it
data/test/test_item.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  require 'helper'
2
4
 
3
5
  class TestItem < Test::Unit::TestCase
data/test/test_list.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # coding: utf-8
2
+
1
3
  require 'helper'
2
4
 
3
5
  class TestList < Test::Unit::TestCase
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boom
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 0
9
- - 7
10
- version: 0.0.7
8
+ - 8
9
+ version: 0.0.8
11
10
  platform: ruby
12
11
  authors:
13
12
  - Zach Holman
@@ -15,7 +14,7 @@ autorequire:
15
14
  bindir: bin
16
15
  cert_chain: []
17
16
 
18
- date: 2011-01-05 00:00:00 -08:00
17
+ date: 2011-01-09 00:00:00 -08:00
19
18
  default_executable: boom
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
@@ -26,7 +25,6 @@ dependencies:
26
25
  requirements:
27
26
  - - ~>
28
27
  - !ruby/object:Gem::Version
29
- hash: 19
30
28
  segments:
31
29
  - 0
32
30
  - 7
@@ -42,7 +40,6 @@ dependencies:
42
40
  requirements:
43
41
  - - ~>
44
42
  - !ruby/object:Gem::Version
45
- hash: 41
46
43
  segments:
47
44
  - 0
48
45
  - 9
@@ -98,7 +95,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
98
95
  requirements:
99
96
  - - ">="
100
97
  - !ruby/object:Gem::Version
101
- hash: 3
102
98
  segments:
103
99
  - 0
104
100
  version: "0"
@@ -107,7 +103,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
103
  requirements:
108
104
  - - ">="
109
105
  - !ruby/object:Gem::Version
110
- hash: 3
111
106
  segments:
112
107
  - 0
113
108
  version: "0"