Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 13
- Log:
Initial import of Typo 2.6.0 sources from a downloaded Tarball.
Typo is a Ruby On Rails based blog engine.
- Author:
- adh
- Date:
- Sat Jul 22 22:25:02 +0100 2006
- Size:
- 4256 Bytes
1 | = RubyPants -- SmartyPants ported to Ruby |
2 | |
3 | Ported by Christian Neukirchen <mailto:chneukirchen@gmail.com> |
4 | Copyright (C) 2004 Christian Neukirchen |
5 | |
6 | Incooporates ideas, comments and documentation by Chad Miller |
7 | Copyright (C) 2004 Chad Miller |
8 | |
9 | Original SmartyPants by John Gruber |
10 | Copyright (C) 2003 John Gruber |
11 | |
12 | |
13 | == RubyPants |
14 | |
15 | RubyPants is a Ruby port of the smart-quotes library SmartyPants. |
16 | |
17 | The original "SmartyPants" is a free web publishing plug-in for |
18 | Movable Type, Blosxom, and BBEdit that easily translates plain ASCII |
19 | punctuation characters into "smart" typographic punctuation HTML |
20 | entities. |
21 | |
22 | See rubypants.rb for more information. |
23 | |
24 | |
25 | == Incompatibilities |
26 | |
27 | RubyPants uses a different API than SmartyPants; it is compatible to |
28 | Red- and BlueCloth. Usually, you call RubyPants like this: |
29 | |
30 | nicehtml = RubyPants.new(uglyhtml, options).to_html |
31 | |
32 | where +options+ is an Array of Integers and/or Symbols (if you don't |
33 | pass any options, RubyPants will use <tt>[2]</tt> as default.) |
34 | |
35 | *Note*:: This is incompatible to SmartyPants, which uses <tt>[1]</tt> |
36 | for default. |
37 | |
38 | The exact meaning of numbers and symbols is documented at RubyPants#new. |
39 | |
40 | |
41 | == SmartyPants license: |
42 | |
43 | Copyright (c) 2003 John Gruber |
44 | (http://daringfireball.net) |
45 | All rights reserved. |
46 | |
47 | Redistribution and use in source and binary forms, with or without |
48 | modification, are permitted provided that the following conditions |
49 | are met: |
50 | |
51 | * Redistributions of source code must retain the above copyright |
52 | notice, this list of conditions and the following disclaimer. |
53 | |
54 | * Redistributions in binary form must reproduce the above copyright |
55 | notice, this list of conditions and the following disclaimer in |
56 | the documentation and/or other materials provided with the |
57 | distribution. |
58 | |
59 | * Neither the name "SmartyPants" nor the names of its contributors |
60 | may be used to endorse or promote products derived from this |
61 | software without specific prior written permission. |
62 | |
63 | This software is provided by the copyright holders and contributors |
64 | "as is" and any express or implied warranties, including, but not |
65 | limited to, the implied warranties of merchantability and fitness |
66 | for a particular purpose are disclaimed. In no event shall the |
67 | copyright owner or contributors be liable for any direct, indirect, |
68 | incidental, special, exemplary, or consequential damages (including, |
69 | but not limited to, procurement of substitute goods or services; |
70 | loss of use, data, or profits; or business interruption) however |
71 | caused and on any theory of liability, whether in contract, strict |
72 | liability, or tort (including negligence or otherwise) arising in |
73 | any way out of the use of this software, even if advised of the |
74 | possibility of such damage. |
75 | |
76 | |
77 | == RubyPants license |
78 | |
79 | Copyright (C) 2004 Christian Neukirchen |
80 | |
81 | RubyPants is a derivative work of SmartyPants and smartypants.py. |
82 | |
83 | Redistribution and use in source and binary forms, with or without |
84 | modification, are permitted provided that the following conditions |
85 | are met: |
86 | |
87 | * Redistributions of source code must retain the above copyright |
88 | notice, this list of conditions and the following disclaimer. |
89 | |
90 | * Redistributions in binary form must reproduce the above copyright |
91 | notice, this list of conditions and the following disclaimer in |
92 | the documentation and/or other materials provided with the |
93 | distribution. |
94 | |
95 | This software is provided by the copyright holders and contributors |
96 | "as is" and any express or implied warranties, including, but not |
97 | limited to, the implied warranties of merchantability and fitness |
98 | for a particular purpose are disclaimed. In no event shall the |
99 | copyright owner or contributors be liable for any direct, indirect, |
100 | incidental, special, exemplary, or consequential damages (including, |
101 | but not limited to, procurement of substitute goods or services; |
102 | loss of use, data, or profits; or business interruption) however |
103 | caused and on any theory of liability, whether in contract, strict |
104 | liability, or tort (including negligence or otherwise) arising in |
105 | any way out of the use of this software, even if advised of the |
106 | possibility of such damage. |
107 | |
108 | |
109 | == Links |
110 | |
111 | John Gruber:: http://daringfireball.net |
112 | SmartyPants:: http://daringfireball.net/projects/smartypants |
113 | Chad Miller:: http://web.chad.org |
114 | Christian Neukirchen:: http://kronavita.de/chris |