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