brstring 2.1.8 → 2.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: UTF-8
1
2
  require 'rubygems'
2
3
  require 'rake'
3
4
  require 'rake/testtask'
@@ -86,15 +87,7 @@ end
86
87
  # end
87
88
  #
88
89
 
89
- desc "Publish the release files to RubyForge."
90
+ desc "Publish the new release"
90
91
  task :release => [ :package ] do
91
- require 'rubyforge'
92
- require 'rake/contrib/rubyforgepublisher'
93
-
94
- packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" }
95
-
96
- rubyforge = RubyForge.new
97
- rubyforge.configure
98
- rubyforge.login
99
- rubyforge.add_release("brazilian-rails", PKG_NAME, "REL #{PKG_VERSION}", *packages)
92
+ system("cd pkg/ && gem push #{PKG_NAME}-#{PKG_VERSION}.gem")
100
93
  end
data/lib/brstring.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
- $KCODE = 'utf-8'
4
+ $KCODE = 'utf-8' if RUBY_VERSION < '1.9'
5
5
 
6
6
  require 'rubygems'
7
7
  require 'activesupport'
@@ -10,4 +10,4 @@ require 'activesupport'
10
10
  string_portuguese).each {|req| require File.dirname(__FILE__) + "/brstring/#{req}"}
11
11
 
12
12
  module BrString
13
- end
13
+ end
@@ -1,3 +1,4 @@
1
+ # encoding: UTF-8
1
2
  class String
2
3
  MINUSCULAS_COM_ACENTO = 'áéíóúâêîôûàèìòùäëïöüãõñç'
3
4
  MAIUSCULAS_COM_ACENTO = 'ÁÉÍÓÚÂÊÎÔÛÀÈÌÒÙÄËÏÖÜÃÕÑÇ'
@@ -2,7 +2,7 @@ module BrString
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 2
4
4
  MINOR = 1
5
- TINY = 8
5
+ TINY = 9
6
6
 
7
7
  STRING = "#{MAJOR}.#{MINOR}.#{TINY}"
8
8
  end
@@ -1,3 +1,4 @@
1
+ # encoding: UTF-8
1
2
  require File.dirname(__FILE__) + '/test_helper'
2
3
 
3
4
  NOMES_PROPRIOS = {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brstring
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.8
4
+ version: 2.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Marcos Tapaj\xC3\xB3s"
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2009-04-16 00:00:00 -03:00
15
+ date: 2009-12-04 00:00:00 -02:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
@@ -38,7 +38,6 @@ files:
38
38
  - README
39
39
  - CHANGELOG
40
40
  - MIT-LICENSE
41
- - lib/brstring
42
41
  - lib/brstring/string_portuguese.rb
43
42
  - lib/brstring/version.rb
44
43
  - lib/brstring.rb
@@ -46,6 +45,8 @@ files:
46
45
  - test/test_helper.rb
47
46
  has_rdoc: true
48
47
  homepage: http://www.improveit.com.br/software_livre/brazilian_rails
48
+ licenses: []
49
+
49
50
  post_install_message:
50
51
  rdoc_options: []
51
52
 
@@ -66,9 +67,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
67
  requirements:
67
68
  - none
68
69
  rubyforge_project: brstring
69
- rubygems_version: 1.3.1
70
+ rubygems_version: 1.3.5
70
71
  signing_key:
71
- specification_version: 2
72
+ specification_version: 3
72
73
  summary: "brstring \xC3\xA9 uma das gems que compoem o Brazilian Rails"
73
74
  test_files: []
74
75