cloudhead-mutter 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +28 -1
- data/VERSION +1 -1
- data/lib/mutter/mutterer.rb +7 -1
- data/mutter.gemspec +5 -3
- data/spec/spec_helper.rb +0 -1
- metadata +5 -5
data/Rakefile
CHANGED
@@ -5,9 +5,11 @@ begin
|
|
5
5
|
require 'jeweler'
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
7
|
gem.name = "mutter"
|
8
|
-
gem.summary = %Q{}
|
8
|
+
gem.summary = %Q{the tiny CLI library}
|
9
|
+
gem.description = %Q{the tiny CLI library}
|
9
10
|
gem.email = "self@cloudhead.net"
|
10
11
|
gem.homepage = "http://github.com/cloudhead/mutter"
|
12
|
+
gem.rubyforge_project = 'mutter'
|
11
13
|
gem.authors = ["cloudhead"]
|
12
14
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
13
15
|
end
|
@@ -16,6 +18,31 @@ rescue LoadError
|
|
16
18
|
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
17
19
|
end
|
18
20
|
|
21
|
+
# rubyforge
|
22
|
+
begin
|
23
|
+
require 'rake/contrib/sshpublisher'
|
24
|
+
namespace :rubyforge do
|
25
|
+
desc "Release gem and RDoc documentation to RubyForge"
|
26
|
+
task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
|
27
|
+
|
28
|
+
namespace :release do
|
29
|
+
desc "Publish RDoc to RubyForge."
|
30
|
+
task :docs => [:rdoc] do
|
31
|
+
config = YAML.load(
|
32
|
+
File.read(File.expand_path('~/.rubyforge/user-config.yml'))
|
33
|
+
)
|
34
|
+
host = "#{config['username']}@rubyforge.org"
|
35
|
+
remote_dir = "/var/www/gforge-projects/the-perfect-gem/"
|
36
|
+
local_dir = 'rdoc'
|
37
|
+
|
38
|
+
Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
rescue LoadError
|
43
|
+
puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
|
44
|
+
end
|
45
|
+
|
19
46
|
require 'rake/testtask'
|
20
47
|
Rake::TestTask.new(:test) do |test|
|
21
48
|
test.libs << 'lib' << 'test'
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.3
|
data/lib/mutter/mutterer.rb
CHANGED
@@ -10,7 +10,7 @@ module Mutter
|
|
10
10
|
# @styles: contains all the user + default styles
|
11
11
|
#
|
12
12
|
def initialize obj = {}
|
13
|
-
|
13
|
+
self.reset
|
14
14
|
load File.dirname(__FILE__) + "/styles"
|
15
15
|
|
16
16
|
case obj
|
@@ -40,6 +40,12 @@ module Mutter
|
|
40
40
|
end if style.is_a? Symbol
|
41
41
|
end
|
42
42
|
end
|
43
|
+
|
44
|
+
def clear
|
45
|
+
@active, @styles = [], {}
|
46
|
+
self
|
47
|
+
end
|
48
|
+
alias :reset clear
|
43
49
|
|
44
50
|
#
|
45
51
|
# Loads styles from a YAML style-sheet,
|
data/mutter.gemspec
CHANGED
@@ -2,11 +2,12 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{mutter}
|
5
|
-
s.version = "0.3.
|
5
|
+
s.version = "0.3.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["cloudhead"]
|
9
|
-
s.date = %q{2009-09-
|
9
|
+
s.date = %q{2009-09-02}
|
10
|
+
s.description = %q{the tiny CLI library}
|
10
11
|
s.email = %q{self@cloudhead.net}
|
11
12
|
s.extra_rdoc_files = [
|
12
13
|
"LICENSE",
|
@@ -32,8 +33,9 @@ Gem::Specification.new do |s|
|
|
32
33
|
s.homepage = %q{http://github.com/cloudhead/mutter}
|
33
34
|
s.rdoc_options = ["--charset=UTF-8"]
|
34
35
|
s.require_paths = ["lib"]
|
36
|
+
s.rubyforge_project = %q{mutter}
|
35
37
|
s.rubygems_version = %q{1.3.5}
|
36
|
-
s.summary = %q{}
|
38
|
+
s.summary = %q{the tiny CLI library}
|
37
39
|
s.test_files = [
|
38
40
|
"spec/mutter_spec.rb",
|
39
41
|
"spec/spec_helper.rb"
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudhead-mutter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cloudhead
|
@@ -9,11 +9,11 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-02 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
16
|
-
description:
|
16
|
+
description: the tiny CLI library
|
17
17
|
email: self@cloudhead.net
|
18
18
|
executables: []
|
19
19
|
|
@@ -59,11 +59,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
59
|
version:
|
60
60
|
requirements: []
|
61
61
|
|
62
|
-
rubyforge_project:
|
62
|
+
rubyforge_project: mutter
|
63
63
|
rubygems_version: 1.2.0
|
64
64
|
signing_key:
|
65
65
|
specification_version: 3
|
66
|
-
summary:
|
66
|
+
summary: the tiny CLI library
|
67
67
|
test_files:
|
68
68
|
- spec/mutter_spec.rb
|
69
69
|
- spec/spec_helper.rb
|