water 0.2.3 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile +1 -4
  2. data/Rakefile +7 -0
  3. data/lib/water.rb +1 -1
  4. data/water.gemspec +2 -2
  5. metadata +29 -4
data/Gemfile CHANGED
@@ -6,8 +6,5 @@ gemspec
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
8
8
  group :development do
9
- # gem "shoulda", ">= 0"
10
- # gem "bundler", "~> 1.0.0"
11
- # gem "jeweler", "~> 1.6.2"
12
- # gem "rcov", ">= 0"
9
+ gem "bundler", "~> 1.0.0"
13
10
  end
data/Rakefile CHANGED
@@ -1,2 +1,9 @@
1
1
  require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
+
4
+ task :default => :test
5
+
6
+ desc 'Run a quick test'
7
+ task :test do
8
+ puts `git diff | ruby -rubygems -w -Ilib bin/water`
9
+ end
data/lib/water.rb CHANGED
@@ -22,7 +22,7 @@ class Water
22
22
  def write_diff_file
23
23
  # FIXME: Don't just write into the current folder.
24
24
  File.open DIFF_FILE_NAME, 'w' do |file|
25
- file.write CodeRay.scan(@diff, :diff).page
25
+ file.write CodeRay.scan(@diff, :diff).page(:title => 'diff | water')
26
26
  end
27
27
  end
28
28
 
data/water.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "water"
6
- s.version = '0.2.3'
6
+ s.version = '0.2.5'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Kornelius Kalnbach"]
9
9
  s.email = ["murphy@rubychan.de"]
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.summary = "diff viewer with code highlighting"
12
12
  s.description = "The diff washing machine. See your code changes clearly."
13
13
 
14
- s.add_dependency "coderay", '= 1.0.0.788.pre'
14
+ s.add_dependency "coderay", '= 1.0.0.798.pre'
15
15
  s.add_dependency "launchy", '~> 0.4.0'
16
16
 
17
17
  s.files = `git ls-files`.split("\n")
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: water
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 29
4
5
  prerelease:
5
- version: 0.2.3
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 5
10
+ version: 0.2.5
6
11
  platform: ruby
7
12
  authors:
8
13
  - Kornelius Kalnbach
@@ -10,7 +15,8 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-06-25 00:00:00 Z
18
+ date: 2011-07-08 00:00:00 +02:00
19
+ default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: coderay
@@ -20,7 +26,14 @@ dependencies:
20
26
  requirements:
21
27
  - - "="
22
28
  - !ruby/object:Gem::Version
23
- version: 1.0.0.788.pre
29
+ hash: 961913068
30
+ segments:
31
+ - 1
32
+ - 0
33
+ - 0
34
+ - 798
35
+ - pre
36
+ version: 1.0.0.798.pre
24
37
  type: :runtime
25
38
  version_requirements: *id001
26
39
  - !ruby/object:Gem::Dependency
@@ -31,6 +44,11 @@ dependencies:
31
44
  requirements:
32
45
  - - ~>
33
46
  - !ruby/object:Gem::Version
47
+ hash: 15
48
+ segments:
49
+ - 0
50
+ - 4
51
+ - 0
34
52
  version: 0.4.0
35
53
  type: :runtime
36
54
  version_requirements: *id002
@@ -53,6 +71,7 @@ files:
53
71
  - lib/water.rb
54
72
  - readme.textile
55
73
  - water.gemspec
74
+ has_rdoc: true
56
75
  homepage: http://water.rubychan.de
57
76
  licenses: []
58
77
 
@@ -66,17 +85,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
85
  requirements:
67
86
  - - ">="
68
87
  - !ruby/object:Gem::Version
88
+ hash: 3
89
+ segments:
90
+ - 0
69
91
  version: "0"
70
92
  required_rubygems_version: !ruby/object:Gem::Requirement
71
93
  none: false
72
94
  requirements:
73
95
  - - ">="
74
96
  - !ruby/object:Gem::Version
97
+ hash: 3
98
+ segments:
99
+ - 0
75
100
  version: "0"
76
101
  requirements: []
77
102
 
78
103
  rubyforge_project:
79
- rubygems_version: 1.8.5
104
+ rubygems_version: 1.6.2
80
105
  signing_key:
81
106
  specification_version: 3
82
107
  summary: diff viewer with code highlighting