be9-rubbr 1.1.4.2 → 1.1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/lib/rubbr/builder.rb +5 -0
  3. data/lib/rubbr.rb +3 -3
  4. metadata +53 -11
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'hoe'
3
3
  require 'spec/rake/spectask'
4
4
  require './lib/rubbr.rb'
5
5
 
6
- Hoe.new('rubbr', Rubbr::VERSION) do |p|
6
+ Hoe.new('be9-rubbr', Rubbr::VERSION) do |p|
7
7
  p.rubyforge_name = 'rubbr'
8
8
  p.author = 'Eivind Uggedal'
9
9
  p.email = 'eu@redflavor.com'
data/lib/rubbr/builder.rb CHANGED
@@ -20,6 +20,7 @@ module Rubbr
20
20
  do_build
21
21
  else
22
22
  notice "No changes in #{Rubbr.options[:build_dir]} since last build"
23
+ true
23
24
  end
24
25
  end
25
26
 
@@ -60,8 +61,12 @@ module Rubbr
60
61
  Rubbr::Builder::Ps.build
61
62
  end
62
63
  end
64
+
65
+ true
63
66
  rescue Rubbr::Runner::GotErrors
64
67
  notice "There were errors, processing stopped."
68
+
69
+ false
65
70
  end
66
71
 
67
72
  class Base
data/lib/rubbr.rb CHANGED
@@ -2,7 +2,7 @@ require 'optparse'
2
2
  $:.unshift File.dirname(__FILE__)
3
3
 
4
4
  module Rubbr
5
- VERSION = '1.1.4.2'
5
+ VERSION = '1.1.4.3'
6
6
 
7
7
  autoload :Options, 'rubbr/options'
8
8
  autoload :Cli, 'rubbr/cli'
@@ -91,14 +91,14 @@ module Rubbr
91
91
  Rubbr::Spell.new.check
92
92
 
93
93
  when @@cmd_opts[:view]
94
- Rubbr::Builder.build
94
+ exit 2 unless Rubbr::Builder.build
95
95
  Rubbr::Viewer.view
96
96
 
97
97
  when @@cmd_opts[:loop]
98
98
  Rubbr::Builder.build_in_a_loop
99
99
 
100
100
  else
101
- Rubbr::Builder.build
101
+ exit 2 unless Rubbr::Builder.build
102
102
  end
103
103
  end
104
104
  end
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: be9-rubbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4.2
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 1
8
+ - 4
9
+ - 3
10
+ version: 1.1.4.3
5
11
  platform: ruby
6
12
  authors:
7
13
  - Eivind Uggedal
@@ -9,19 +15,51 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2009-04-30 00:00:00 -07:00
13
- default_executable: rubbr
18
+ date: 2010-03-17 00:00:00 +06:00
19
+ default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
- name: hoe
22
+ name: rubyforge
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 2
30
+ - 0
31
+ - 4
32
+ version: 2.0.4
17
33
  type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: gemcutter
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
20
39
  requirements:
21
40
  - - ">="
22
41
  - !ruby/object:Gem::Version
23
- version: 1.12.2
24
- version:
42
+ segments:
43
+ - 0
44
+ - 5
45
+ - 0
46
+ version: 0.5.0
47
+ type: :development
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: hoe
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ segments:
57
+ - 2
58
+ - 5
59
+ - 0
60
+ version: 2.5.0
61
+ type: :development
62
+ version_requirements: *id003
25
63
  description: Build LaTeX documents.
26
64
  email: eu@redflavor.com
27
65
  executables:
@@ -63,6 +101,8 @@ files:
63
101
  - lib/rubbr/viewer/dvi.rb
64
102
  has_rdoc: true
65
103
  homepage: http://rubyforge.org/projects/rubbr/
104
+ licenses: []
105
+
66
106
  post_install_message:
67
107
  rdoc_options:
68
108
  - --main
@@ -73,18 +113,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
113
  requirements:
74
114
  - - ">="
75
115
  - !ruby/object:Gem::Version
116
+ segments:
117
+ - 0
76
118
  version: "0"
77
- version:
78
119
  required_rubygems_version: !ruby/object:Gem::Requirement
79
120
  requirements:
80
121
  - - ">="
81
122
  - !ruby/object:Gem::Version
123
+ segments:
124
+ - 0
82
125
  version: "0"
83
- version:
84
126
  requirements: []
85
127
 
86
128
  rubyforge_project: rubbr
87
- rubygems_version: 1.2.0
129
+ rubygems_version: 1.3.6
88
130
  signing_key:
89
131
  specification_version: 3
90
132
  summary: LaTeX builder