mw 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.rdoc +6 -2
  2. data/VERSION +1 -1
  3. data/lib/mw.rb +4 -0
  4. data/mw.gemspec +58 -0
  5. metadata +3 -2
@@ -1,9 +1,13 @@
1
1
  = mw
2
2
 
3
- Description goes here.
3
+ Meow version of jugyo's g: print variables to Growl.
4
+
5
+ == History
6
+
7
+ 2009-11-30 added "tapmw" inspired by http://d.hatena.ne.jp/darashi/20091120/1258748817
4
8
 
5
9
  == Note on Patches/Pull Requests
6
-
10
+
7
11
  * Fork the project.
8
12
  * Make your feature addition or bug fix.
9
13
  * Add tests for it. This is important so I don't break it in a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
data/lib/mw.rb CHANGED
@@ -28,6 +28,10 @@ module Kernel
28
28
  end
29
29
  end
30
30
 
31
+ def tapmw
32
+ tap { mw block_given? ? yield(self) : self }
33
+ end
34
+
31
35
  def mw1(*args)
32
36
  args << {:priority => -2}
33
37
  mw(*args)
@@ -0,0 +1,58 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{mw}
8
+ s.version = "0.2.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["tomoya55"]
12
+ s.date = %q{2009-11-30}
13
+ s.description = %q{printing variables to Growl using Meow. The original idea is borrowed from @jugyo's g.}
14
+ s.email = %q{hiranotomoya@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.rdoc"
18
+ ]
19
+ s.files = [
20
+ ".document",
21
+ ".gitignore",
22
+ "LICENSE",
23
+ "README.rdoc",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "lib/mw.rb",
27
+ "mw.gemspec",
28
+ "spec/mw_spec.rb",
29
+ "spec/spec.opts",
30
+ "spec/spec_helper.rb"
31
+ ]
32
+ s.homepage = %q{http://github.com/tomoya55/mw}
33
+ s.rdoc_options = ["--charset=UTF-8"]
34
+ s.require_paths = ["lib"]
35
+ s.rubygems_version = %q{1.3.5}
36
+ s.summary = %q{Meow version of @jugyo's g}
37
+ s.test_files = [
38
+ "spec/mw_spec.rb",
39
+ "spec/spec_helper.rb"
40
+ ]
41
+
42
+ if s.respond_to? :specification_version then
43
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
44
+ s.specification_version = 3
45
+
46
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
47
+ s.add_runtime_dependency(%q<meow>, [">= 2.1.0"])
48
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
49
+ else
50
+ s.add_dependency(%q<meow>, [">= 2.1.0"])
51
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
52
+ end
53
+ else
54
+ s.add_dependency(%q<meow>, [">= 2.1.0"])
55
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
56
+ end
57
+ end
58
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mw
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tomoya55
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-29 00:00:00 +09:00
12
+ date: 2009-11-30 00:00:00 +09:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -49,6 +49,7 @@ files:
49
49
  - Rakefile
50
50
  - VERSION
51
51
  - lib/mw.rb
52
+ - mw.gemspec
52
53
  - spec/mw_spec.rb
53
54
  - spec/spec.opts
54
55
  - spec/spec_helper.rb