gilenson 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 1.2.2 / 2011-06-14
2
+
3
+ * Даже чтение $KCODE на 1.9 вызывает ворнинг.
4
+
1
5
  === 1.2.0 / 2011-06-14
2
6
 
3
7
  * Некоторые люди - ебанутые самоубийцы и не пользуются KCODE u. Жизнь их научит.
@@ -1,9 +1,11 @@
1
1
  # -*- encoding: utf-8 -*-
2
- old_kcode = $KCODE
3
- $KCODE = 'u' if RUBY_VERSION < '1.9.0'
2
+ if RUBY_VERSION < '1.9.0'
3
+ old_kcode = $KCODE
4
+ $KCODE = 'u'
5
+ end
4
6
 
5
7
  class Gilenson
6
- VERSION = '1.2.1'
8
+ VERSION = '1.2.2'
7
9
  autoload :BlueClothExtra, File.dirname(__FILE__) + '/extras/bluecloth_extra'
8
10
  autoload :RedClothExtra, File.dirname(__FILE__) + '/extras/redcloth_extra'
9
11
  autoload :RDiscountExtra, File.dirname(__FILE__) + '/extras/rdiscount_extra'
@@ -5,7 +5,7 @@ begin
5
5
  # Интеграция с Rdiscount - Markdown
6
6
  # Сам Markdown никакой обработки типографики не производит (это делает RubyPants, но вряд ли его кто-то юзает на практике)
7
7
  class RdiscountIntegrationTest < Test::Unit::TestCase
8
- C = Gilenson::RDiscountExtra
8
+ C = ::Gilenson::RDiscountExtra
9
9
 
10
10
  def test_integration_markdown
11
11
 
@@ -13,6 +13,6 @@ begin
13
13
  C.new('И вот "они пошли туда", и шли шли шли').to_html
14
14
  end
15
15
  end
16
- rescue LoadError => boom
16
+ rescue LoadError, NameError => boom
17
17
  STDERR.puts(boom.message)
18
18
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gilenson
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
- prerelease:
4
+ hash: 27
5
+ prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 1
10
- version: 1.2.1
9
+ - 2
10
+ version: 1.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Julik Tarkhanov
@@ -15,38 +15,61 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-18 00:00:00 +02:00
18
+ date: 2011-07-20 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: hoe
22
+ name: rubyforge
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 35
29
+ hash: 7
30
30
  segments:
31
31
  - 2
32
- - 9
32
+ - 0
33
33
  - 4
34
- version: 2.9.4
34
+ version: 2.0.4
35
35
  type: :development
36
36
  version_requirements: *id001
37
- description: !binary |
38
- 0J7QsdGA0LDQsdC+0YLRh9C40Log0YLQuNC/0L7Qs9GA0LDRhNGB0LrQuNGF
39
- INGB0LjQvNCy0L7Qu9C+0LIg0LIgSFRNTCDRgdC+0LPQu9Cw0YHQvdC+INC+
40
- 0LHRidC10L/RgNC40L3Rj9GC0YvQvCDQv9GA0LDQstC40LvQsNC8LgrQn9C+
41
- 0YHQstGP0YnQsNC10YLRgdGPINCfLtCTLtCT0LjQu9C10L3RgdC+0L3Rg1to
42
- dHRwOi8vd3d3LnJ1ZHRwLnJ1L2xpYi5waHA/Ym9vaz0xNzJdLCDQsdC70LDQ
43
- s9C+0LTQsNGA0Y8g0LrQvtGC0L7RgNC+0LzRgyDRgNGD0YHRgdC60LjQtSDQ
44
- v9GA0LDQstC40LvQsCDRgtC10YUuCtGA0LXQtNCw0LrRgtGD0YDRiyDQtdGJ
45
- 0LUg0LrQsNC6INC80LjQvdC40LzRg9C8IDIwINC70LXRgiDQvtGB0YLQsNC9
46
- 0YPRgtGB0Y8g0LHQtdGB0YHQvNGL0YHQu9C10L3QvdC+INGB0YLQsNGA0L7Q
47
- vNC+0LTQvdGL0LzQuC4KCtCg0LDQt9GA0LDQsdC+0YLRh9C40LrQuCBnaWxl
48
- bnNvbiAtIEp1bGlrLCBNYXNoLCBZYXJvc2xhdiBNYXJraW4u
49
-
37
+ - !ruby/object:Gem::Dependency
38
+ name: gemcutter
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 3
46
+ segments:
47
+ - 0
48
+ - 7
49
+ - 0
50
+ version: 0.7.0
51
+ type: :development
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: hoe
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 27
62
+ segments:
63
+ - 2
64
+ - 5
65
+ - 0
66
+ version: 2.5.0
67
+ type: :development
68
+ version_requirements: *id003
69
+ description: "\xD0\x9E\xD0\xB1\xD1\x80\xD0\xB0\xD0\xB1\xD0\xBE\xD1\x82\xD1\x87\xD0\xB8\xD0\xBA \xD1\x82\xD0\xB8\xD0\xBF\xD0\xBE\xD0\xB3\xD1\x80\xD0\xB0\xD1\x84\xD1\x81\xD0\xBA\xD0\xB8\xD1\x85 \xD1\x81\xD0\xB8\xD0\xBC\xD0\xB2\xD0\xBE\xD0\xBB\xD0\xBE\xD0\xB2 \xD0\xB2 HTML \xD1\x81\xD0\xBE\xD0\xB3\xD0\xBB\xD0\xB0\xD1\x81\xD0\xBD\xD0\xBE \xD0\xBE\xD0\xB1\xD1\x89\xD0\xB5\xD0\xBF\xD1\x80\xD0\xB8\xD0\xBD\xD1\x8F\xD1\x82\xD1\x8B\xD0\xBC \xD0\xBF\xD1\x80\xD0\xB0\xD0\xB2\xD0\xB8\xD0\xBB\xD0\xB0\xD0\xBC.\n\
70
+ \xD0\x9F\xD0\xBE\xD1\x81\xD0\xB2\xD1\x8F\xD1\x89\xD0\xB0\xD0\xB5\xD1\x82\xD1\x81\xD1\x8F \xD0\x9F.\xD0\x93.\xD0\x93\xD0\xB8\xD0\xBB\xD0\xB5\xD0\xBD\xD1\x81\xD0\xBE\xD0\xBD\xD1\x83[http://www.rudtp.ru/lib.php?book=172], \xD0\xB1\xD0\xBB\xD0\xB0\xD0\xB3\xD0\xBE\xD0\xB4\xD0\xB0\xD1\x80\xD1\x8F \xD0\xBA\xD0\xBE\xD1\x82\xD0\xBE\xD1\x80\xD0\xBE\xD0\xBC\xD1\x83 \xD1\x80\xD1\x83\xD1\x81\xD1\x81\xD0\xBA\xD0\xB8\xD0\xB5 \xD0\xBF\xD1\x80\xD0\xB0\xD0\xB2\xD0\xB8\xD0\xBB\xD0\xB0 \xD1\x82\xD0\xB5\xD1\x85.\n\
71
+ \xD1\x80\xD0\xB5\xD0\xB4\xD0\xB0\xD0\xBA\xD1\x82\xD1\x83\xD1\x80\xD1\x8B \xD0\xB5\xD1\x89\xD0\xB5 \xD0\xBA\xD0\xB0\xD0\xBA \xD0\xBC\xD0\xB8\xD0\xBD\xD0\xB8\xD0\xBC\xD1\x83\xD0\xBC 20 \xD0\xBB\xD0\xB5\xD1\x82 \xD0\xBE\xD1\x81\xD1\x82\xD0\xB0\xD0\xBD\xD1\x83\xD1\x82\xD1\x81\xD1\x8F \xD0\xB1\xD0\xB5\xD1\x81\xD1\x81\xD0\xBC\xD1\x8B\xD1\x81\xD0\xBB\xD0\xB5\xD0\xBD\xD0\xBD\xD0\xBE \xD1\x81\xD1\x82\xD0\xB0\xD1\x80\xD0\xBE\xD0\xBC\xD0\xBE\xD0\xB4\xD0\xBD\xD1\x8B\xD0\xBC\xD0\xB8.\n\n\
72
+ \xD0\xA0\xD0\xB0\xD0\xB7\xD1\x80\xD0\xB0\xD0\xB1\xD0\xBE\xD1\x82\xD1\x87\xD0\xB8\xD0\xBA\xD0\xB8 gilenson - Julik, Mash, Yaroslav Markin."
50
73
  email:
51
74
  - me@julik.nl
52
75
  executables:
@@ -75,7 +98,6 @@ files:
75
98
  - test/test_integration_rdiscount.rb
76
99
  - test/test_integration_redcloth3.rb
77
100
  - test/test_integration_redcloth4.rb
78
- - .gemtest
79
101
  has_rdoc: true
80
102
  homepage: http://github.com/julik/gilenson
81
103
  licenses: []
@@ -107,14 +129,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
129
  requirements: []
108
130
 
109
131
  rubyforge_project: gilenson
110
- rubygems_version: 1.6.2
132
+ rubygems_version: 1.3.7
111
133
  signing_key:
112
134
  specification_version: 3
113
- summary: !binary |
114
- 0J7QsdGA0LDQsdC+0YLRh9C40Log0YLQuNC/0L7Qs9GA0LDRhNGB0LrQuNGF
115
- INGB0LjQvNCy0L7Qu9C+0LIg0LIgSFRNTCDRgdC+0LPQu9Cw0YHQvdC+INC+
116
- 0LHRidC10L/RgNC40L3Rj9GC0YvQvCDQv9GA0LDQstC40LvQsNC8
117
-
135
+ summary: "\xD0\x9E\xD0\xB1\xD1\x80\xD0\xB0\xD0\xB1\xD0\xBE\xD1\x82\xD1\x87\xD0\xB8\xD0\xBA \xD1\x82\xD0\xB8\xD0\xBF\xD0\xBE\xD0\xB3\xD1\x80\xD0\xB0\xD1\x84\xD1\x81\xD0\xBA\xD0\xB8\xD1\x85 \xD1\x81\xD0\xB8\xD0\xBC\xD0\xB2\xD0\xBE\xD0\xBB\xD0\xBE\xD0\xB2 \xD0\xB2 HTML \xD1\x81\xD0\xBE\xD0\xB3\xD0\xBB\xD0\xB0\xD1\x81\xD0\xBD\xD0\xBE \xD0\xBE\xD0\xB1\xD1\x89\xD0\xB5\xD0\xBF\xD1\x80\xD0\xB8\xD0\xBD\xD1\x8F\xD1\x82\xD1\x8B\xD0\xBC \xD0\xBF\xD1\x80\xD0\xB0\xD0\xB2\xD0\xB8\xD0\xBB\xD0\xB0\xD0\xBC"
118
136
  test_files:
119
137
  - test/test_gilenson.rb
120
138
  - test/test_integration_bluecloth.rb
data/.gemtest DELETED
File without changes