brcpfcnpj 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 +11 -19
  2. data/lib/brcpfcnpj/version.rb +5 -4
  3. metadata +47 -24
data/Rakefile CHANGED
@@ -1,7 +1,6 @@
1
1
  # encoding: UTF-8
2
2
  require "rubygems"
3
3
  require "rake"
4
- require "rake/testtask"
5
4
  require "rake/rdoctask"
6
5
  require "rake/packagetask"
7
6
  require "rake/gempackagetask"
@@ -13,28 +12,18 @@ PKG_NAME = "brcpfcnpj"
13
12
  PKG_VERSION = BrCpfCnpj::VERSION::STRING + PKG_BUILD
14
13
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
15
14
 
16
- RELEASE_NAME = "REL #{PKG_VERSION}"
17
-
18
- RUBY_FORGE_PROJECT = "brcpfcnpj"
19
- RUBY_FORGE_USER = "tapajos"
20
-
21
15
  begin
22
- require "spec"
23
- require "spec/rake/spectask"
16
+ require "rspec/core/rake_task"
17
+ RSpec::Core::RakeTask.new
24
18
 
25
19
  desc "Default Task"
26
20
  task :default => [ :spec ]
27
21
 
28
- desc "Run all specs"
29
- Spec::Rake::SpecTask.new do |t|
30
- t.spec_files = FileList["spec/**/*_spec.rb"]
31
- end
32
-
33
22
  task :test do
34
23
  system("rake spec")
35
24
  end
36
25
  rescue LoadError
37
- puts "To execute tests for brcnpjcpf gem, you want to install spec gem before"
26
+ puts "To execute tests for brcnpjcpf gem, you want to install rspec gem before"
38
27
  end
39
28
 
40
29
  #Generate the RDoc documentation
@@ -56,13 +45,16 @@ spec = Gem::Specification.new do |s|
56
45
  s.description = %q{brcpfcnpj é uma das gems que compoem o Brazilian Rails}
57
46
  s.version = PKG_VERSION
58
47
 
59
- s.authors = ["Marcos Tapajós", "Celestino Gomes", "Andre Kupkosvki", "Vinícius Teles", "Cássio Marques"]
60
- s.email = "tapajos@gmail.com"
48
+ s.authors = ["Marcos Tapajós", "Celestino Gomes", "Andre Kupkosvki", "Vinícius Teles", "Felipe Barreto", "Rafael Walter", "Cassio Marques"]
49
+ 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"
61
50
  s.rubyforge_project = "brcpfcnpj"
62
51
  s.homepage = "http://www.improveit.com.br/software_livre/brazilian_rails"
63
52
 
64
- s.add_dependency("actionpack", ">= 2.3.2", "< 3.0.0")
65
- s.add_dependency("activesupport", ">= 2.3.2", "< 3.0.0")
53
+ s.add_dependency("actionpack", ">= 3.0.0")
54
+ s.add_dependency("activesupport", ">= 3.0.0")
55
+
56
+ s.add_development_dependency "rake"
57
+ s.add_development_dependency "rspec", ">= 2.0.0"
66
58
 
67
59
  s.has_rdoc = true
68
60
  s.requirements << "none"
@@ -79,5 +71,5 @@ end
79
71
 
80
72
  desc "Publish the release files to RubyForge."
81
73
  task :release => [ :package ] do
82
- `gem push pkg/#{PKG_NAME}-#{PKG_VERSION}.gem`
74
+ `gem push pkg/#{PKG_FILE_NAME}.gem`
83
75
  end
@@ -1,9 +1,10 @@
1
1
  module BrCpfCnpj
2
2
  module VERSION #:nodoc:
3
- MAJOR = 2
4
- MINOR = 1
5
- TINY = 15
6
-
3
+ MAJOR = 3
4
+ MINOR = 0
5
+ TINY = 0
6
+
7
7
  STRING = "#{MAJOR}.#{MINOR}.#{TINY}"
8
8
  end
9
9
  end
10
+
metadata CHANGED
@@ -1,25 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brcpfcnpj
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
- - "C\xC3\xA1ssio Marques"
17
+ - Felipe Barreto
18
+ - Rafael Walter
19
+ - Cassio Marques
18
20
  autorequire:
19
21
  bindir: bin
20
22
  cert_chain: []
21
23
 
22
- date: 2010-11-05 00:00:00 -02:00
24
+ date: 2010-10-23 00:00:00 -02:00
23
25
  default_executable:
24
26
  dependencies:
25
27
  - !ruby/object:Gem::Dependency
@@ -29,14 +31,6 @@ dependencies:
29
31
  none: false
30
32
  requirements:
31
33
  - - ">="
32
- - !ruby/object:Gem::Version
33
- hash: 7
34
- segments:
35
- - 2
36
- - 3
37
- - 2
38
- version: 2.3.2
39
- - - <
40
34
  - !ruby/object:Gem::Version
41
35
  hash: 7
42
36
  segments:
@@ -53,14 +47,6 @@ dependencies:
53
47
  none: false
54
48
  requirements:
55
49
  - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 7
58
- segments:
59
- - 2
60
- - 3
61
- - 2
62
- version: 2.3.2
63
- - - <
64
50
  - !ruby/object:Gem::Version
65
51
  hash: 7
66
52
  segments:
@@ -70,8 +56,45 @@ dependencies:
70
56
  version: 3.0.0
71
57
  type: :runtime
72
58
  version_requirements: *id002
59
+ - !ruby/object:Gem::Dependency
60
+ name: rake
61
+ prerelease: false
62
+ requirement: &id003 !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ hash: 3
68
+ segments:
69
+ - 0
70
+ version: "0"
71
+ type: :development
72
+ version_requirements: *id003
73
+ - !ruby/object:Gem::Dependency
74
+ name: rspec
75
+ prerelease: false
76
+ requirement: &id004 !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ hash: 15
82
+ segments:
83
+ - 2
84
+ - 0
85
+ - 0
86
+ version: 2.0.0
87
+ type: :development
88
+ version_requirements: *id004
73
89
  description: "brcpfcnpj \xC3\xA9 uma das gems que compoem o Brazilian Rails"
74
- email: tapajos@gmail.com
90
+ email:
91
+ - tapajos@gmail.com
92
+ - tinorj@gmail.com
93
+ - kupkovski@gmail.com
94
+ - vinicius.m.teles@gmail.com
95
+ - felipebarreto@gmail.com
96
+ - rafawalter@gmail.com
97
+ - cassiommc@gmail.com
75
98
  executables: []
76
99
 
77
100
  extensions: []