brnumeros 2.1.15 → 3.0.0

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 +24 -35
  2. data/lib/brnumeros/version.rb +4 -3
  3. metadata +32 -9
data/Rakefile CHANGED
@@ -1,50 +1,40 @@
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", "brnumeros", "version")
9
10
 
10
-
11
- require File.join(File.dirname(__FILE__), 'lib', 'brnumeros', 'version')
12
-
13
- PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
14
- PKG_NAME = 'brnumeros'
11
+ PKG_BUILD = ENV["PKG_BUILD"] ? "." + ENV["PKG_BUILD"] : ""
12
+ PKG_NAME = "brnumeros"
15
13
  PKG_VERSION = BrNumeros::VERSION::STRING + PKG_BUILD
16
14
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
17
15
 
18
- RELEASE_NAME = "REL #{PKG_VERSION}"
19
-
20
- RUBY_FORGE_PROJECT = "brnumeros"
21
- RUBY_FORGE_USER = "tapajos"
22
-
23
16
  desc "Default Task"
24
17
  task :default => [ :test ]
25
18
 
26
19
  # Run the unit tests
27
20
  Rake::TestTask.new { |t|
28
21
  t.libs << "test"
29
- t.pattern = 'test/*_test.rb'
22
+ t.pattern = "test/*_test.rb"
30
23
  t.verbose = true
31
24
  t.warning = false
32
25
  }
33
26
 
34
-
35
27
  #Generate the RDoc documentation
36
28
  Rake::RDocTask.new { |rdoc|
37
- rdoc.rdoc_dir = 'doc'
29
+ rdoc.rdoc_dir = "doc"
38
30
  rdoc.title = "Brazilian Rails -- Números"
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/**/*')
31
+ rdoc.options << "--line-numbers" << "--inline-source" << "-A cattr_accessor=object"
32
+ rdoc.options << "--charset" << "utf-8"
33
+ rdoc.template = "#{ENV["template"]}.rb" if ENV["template"]
34
+ rdoc.rdoc_files.include("README", "CHANGELOG")
35
+ rdoc.rdoc_files.include("lib/**/*")
44
36
  }
45
37
 
46
-
47
-
48
38
  # Create compressed packages
49
39
  spec = Gem::Specification.new do |s|
50
40
  s.platform = Gem::Platform::RUBY
@@ -53,28 +43,27 @@ spec = Gem::Specification.new do |s|
53
43
  s.description = %q{brnumeros é uma das gems que compoem o Brazilian Rails}
54
44
  s.version = PKG_VERSION
55
45
 
56
- s.authors = ["Marcos Tapajós", "Celestino Gomes", "Andre Kupkosvki", "Vinícius Teles"]
57
- s.email = "tapajos@gmail.com"
46
+ s.authors = ["Marcos Tapajós", "Celestino Gomes", "Andre Kupkosvki", "Vinícius Teles", "Felipe Barreto", "Rafael Walter", "Cassio Marques"]
47
+ s.email = %w"tapajos@gmail.com tinorj@gmail.com kupkovski@gmail.com vinicius.m.teles@gmail.com felipebarreto@gmail.com rafawalter@gmail.com cassiommc@gmail.com"
58
48
  s.rubyforge_project = "brnumeros"
59
49
  s.homepage = "http://www.improveit.com.br/software_livre/brazilian_rails"
60
50
 
61
51
  s.has_rdoc = true
62
- s.requirements << 'none'
63
- s.require_path = 'lib'
64
- # s.autorequire = 'brnumeros'
52
+ s.requirements << "none"
53
+ s.require_path = "lib"
54
+
55
+ s.add_development_dependency "rake"
65
56
 
66
57
  s.files = [ "Rakefile", "README", "CHANGELOG", "MIT-LICENSE" ]
67
58
  s.files = s.files + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
68
59
  s.files = s.files + Dir.glob( "test/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
69
60
  end
70
-
61
+
71
62
  Rake::GemPackageTask.new(spec) do |p|
72
63
  p.gem_spec = spec
73
64
  end
74
65
 
75
-
76
-
77
66
  desc "Publish the release files to RubyForge."
78
67
  task :release => [ :package ] do
79
- `gem push pkg/#{PKG_NAME}-#{PKG_VERSION}.gem`
68
+ `gem push pkg/#{PKG_FILE_NAME}.gem`
80
69
  end
@@ -1,9 +1,10 @@
1
1
  module BrNumeros
2
2
  module VERSION #:nodoc:
3
- MAJOR = 2
4
- MINOR = 1
5
- TINY = 15
3
+ MAJOR = 3
4
+ MINOR = 0
5
+ TINY = 0
6
6
 
7
7
  STRING = "#{MAJOR}.#{MINOR}.#{TINY}"
8
8
  end
9
9
  end
10
+
metadata CHANGED
@@ -1,29 +1,52 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brnumeros
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 7
5
5
  prerelease: false
6
6
  segments:
7
- - 2
8
- - 1
9
- - 15
10
- version: 2.1.15
7
+ - 3
8
+ - 0
9
+ - 0
10
+ version: 3.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Marcos Tapaj\xC3\xB3s"
14
14
  - Celestino Gomes
15
15
  - Andre Kupkosvki
16
16
  - "Vin\xC3\xADcius Teles"
17
+ - Felipe Barreto
18
+ - Rafael Walter
19
+ - Cassio Marques
17
20
  autorequire:
18
21
  bindir: bin
19
22
  cert_chain: []
20
23
 
21
- date: 2010-11-05 00:00:00 -02:00
24
+ date: 2010-10-23 00:00:00 -02:00
22
25
  default_executable:
23
- dependencies: []
24
-
26
+ dependencies:
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ prerelease: false
30
+ requirement: &id001 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ hash: 3
36
+ segments:
37
+ - 0
38
+ version: "0"
39
+ type: :development
40
+ version_requirements: *id001
25
41
  description: "brnumeros \xC3\xA9 uma das gems que compoem o Brazilian Rails"
26
- email: tapajos@gmail.com
42
+ email:
43
+ - tapajos@gmail.com
44
+ - tinorj@gmail.com
45
+ - kupkovski@gmail.com
46
+ - vinicius.m.teles@gmail.com
47
+ - felipebarreto@gmail.com
48
+ - rafawalter@gmail.com
49
+ - cassiommc@gmail.com
27
50
  executables: []
28
51
 
29
52
  extensions: []