brstring 2.1.11 → 2.1.12
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +4 -14
- data/lib/brstring/version.rb +1 -1
- data/lib/brstring.rb +3 -3
- metadata +5 -5
data/Rakefile
CHANGED
@@ -5,7 +5,9 @@ require 'rake/testtask'
|
|
5
5
|
require 'rake/rdoctask'
|
6
6
|
require 'rake/packagetask'
|
7
7
|
require 'rake/gempackagetask'
|
8
|
-
|
8
|
+
|
9
|
+
|
10
|
+
|
9
11
|
require File.join(File.dirname(__FILE__), 'lib', 'brstring', 'version')
|
10
12
|
|
11
13
|
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
|
@@ -56,7 +58,7 @@ spec = Gem::Specification.new do |s|
|
|
56
58
|
s.rubyforge_project = "brstring"
|
57
59
|
s.homepage = "http://www.improveit.com.br/software_livre/brazilian_rails"
|
58
60
|
|
59
|
-
s.add_dependency('
|
61
|
+
s.add_dependency('activesupport', '>= 1.4.2')
|
60
62
|
|
61
63
|
|
62
64
|
s.has_rdoc = true
|
@@ -71,21 +73,9 @@ end
|
|
71
73
|
|
72
74
|
Rake::GemPackageTask.new(spec) do |p|
|
73
75
|
p.gem_spec = spec
|
74
|
-
p.need_tar = true
|
75
|
-
p.need_zip = true
|
76
76
|
end
|
77
77
|
|
78
78
|
|
79
|
-
# desc "Publish the API documentation"
|
80
|
-
# task :pgem => [:package] do
|
81
|
-
# Rake::SshFilePublisher.new("wrath.rubyonrails.org", "public_html/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
|
82
|
-
# end
|
83
|
-
#
|
84
|
-
# desc "Publish the API documentation"
|
85
|
-
# task :pdoc => [:rdoc] do
|
86
|
-
# Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/am", "doc").upload
|
87
|
-
# end
|
88
|
-
#
|
89
79
|
|
90
80
|
desc "Publish the release files to RubyForge."
|
91
81
|
task :release => [ :package ] do
|
data/lib/brstring/version.rb
CHANGED
data/lib/brstring.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
$:.unshift(File.dirname(__FILE__)) unless
|
2
2
|
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
|
3
|
-
|
3
|
+
|
4
4
|
$KCODE = 'utf-8' if RUBY_VERSION < '1.9'
|
5
5
|
|
6
|
-
require 'rubygems'
|
6
|
+
require 'rubygems'
|
7
7
|
require 'active_support'
|
8
|
-
|
8
|
+
|
9
9
|
%w(version
|
10
10
|
string_portuguese).each {|req| require File.dirname(__FILE__) + "/brstring/#{req}"}
|
11
11
|
|
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:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 12
|
10
|
+
version: 2.1.12
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "Marcos Tapaj\xC3\xB3s"
|
@@ -18,11 +18,11 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date: 2010-
|
21
|
+
date: 2010-07-01 00:00:00 -03:00
|
22
22
|
default_executable:
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
|
-
name:
|
25
|
+
name: activesupport
|
26
26
|
prerelease: false
|
27
27
|
requirement: &id001 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|