brcpfcnpj 2.1.14 → 2.1.15
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +22 -25
- data/lib/brcpfcnpj/version.rb +1 -1
- metadata +29 -13
data/Rakefile
CHANGED
@@ -1,15 +1,15 @@
|
|
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__),
|
9
|
+
require File.join(File.dirname(__FILE__), "lib", "brcpfcnpj", "version")
|
10
10
|
|
11
|
-
PKG_BUILD = ENV[
|
12
|
-
PKG_NAME =
|
11
|
+
PKG_BUILD = ENV["PKG_BUILD"] ? "." + ENV["PKG_BUILD"] : ""
|
12
|
+
PKG_NAME = "brcpfcnpj"
|
13
13
|
PKG_VERSION = BrCpfCnpj::VERSION::STRING + PKG_BUILD
|
14
14
|
PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
|
15
15
|
|
@@ -19,15 +19,15 @@ RUBY_FORGE_PROJECT = "brcpfcnpj"
|
|
19
19
|
RUBY_FORGE_USER = "tapajos"
|
20
20
|
|
21
21
|
begin
|
22
|
-
require
|
23
|
-
require
|
22
|
+
require "spec"
|
23
|
+
require "spec/rake/spectask"
|
24
24
|
|
25
25
|
desc "Default Task"
|
26
26
|
task :default => [ :spec ]
|
27
27
|
|
28
28
|
desc "Run all specs"
|
29
29
|
Spec::Rake::SpecTask.new do |t|
|
30
|
-
t.spec_files = FileList[
|
30
|
+
t.spec_files = FileList["spec/**/*_spec.rb"]
|
31
31
|
end
|
32
32
|
|
33
33
|
task :test do
|
@@ -39,16 +39,15 @@ end
|
|
39
39
|
|
40
40
|
#Generate the RDoc documentation
|
41
41
|
Rake::RDocTask.new { |rdoc|
|
42
|
-
rdoc.rdoc_dir =
|
42
|
+
rdoc.rdoc_dir = "doc"
|
43
43
|
rdoc.title = "Brazilian Rails -- Data"
|
44
|
-
rdoc.options <<
|
45
|
-
rdoc.options <<
|
46
|
-
rdoc.template = "#{ENV[
|
47
|
-
rdoc.rdoc_files.include(
|
48
|
-
rdoc.rdoc_files.include(
|
44
|
+
rdoc.options << "--line-numbers" << "--inline-source" << "-A cattr_accessor=object"
|
45
|
+
rdoc.options << "--charset" << "utf-8"
|
46
|
+
rdoc.template = "#{ENV["template"]}.rb" if ENV["template"]
|
47
|
+
rdoc.rdoc_files.include("README", "CHANGELOG")
|
48
|
+
rdoc.rdoc_files.include("lib/**/*")
|
49
49
|
}
|
50
50
|
|
51
|
-
|
52
51
|
# Create compressed packages
|
53
52
|
spec = Gem::Specification.new do |s|
|
54
53
|
s.platform = Gem::Platform::RUBY
|
@@ -62,12 +61,12 @@ spec = Gem::Specification.new do |s|
|
|
62
61
|
s.rubyforge_project = "brcpfcnpj"
|
63
62
|
s.homepage = "http://www.improveit.com.br/software_livre/brazilian_rails"
|
64
63
|
|
65
|
-
s.add_dependency(
|
66
|
-
s.add_dependency(
|
64
|
+
s.add_dependency("actionpack", ">= 2.3.2", "< 3.0.0")
|
65
|
+
s.add_dependency("activesupport", ">= 2.3.2", "< 3.0.0")
|
67
66
|
|
68
67
|
s.has_rdoc = true
|
69
|
-
s.requirements <<
|
70
|
-
s.require_path =
|
68
|
+
s.requirements << "none"
|
69
|
+
s.require_path = "lib"
|
71
70
|
|
72
71
|
s.files = [ "Rakefile", "README", "CHANGELOG", "MIT-LICENSE" ]
|
73
72
|
s.files = s.files + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
|
@@ -78,8 +77,6 @@ Rake::GemPackageTask.new(spec) do |p|
|
|
78
77
|
p.gem_spec = spec
|
79
78
|
end
|
80
79
|
|
81
|
-
|
82
|
-
|
83
80
|
desc "Publish the release files to RubyForge."
|
84
81
|
task :release => [ :package ] do
|
85
82
|
`gem push pkg/#{PKG_NAME}-#{PKG_VERSION}.gem`
|
data/lib/brcpfcnpj/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brcpfcnpj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 15
|
10
|
+
version: 2.1.15
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Marcos Tapaj\xC3\xB3s"
|
@@ -19,7 +19,7 @@ autorequire:
|
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
21
|
|
22
|
-
date: 2010-
|
22
|
+
date: 2010-11-05 00:00:00 -02:00
|
23
23
|
default_executable:
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
@@ -30,12 +30,20 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
hash:
|
33
|
+
hash: 7
|
34
34
|
segments:
|
35
|
-
-
|
36
|
-
-
|
37
|
-
-
|
38
|
-
version:
|
35
|
+
- 2
|
36
|
+
- 3
|
37
|
+
- 2
|
38
|
+
version: 2.3.2
|
39
|
+
- - <
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
hash: 7
|
42
|
+
segments:
|
43
|
+
- 3
|
44
|
+
- 0
|
45
|
+
- 0
|
46
|
+
version: 3.0.0
|
39
47
|
type: :runtime
|
40
48
|
version_requirements: *id001
|
41
49
|
- !ruby/object:Gem::Dependency
|
@@ -46,12 +54,20 @@ dependencies:
|
|
46
54
|
requirements:
|
47
55
|
- - ">="
|
48
56
|
- !ruby/object:Gem::Version
|
49
|
-
hash:
|
57
|
+
hash: 7
|
50
58
|
segments:
|
51
|
-
- 1
|
52
|
-
- 4
|
53
59
|
- 2
|
54
|
-
|
60
|
+
- 3
|
61
|
+
- 2
|
62
|
+
version: 2.3.2
|
63
|
+
- - <
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
hash: 7
|
66
|
+
segments:
|
67
|
+
- 3
|
68
|
+
- 0
|
69
|
+
- 0
|
70
|
+
version: 3.0.0
|
55
71
|
type: :runtime
|
56
72
|
version_requirements: *id002
|
57
73
|
description: "brcpfcnpj \xC3\xA9 uma das gems que compoem o Brazilian Rails"
|