rutils 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/README.txt +4 -2
- data/Rakefile.rb +5 -14
- data/lib/version.rb +1 -1
- metadata +5 -2
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
= RuTils
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
http://rutils.rubyforge.org
|
4
|
+
|
5
|
+
RuTils - простой обработчик русского текста на Ruby.
|
6
|
+
Основная цель RuTils - сделать разработку русскоязычных приложений на Ruby (и Rails) максимально простой
|
5
7
|
и приятной (в идеале - столь же простой как и разработку оных на английском).
|
6
8
|
|
7
9
|
== Шеф! все пропало! я обновил RuTils и он работает совершенно по-другому!
|
data/Rakefile.rb
CHANGED
@@ -8,23 +8,13 @@ begin
|
|
8
8
|
require 'rubygems'
|
9
9
|
require 'hoe'
|
10
10
|
|
11
|
+
DOCOPTS = %w(--charset utf-8 --promiscuous)
|
12
|
+
|
11
13
|
# Disable spurious warnings when running tests, ActiveMagic cannot stand -w
|
12
14
|
Hoe::RUBY_FLAGS.replace ENV['RUBY_FLAGS'] || "-I#{%w(lib test).join(File::PATH_SEPARATOR)}" +
|
13
15
|
(Hoe::RUBY_DEBUG ? " #{RUBY_DEBUG}" : '')
|
14
16
|
|
15
|
-
|
16
|
-
Class.new(Hoe) do
|
17
|
-
DOCOPTS = %w(--webcvs=http://github.com/julik/rutils/tree/master/%s --charset=utf-8 --promiscuous)
|
18
|
-
Rake::RDocTask.class_eval do
|
19
|
-
alias_method :_odefine, :define
|
20
|
-
def define; @options.unshift(*DOCOPTS); _odefine; end
|
21
|
-
end
|
22
|
-
|
23
|
-
def define_tasks
|
24
|
-
extra_deps.reject! {|e| e[0] == 'hoe' }
|
25
|
-
super
|
26
|
-
end
|
27
|
-
end.new('rutils', RuTils::VERSION) do |p|
|
17
|
+
rutils = Hoe.new('rutils', RuTils::VERSION) do |p|
|
28
18
|
p.name = "rutils"
|
29
19
|
p.author = ["Julian 'Julik' Tarkhanov", "Danil Ivanov", "Yaroslav Markin"]
|
30
20
|
p.email = ['me@julik.nl', 'yaroslav@markin.net']
|
@@ -33,7 +23,8 @@ begin
|
|
33
23
|
p.remote_rdoc_dir = ''
|
34
24
|
p.need_zip = true # ненвижу
|
35
25
|
end
|
36
|
-
|
26
|
+
rutils.spec.rdoc_options += DOCOPTS
|
27
|
+
|
37
28
|
require 'load_multi_rails_rake_tasks'
|
38
29
|
|
39
30
|
rescue LoadError
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julian 'Julik' Tarkhanov
|
@@ -83,11 +83,14 @@ files:
|
|
83
83
|
- test/test_rutils_base.rb
|
84
84
|
- test/test_transliteration.rb
|
85
85
|
has_rdoc: true
|
86
|
-
homepage:
|
86
|
+
homepage: http://rutils.rubyforge.org
|
87
87
|
post_install_message:
|
88
88
|
rdoc_options:
|
89
89
|
- --main
|
90
90
|
- README.txt
|
91
|
+
- --charset
|
92
|
+
- utf-8
|
93
|
+
- --promiscuous
|
91
94
|
require_paths:
|
92
95
|
- lib
|
93
96
|
required_ruby_version: !ruby/object:Gem::Requirement
|