polskie_stringi 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -31,13 +31,12 @@ PKG_FILES = FileList[
31
31
  'lib/**/*',
32
32
  'rails/**/*',
33
33
  'tasks/**/*',
34
- 'test/**/*',
35
- 'doc/**/*'
34
+ 'test/**/*'
36
35
  ]
37
36
 
38
37
  spec = Gem::Specification.new do |s|
39
38
  s.name = "polskie_stringi"
40
- s.version = "0.0.3"
39
+ s.version = "0.0.4"
41
40
  s.author = "v1x100r"
42
41
  s.email = "v1x100r@gmail.com"
43
42
  s.homepage = ""
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - v1x100r
@@ -34,18 +34,6 @@ files:
34
34
  - lib/polskie_stringi.rb
35
35
  - test/test_helper.rb
36
36
  - test/polskie_stringi_test.rb
37
- - doc/README.html
38
- - doc/Rakefile.html
39
- - doc/PolskieStringiTest.html
40
- - doc/MIT-LICENSE.html
41
- - doc/created.rid
42
- - doc/rdoc.css
43
- - doc/lib/polskie_stringi_rb.html
44
- - doc/test/test_helper_rb.html
45
- - doc/test/polskie_stringi_test_rb.html
46
- - doc/index.html
47
- - doc/String.html
48
- - doc/init_rb.html
49
37
  has_rdoc: true
50
38
  homepage: ""
51
39
  licenses: []
@@ -1,115 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
-
9
- <title>File: MIT-LICENSE [RDoc Documentation]</title>
10
-
11
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
-
13
- <script src="./js/jquery.js" type="text/javascript"
14
- charset="utf-8"></script>
15
- <script src="./js/thickbox-compressed.js" type="text/javascript"
16
- charset="utf-8"></script>
17
- <script src="./js/quicksearch.js" type="text/javascript"
18
- charset="utf-8"></script>
19
- <script src="./js/darkfish.js" type="text/javascript"
20
- charset="utf-8"></script>
21
- </head>
22
-
23
- <body class="file">
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="project-metadata">
36
-
37
-
38
- <div id="fileindex-section" class="section project-section">
39
- <h3 class="section-header">Files</h3>
40
- <ul>
41
-
42
- <li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
43
-
44
- <li class="file"><a href="./README.html">README</a></li>
45
-
46
- <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
47
-
48
- </ul>
49
- </div>
50
-
51
-
52
- <div id="classindex-section" class="section project-section">
53
- <h3 class="section-header">Class Index
54
- <span class="search-toggle"><img src="./images/find.png"
55
- height="16" width="16" alt="[+]"
56
- title="show/hide quicksearch" /></span></h3>
57
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
58
- <fieldset>
59
- <legend>Quicksearch</legend>
60
- <input type="text" name="quicksearch" value=""
61
- class="quicksearch-field" />
62
- </fieldset>
63
- </form>
64
-
65
- <ul class="link-list">
66
-
67
- <li><a href="./PolskieStringiTest.html">PolskieStringiTest</a></li>
68
-
69
- <li><a href="./String.html">String</a></li>
70
-
71
- </ul>
72
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
73
- </div>
74
-
75
-
76
- </div>
77
- </div>
78
-
79
- <div id="documentation">
80
- <p>
81
- Copyright &#169; 2011 v1x100r
82
- </p>
83
- <p>
84
- Permission is hereby granted, free of charge, to any person obtaining a
85
- copy of this software and associated documentation files (the
86
- &#8220;Software&#8221;), to deal in the Software without restriction,
87
- including without limitation the rights to use, copy, modify, merge,
88
- publish, distribute, sublicense, and/or sell copies of the Software, and to
89
- permit persons to whom the Software is furnished to do so, subject to the
90
- following conditions:
91
- </p>
92
- <p>
93
- The above copyright notice and this permission notice shall be included in
94
- all copies or substantial portions of the Software.
95
- </p>
96
- <p>
97
- THE SOFTWARE IS PROVIDED &#8220;AS IS&#8221;, WITHOUT WARRANTY OF ANY KIND,
98
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
99
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
100
- NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
101
- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
102
- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
103
- USE OR OTHER DEALINGS IN THE SOFTWARE.
104
- </p>
105
-
106
- </div>
107
-
108
- <div id="validator-badges">
109
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
110
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
111
- Rdoc Generator</a> 1.1.6</small>.</p>
112
- </div>
113
- </body>
114
- </html>
115
-
@@ -1,150 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
-
8
- <title>Class: PolskieStringiTest</title>
9
-
10
- <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="./js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="./js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="./js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="./js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="class">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- <li><a href="./test/polskie_stringi_test_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="test/polskie_stringi_test.rb">test/polskie_stringi_test.rb</a></li>
43
-
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- </div>
50
-
51
- <div id="class-metadata">
52
-
53
- <!-- Parent Class -->
54
-
55
- <div id="parent-class-section" class="section">
56
- <h3 class="section-header">Parent</h3>
57
-
58
- <p class="link">ActiveSupport::TestCase</p>
59
-
60
- </div>
61
-
62
-
63
- <!-- Namespace Contents -->
64
-
65
-
66
- <!-- Method Quickref -->
67
-
68
-
69
- <!-- Included Modules -->
70
-
71
- </div>
72
-
73
- <div id="project-metadata">
74
-
75
-
76
- <div id="fileindex-section" class="section project-section">
77
- <h3 class="section-header">Files</h3>
78
- <ul>
79
-
80
- <li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
81
-
82
- <li class="file"><a href="./README.html">README</a></li>
83
-
84
- <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
85
-
86
- </ul>
87
- </div>
88
-
89
-
90
- <div id="classindex-section" class="section project-section">
91
- <h3 class="section-header">Class Index
92
- <span class="search-toggle"><img src="./images/find.png"
93
- height="16" width="16" alt="[+]"
94
- title="show/hide quicksearch" /></span></h3>
95
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
96
- <fieldset>
97
- <legend>Quicksearch</legend>
98
- <input type="text" name="quicksearch" value=""
99
- class="quicksearch-field" />
100
- </fieldset>
101
- </form>
102
-
103
- <ul class="link-list">
104
-
105
- <li><a href="./PolskieStringiTest.html">PolskieStringiTest</a></li>
106
-
107
- <li><a href="./String.html">String</a></li>
108
-
109
- </ul>
110
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
111
- </div>
112
-
113
-
114
- </div>
115
- </div>
116
-
117
- <div id="documentation">
118
- <h1 class="class">PolskieStringiTest</h1>
119
-
120
- <div id="description">
121
-
122
- </div>
123
-
124
- <!-- Constants -->
125
-
126
-
127
- <!-- Attributes -->
128
-
129
-
130
- <!-- Methods -->
131
-
132
-
133
- </div>
134
-
135
-
136
- <div id="rdoc-debugging-section-dump" class="debugging-section">
137
-
138
- <p>Disabled; run with --debug to generate this.</p>
139
-
140
- </div>
141
-
142
- <div id="validator-badges">
143
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
144
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
145
- Rdoc Generator</a> 1.1.6</small>.</p>
146
- </div>
147
-
148
- </body>
149
- </html>
150
-
@@ -1,101 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
-
9
- <title>File: README [RDoc Documentation]</title>
10
-
11
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
-
13
- <script src="./js/jquery.js" type="text/javascript"
14
- charset="utf-8"></script>
15
- <script src="./js/thickbox-compressed.js" type="text/javascript"
16
- charset="utf-8"></script>
17
- <script src="./js/quicksearch.js" type="text/javascript"
18
- charset="utf-8"></script>
19
- <script src="./js/darkfish.js" type="text/javascript"
20
- charset="utf-8"></script>
21
- </head>
22
-
23
- <body class="file">
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="project-metadata">
36
-
37
-
38
- <div id="fileindex-section" class="section project-section">
39
- <h3 class="section-header">Files</h3>
40
- <ul>
41
-
42
- <li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
43
-
44
- <li class="file"><a href="./README.html">README</a></li>
45
-
46
- <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
47
-
48
- </ul>
49
- </div>
50
-
51
-
52
- <div id="classindex-section" class="section project-section">
53
- <h3 class="section-header">Class Index
54
- <span class="search-toggle"><img src="./images/find.png"
55
- height="16" width="16" alt="[+]"
56
- title="show/hide quicksearch" /></span></h3>
57
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
58
- <fieldset>
59
- <legend>Quicksearch</legend>
60
- <input type="text" name="quicksearch" value=""
61
- class="quicksearch-field" />
62
- </fieldset>
63
- </form>
64
-
65
- <ul class="link-list">
66
-
67
- <li><a href="./PolskieStringiTest.html">PolskieStringiTest</a></li>
68
-
69
- <li><a href="./String.html">String</a></li>
70
-
71
- </ul>
72
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
73
- </div>
74
-
75
-
76
- </div>
77
- </div>
78
-
79
- <div id="documentation">
80
- <p>
81
- PolskieStringi
82
- </p>
83
- <h6>Rozszerzenie klasy <a href="String.html">String</a>, naprawiające metody upcase, downcase i capitalize aby działały dla polskich znaków. dodana też metoda no_pl zamieniająca polskie litery na ich odpowiedniki w kodach ASCII. Dla każdej z funkcji istnieją ich odpowiedniki z !, np upcase! no_pl! itp</h6>
84
- <p>
85
- Example
86
- </p>
87
- <h6>Example goes here.</h6>
88
- <p>
89
- Copyright &#169; 2011 v1x100r, released under the MIT license
90
- </p>
91
-
92
- </div>
93
-
94
- <div id="validator-badges">
95
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
96
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
97
- Rdoc Generator</a> 1.1.6</small>.</p>
98
- </div>
99
- </body>
100
- </html>
101
-
@@ -1,174 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
-
9
- <title>File: Rakefile [RDoc Documentation]</title>
10
-
11
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
-
13
- <script src="./js/jquery.js" type="text/javascript"
14
- charset="utf-8"></script>
15
- <script src="./js/thickbox-compressed.js" type="text/javascript"
16
- charset="utf-8"></script>
17
- <script src="./js/quicksearch.js" type="text/javascript"
18
- charset="utf-8"></script>
19
- <script src="./js/darkfish.js" type="text/javascript"
20
- charset="utf-8"></script>
21
- </head>
22
-
23
- <body class="file">
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="project-metadata">
36
-
37
-
38
- <div id="fileindex-section" class="section project-section">
39
- <h3 class="section-header">Files</h3>
40
- <ul>
41
-
42
- <li class="file"><a href="./MIT-LICENSE.html">MIT-LICENSE</a></li>
43
-
44
- <li class="file"><a href="./README.html">README</a></li>
45
-
46
- <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
47
-
48
- </ul>
49
- </div>
50
-
51
-
52
- <div id="classindex-section" class="section project-section">
53
- <h3 class="section-header">Class Index
54
- <span class="search-toggle"><img src="./images/find.png"
55
- height="16" width="16" alt="[+]"
56
- title="show/hide quicksearch" /></span></h3>
57
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
58
- <fieldset>
59
- <legend>Quicksearch</legend>
60
- <input type="text" name="quicksearch" value=""
61
- class="quicksearch-field" />
62
- </fieldset>
63
- </form>
64
-
65
- <ul class="link-list">
66
-
67
- <li><a href="./PolskieStringiTest.html">PolskieStringiTest</a></li>
68
-
69
- <li><a href="./String.html">String</a></li>
70
-
71
- </ul>
72
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
73
- </div>
74
-
75
-
76
- </div>
77
- </div>
78
-
79
- <div id="documentation">
80
- <p>
81
- require &#8216;rake&#8217; require &#8216;rake/testtask&#8217; require
82
- &#8216;rake/rdoctask&#8217; require &#8216;rake/gempackagetask&#8216;
83
- </p>
84
- <p>
85
- desc &#8216;Default: run unit tests.&#8217; task :default => :test
86
- </p>
87
- <p>
88
- desc &#8216;Test the polskie_stringi plugin.&#8217;
89
- Rake::TestTask.new(:test) do |t|
90
- </p>
91
- <pre>
92
- t.libs &lt;&lt; 'lib'
93
- t.libs &lt;&lt; 'test'
94
- t.pattern = 'test/**/*_test.rb'
95
- t.verbose = true
96
- </pre>
97
- <p>
98
- end
99
- </p>
100
- <p>
101
- desc &#8216;Generate documentation for the polskie_stringi plugin.&#8217;
102
- Rake::RDocTask.new(:rdoc) do |rdoc|
103
- </p>
104
- <pre>
105
- rdoc.rdoc_dir = 'rdoc'
106
- rdoc.title = 'PolskieStringi'
107
- rdoc.options &lt;&lt; '--line-numbers' &lt;&lt; '--inline-source'
108
- rdoc.rdoc_files.include('README')
109
- rdoc.rdoc_files.include('lib/**/*.rb')
110
- </pre>
111
- <p>
112
- end
113
- </p>
114
- <p>
115
- PKG_FILES = FileList[
116
- </p>
117
- <pre>
118
- '[a-zA-Z]*',
119
- 'generators/**/*',
120
- 'lib/**/*',
121
- 'rails/**/*',
122
- 'tasks/**/*',
123
- 'test/**/*'
124
- </pre>
125
- <p>
126
- ]
127
- </p>
128
- <pre>
129
-
130
- </pre>
131
- <p>
132
- spec = Gem::Specification.new do |s|
133
- </p>
134
- <pre>
135
- s.name = &quot;polskie_stringi&quot;
136
- s.version = &quot;0.0.2&quot;
137
- s.author = &quot;v1x100r&quot;
138
- s.email = &quot;v1x100r@gmail.com&quot;
139
- s.homepage = &quot;&quot;
140
- s.platform = Gem::Platform::RUBY
141
- s.summary = &quot;Rozszerza funkcje klasy String o obsługę polskich znaków&quot;
142
- s.description = &quot;Funkcje upcase, downcase, capitalize, upcase!, downcase!, capitalize! obsługują od teraz polskie znaki. Dodatkowo 2 nowe funkcje no_pl i no_pl! które czyszczą ogonki ze znaków, oraz metoda String.polish_chars pobierająca tablicę z polskimi literami.&quot;
143
- s.files = PKG_FILES.to_a
144
- s.require_path = &quot;lib&quot;
145
- s.has_rdoc = false
146
- s.extra_rdoc_files = [&quot;README&quot;]
147
- </pre>
148
- <p>
149
- end
150
- </p>
151
- <pre>
152
-
153
- </pre>
154
- <p>
155
- desc &#8216;Turn this plugin into a gem.&#8217;
156
- Rake::GemPackageTask.new(spec) do |pkg|
157
- </p>
158
- <pre>
159
- pkg.gem_spec = spec
160
- </pre>
161
- <p>
162
- end
163
- </p>
164
-
165
- </div>
166
-
167
- <div id="validator-badges">
168
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
169
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
170
- Rdoc Generator</a> 1.1.6</small>.</p>
171
- </div>
172
- </body>
173
- </html>
174
-