brstring 2.1.14 → 2.1.15

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