brdinheiro 2.1.14 → 2.1.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +23 -29
  2. data/lib/brdinheiro/version.rb +1 -1
  3. metadata +33 -17
data/Rakefile CHANGED
@@ -1,17 +1,15 @@
1
1
  # encoding: UTF-8
2
- require 'rubygems'
3
- require 'rake'
4
- require 'rake/testtask'
5
- require 'rake/rdoctask'
6
- require 'rake/packagetask'
7
- require 'rake/gempackagetask'
2
+ require "rubygems"
3
+ require "rake"
4
+ require "rake/testtask"
5
+ require "rake/rdoctask"
6
+ require "rake/packagetask"
7
+ require "rake/gempackagetask"
8
8
 
9
+ require File.join(File.dirname(__FILE__), "lib", "brdinheiro", "version")
9
10
 
10
-
11
- require File.join(File.dirname(__FILE__), 'lib', 'brdinheiro', 'version')
12
-
13
- PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
14
- PKG_NAME = 'brdinheiro'
11
+ PKG_BUILD = ENV["PKG_BUILD"] ? "." + ENV["PKG_BUILD"] : ""
12
+ PKG_NAME = "brdinheiro"
15
13
  PKG_VERSION = BrDinheiro::VERSION::STRING + PKG_BUILD
16
14
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
17
15
 
@@ -26,24 +24,22 @@ task :default => [ :test ]
26
24
  # Run the unit tests
27
25
  Rake::TestTask.new { |t|
28
26
  t.libs << "test"
29
- t.pattern = 'test/*_test.rb'
27
+ t.pattern = "test/*_test.rb"
30
28
  t.verbose = true
31
29
  t.warning = false
32
30
  }
33
31
 
34
-
35
32
  #Generate the RDoc documentation
36
33
  Rake::RDocTask.new { |rdoc|
37
- rdoc.rdoc_dir = 'doc'
34
+ rdoc.rdoc_dir = "doc"
38
35
  rdoc.title = "Brazilian Rails -- Dinheiro"
39
- rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
40
- rdoc.options << '--charset' << 'utf-8'
41
- rdoc.template = "#{ENV['template']}.rb" if ENV['template']
42
- rdoc.rdoc_files.include('README', 'CHANGELOG')
43
- rdoc.rdoc_files.include('lib/**/*')
36
+ rdoc.options << "--line-numbers" << "--inline-source" << "-A cattr_accessor=object"
37
+ rdoc.options << "--charset" << "utf-8"
38
+ rdoc.template = "#{ENV["template"]}.rb" if ENV["template"]
39
+ rdoc.rdoc_files.include("README", "CHANGELOG")
40
+ rdoc.rdoc_files.include("lib/**/*")
44
41
  }
45
42
 
46
-
47
43
  # Create compressed packages
48
44
  spec = Gem::Specification.new do |s|
49
45
  s.platform = Gem::Platform::RUBY
@@ -57,26 +53,24 @@ spec = Gem::Specification.new do |s|
57
53
  s.rubyforge_project = "brdinheiro"
58
54
  s.homepage = "http://www.improveit.com.br/software_livre/brazilian_rails"
59
55
 
60
- s.add_dependency('actionpack', '>= 1.4.2')
61
- s.add_dependency('activerecord', '>= 1.15.3')
62
- s.add_dependency('brnumeros', '>= 0.0.1')
56
+ s.add_dependency("actionpack", ">= 2.3.2", "< 3.0.0")
57
+ s.add_dependency("activerecord", ">= 2.3.2", "< 3.0.0")
58
+ s.add_dependency("brnumeros", "= #{PKG_VERSION}")
63
59
 
64
60
  s.has_rdoc = true
65
- s.requirements << 'brnumeros'
66
- s.require_path = 'lib'
67
- #s.autorequire = 'brnumeros'
61
+ s.requirements << "brnumeros"
62
+ s.require_path = "lib"
63
+ #s.autorequire = "brnumeros"
68
64
 
69
65
  s.files = [ "Rakefile", "README", "CHANGELOG", "MIT-LICENSE" ]
70
66
  s.files = s.files + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
71
67
  s.files = s.files + Dir.glob( "test/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
72
68
  end
73
-
69
+
74
70
  Rake::GemPackageTask.new(spec) do |p|
75
71
  p.gem_spec = spec
76
72
  end
77
73
 
78
-
79
-
80
74
  desc "Publish the release files to RubyForge."
81
75
  task :release => [ :package ] do
82
76
  `gem push pkg/#{PKG_NAME}-#{PKG_VERSION}.gem`
@@ -2,7 +2,7 @@ module BrDinheiro
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 1
5
- TINY = 14
5
+ TINY = 15
6
6
 
7
7
  STRING = "#{MAJOR}.#{MINOR}.#{TINY}"
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brdinheiro
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 14
10
- version: 2.1.14
9
+ - 15
10
+ version: 2.1.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Marcos Tapaj\xC3\xB3s"
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2010-10-23 00:00:00 -02:00
21
+ date: 2010-11-05 00:00:00 -02:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency
@@ -29,12 +29,20 @@ dependencies:
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- hash: 3
32
+ hash: 7
33
33
  segments:
34
- - 1
35
- - 4
36
34
  - 2
37
- version: 1.4.2
35
+ - 3
36
+ - 2
37
+ version: 2.3.2
38
+ - - <
39
+ - !ruby/object:Gem::Version
40
+ hash: 7
41
+ segments:
42
+ - 3
43
+ - 0
44
+ - 0
45
+ version: 3.0.0
38
46
  type: :runtime
39
47
  version_requirements: *id001
40
48
  - !ruby/object:Gem::Dependency
@@ -45,12 +53,20 @@ dependencies:
45
53
  requirements:
46
54
  - - ">="
47
55
  - !ruby/object:Gem::Version
48
- hash: 45
56
+ hash: 7
49
57
  segments:
50
- - 1
51
- - 15
58
+ - 2
52
59
  - 3
53
- version: 1.15.3
60
+ - 2
61
+ version: 2.3.2
62
+ - - <
63
+ - !ruby/object:Gem::Version
64
+ hash: 7
65
+ segments:
66
+ - 3
67
+ - 0
68
+ - 0
69
+ version: 3.0.0
54
70
  type: :runtime
55
71
  version_requirements: *id002
56
72
  - !ruby/object:Gem::Dependency
@@ -59,14 +75,14 @@ dependencies:
59
75
  requirement: &id003 !ruby/object:Gem::Requirement
60
76
  none: false
61
77
  requirements:
62
- - - ">="
78
+ - - "="
63
79
  - !ruby/object:Gem::Version
64
- hash: 29
80
+ hash: 21
65
81
  segments:
66
- - 0
67
- - 0
82
+ - 2
68
83
  - 1
69
- version: 0.0.1
84
+ - 15
85
+ version: 2.1.15
70
86
  type: :runtime
71
87
  version_requirements: *id003
72
88
  description: "brdinheiro \xC3\xA9 uma das gems que compoem o Brazilian Rails"