brnumeros 2.1.15 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +24 -35
- data/lib/brnumeros/version.rb +4 -3
- metadata +32 -9
data/Rakefile
CHANGED
@@ -1,50 +1,40 @@
|
|
1
1
|
# encoding: UTF-8
|
2
|
-
require
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
6
|
-
require
|
7
|
-
require
|
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
|
-
|
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 =
|
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 =
|
29
|
+
rdoc.rdoc_dir = "doc"
|
38
30
|
rdoc.title = "Brazilian Rails -- Números"
|
39
|
-
rdoc.options <<
|
40
|
-
rdoc.options <<
|
41
|
-
rdoc.template = "#{ENV[
|
42
|
-
rdoc.rdoc_files.include(
|
43
|
-
rdoc.rdoc_files.include(
|
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 <<
|
63
|
-
s.require_path =
|
64
|
-
|
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/#{
|
68
|
+
`gem push pkg/#{PKG_FILE_NAME}.gem`
|
80
69
|
end
|
data/lib/brnumeros/version.rb
CHANGED
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:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version:
|
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-
|
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:
|
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: []
|