vikinggem 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,13 @@
1
+ == 0.0.3 2008-04-25
2
+
3
+ * 1 minor release:
4
+ * Made contents of script/ executable
5
+
6
+ == 0.0.2 2008-04-22
7
+
8
+ * 1 minor release:
9
+ * Changed Manifest to include spec_helper.rb and website
10
+
1
11
  == 0.0.1 2008-04-22
2
12
 
3
13
  * 1 major enhancement:
@@ -1,9 +1,8 @@
1
1
  .autotest
2
2
  History.txt
3
3
  Manifest.txt
4
- README.markdown
5
- README.txt
6
4
  Rakefile
5
+ Readme.txt
7
6
  lib/core_ext/object.rb
8
7
  lib/core_ext/transformations.rb
9
8
  lib/viking.rb
@@ -15,8 +14,8 @@ lib/viking/viking.rb
15
14
  setup.rb
16
15
  spec/core_ext/object_spec.rb
17
16
  spec/core_ext/transformations_spec.rb
18
- spec/lib/akismet_spec.rb
19
- spec/lib/base_spec.rb
17
+ spec/lib/akismet_sepc.rb
18
+ spec/lib/base_sepc.rb
20
19
  spec/lib/defensio_spec.rb
21
20
  spec/lib/viking_spec.rb
22
21
  spec/spec.opts
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- require 'config/requirements'
2
- require 'config/hoe' # setup Hoe + all gem configuration
3
-
4
- Dir['tasks/**/*.rake'].each { |rake| load rake }
1
+ require 'config/requirements'
2
+ require 'config/hoe' # setup Hoe + all gem configuration
3
+
4
+ Dir['tasks/**/*.rake'].each { |rake| load(rake) }
@@ -4,6 +4,9 @@ Viking to other Ruby web frameworks by gem-ifying the plugin, and extending it
4
4
  with a few of the additions that were generated by the Collective project
5
5
  (http://github.com/meekish/collective).
6
6
 
7
+ For more information on how to use this gem, check out the well documented
8
+ code, and the "website":http://vikinggem.rubyforge.org/
9
+
7
10
  = License
8
11
 
9
12
  (The MIT License)
@@ -2,7 +2,7 @@ module Viking #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -30,4 +30,4 @@ describe Array, '#to_query' do
30
30
  it 'should convert to a valid URI query' do
31
31
  [:foo, :bar].to_query('baz').should == 'baz%5B%5D=foo&baz%5B%5D=bar'
32
32
  end
33
- end
33
+ end
File without changes
@@ -29,11 +29,10 @@
29
29
  </head>
30
30
  <body>
31
31
  <div id="main">
32
-
33
32
  <h1>VikingGem</h1>
34
- <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/viking"; return false'>
33
+ <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/vikinggem"; return false'>
35
34
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/viking" class="numbers">0.0.2</a>
35
+ <a href="http://rubyforge.org/projects/vikinggem" class="numbers">0.0.3</a>
37
36
  </div>
38
37
  <h2>What</h2>
39
38
 
@@ -69,6 +68,13 @@ to make it easier for you to dive in and grok its inner-workings.</p>
69
68
  <p>Coming soon!</p>
70
69
 
71
70
 
71
+ <h3>Documentation</h3>
72
+
73
+
74
+ <p>The RDocs are extensive and <a href=":http://vikinggem.rubyforge.org/rdoc/">available for you to peruse</a>. Patches for
75
+ documentation are always welcome and encouraged (see &#8220;How to submit patches&#8221;).</p>
76
+
77
+
72
78
  <h2>Demonstration of usage</h2>
73
79
 
74
80
 
@@ -78,27 +84,29 @@ to make it easier for you to dive in and grok its inner-workings.</p>
78
84
  <h2>Forum</h2>
79
85
 
80
86
 
81
- <p><a href="http://groups.google.com/group/viking">http://groups.google.com/group/viking</a></p>
87
+ <p>Need help? Want to chat about things you&#8217;d like to see different in VikingGem?
88
+ A <a href=":http://groups.google.com/group/viking">Google Group</a> is available for you to use.</p>
82
89
 
83
90
 
84
91
  <h2>How to submit patches</h2>
85
92
 
86
93
 
87
- <p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
94
+ <p>Read the <a href=":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section
95
+ <a href=":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
88
96
 
89
97
 
90
98
  <p>You can fetch the source from either:</p>
91
99
 
92
100
 
93
101
  <ul>
94
- <li>rubyforge (stable): <a href="http://rubyforge.org/scm/?group_id">http://rubyforge.org/scm/?group_id=</a>=</li>
102
+ <li>rubyforge (stable): <a href=":http://rubyforge.org/scm/?group_id=6110">http://rubyforge.org/scm/?group_id=6110</a></li>
95
103
  </ul>
96
104
 
97
105
 
98
106
  <pre>git clone git://rubyforge.org/vikinggem.git</pre>
99
107
 
100
108
  <ul>
101
- <li>github (edge): <a href="http://github.com/jherdman/viking/tree/master">http://github.com/jherdman/viking/tree/master</a></li>
109
+ <li>github (edge): <a href=":http://github.com/jherdman/viking/tree/master">http://github.com/jherdman/viking/tree/master</a></li>
102
110
  </ul>
103
111
 
104
112
 
@@ -116,20 +124,29 @@ rake install_gem
116
124
  <h2>License</h2>
117
125
 
118
126
 
119
- <p>This code is free to use under the terms of the <span class="caps">MIT</span> license.</p>
127
+ <p>This code is free to use under the terms of the <a href=":http://www.opensource.org/licenses/mit-license.php"><span class="caps">MIT</span> license</a>.</p>
120
128
 
121
129
 
122
130
  <h2>Contact</h2>
123
131
 
124
132
 
125
- <p>Comments are welcome. Send an email to <a href="mailto:james.herdman@gmail.com">James Herdman, Jed Hurt, Technoweenie</a> via the <a href="http://groups.google.com/group/viking">forum</a></p>
133
+ <p>Comments are welcome. Send an email to <a href="mailto:james.herdman@gmail.com">James Herdman, Jed Hurt, Technoweenie</a>
134
+ via the <a href=":http://groups.google.com/group/viking">forum</a></p>
126
135
  <p class="coda">
127
- <a href="james.herdman@gmail.com">James Herdman, Jed Hurt, Technoweenie</a>, 22nd April 2008<br>
136
+ <a href="james.herdman@gmail.com">James Herdman, Jed Hurt, Technoweenie</a>, 25th April 2008<br>
128
137
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
129
138
  </p>
130
139
  </div>
131
140
 
132
- <!-- insert site tracking codes here, like Google Urchin -->
141
+ <script type="text/javascript">
142
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
143
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
144
+ </script>
145
+ <script type="text/javascript">
146
+ var pageTracker = _gat._getTracker("UA-4086476-2");
147
+ pageTracker._initData();
148
+ pageTracker._trackPageview();
149
+ </script>
133
150
 
134
151
  </body>
135
152
  </html>
@@ -26,25 +26,32 @@ h2. The basics
26
26
 
27
27
  Coming soon!
28
28
 
29
+ h3. Documentation
30
+
31
+ The RDocs are extensive and "available for you to peruse":rdocs. Patches for
32
+ documentation are always welcome and encouraged (see "How to submit patches").
33
+
29
34
  h2. Demonstration of usage
30
35
 
31
36
  Coming soon!
32
37
 
33
38
  h2. Forum
34
39
 
35
- "http://groups.google.com/group/viking":http://groups.google.com/group/viking
40
+ Need help? Want to chat about things you'd like to see different in VikingGem?
41
+ A "Google Group":forum is available for you to use.
36
42
 
37
43
  h2. How to submit patches
38
44
 
39
- Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/ and for section "8b: Submit patch to Google Groups":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups, use the Google Group above.
45
+ Read the "8 steps for fixing other people's code":fixing_code and for section
46
+ "8b: Submit patch to Google Groups":fixing_code_8b, use the Google Group above.
40
47
 
41
48
  You can fetch the source from either:
42
49
 
43
- * rubyforge (stable): "http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %>":http://rubyforge.org/scm/?group_id=<%= rubyforge_project_id %>
50
+ * rubyforge (stable): "http://rubyforge.org/scm/?group_id=6110":stable_scm
44
51
 
45
52
  <pre>git clone git://rubyforge.org/vikinggem.git</pre>
46
53
 
47
- * github (edge): "http://github.com/jherdman/viking/tree/master":http://github.com/jherdman/viking/tree/master
54
+ * github (edge): "http://github.com/jherdman/viking/tree/master":edge_scm
48
55
 
49
56
  <pre>git clone git://github.com/jherdman/viking.git</pre>
50
57
 
@@ -58,12 +65,20 @@ rake install_gem
58
65
 
59
66
  h2. License
60
67
 
61
- This code is free to use under the terms of the MIT license.
68
+ This code is free to use under the terms of the "MIT license":mit_license.
62
69
 
63
70
  h2. Contact
64
71
 
65
- Comments are welcome. Send an email to "James Herdman, Jed Hurt, Technoweenie":mailto:james.herdman@gmail.com via the "forum":http://groups.google.com/group/viking
72
+ Comments are welcome. Send an email to "James Herdman, Jed Hurt, Technoweenie":mailto:james.herdman@gmail.com
73
+ via the "forum":forum
66
74
 
67
75
  [akismet]http://akismet.com/
68
76
  [defensio]http://defensio.com/
69
- [ror]http://rubyonrails.org
77
+ [ror]http://rubyonrails.org
78
+ [rdocs]:http://vikinggem.rubyforge.org/rdoc/
79
+ [forum]:http://groups.google.com/group/viking
80
+ [stable_scm]:http://rubyforge.org/scm/?group_id=6110
81
+ [edge_scm]:http://github.com/jherdman/viking/tree/master
82
+ [fixing_code]:http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/
83
+ [fixing_code_8b]:http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups
84
+ [mit_license]:http://www.opensource.org/licenses/mit-license.php
@@ -1,138 +1,138 @@
1
- body {
2
- background-color: #E1D1F1;
3
- font-family: "Georgia", sans-serif;
4
- font-size: 16px;
5
- line-height: 1.6em;
6
- padding: 1.6em 0 0 0;
7
- color: #333;
8
- }
9
- h1, h2, h3, h4, h5, h6 {
10
- color: #444;
11
- }
12
- h1 {
13
- font-family: sans-serif;
14
- font-weight: normal;
15
- font-size: 4em;
16
- line-height: 0.8em;
17
- letter-spacing: -0.1ex;
18
- margin: 5px;
19
- }
20
- li {
21
- padding: 0;
22
- margin: 0;
23
- list-style-type: square;
24
- }
25
- a {
26
- color: #5E5AFF;
27
- background-color: #DAC;
28
- font-weight: normal;
29
- text-decoration: underline;
30
- }
31
- blockquote {
32
- font-size: 90%;
33
- font-style: italic;
34
- border-left: 1px solid #111;
35
- padding-left: 1em;
36
- }
37
- .caps {
38
- font-size: 80%;
39
- }
40
-
41
- #main {
42
- width: 45em;
43
- padding: 0;
44
- margin: 0 auto;
45
- }
46
- .coda {
47
- text-align: right;
48
- color: #77f;
49
- font-size: smaller;
50
- }
51
-
52
- table {
53
- font-size: 90%;
54
- line-height: 1.4em;
55
- color: #ff8;
56
- background-color: #111;
57
- padding: 2px 10px 2px 10px;
58
- border-style: dashed;
59
- }
60
-
61
- th {
62
- color: #fff;
63
- }
64
-
65
- td {
66
- padding: 2px 10px 2px 10px;
67
- }
68
-
69
- .success {
70
- color: #0CC52B;
71
- }
72
-
73
- .failed {
74
- color: #E90A1B;
75
- }
76
-
77
- .unknown {
78
- color: #995000;
79
- }
80
- pre, code {
81
- font-family: monospace;
82
- font-size: 90%;
83
- line-height: 1.4em;
84
- color: #ff8;
85
- background-color: #111;
86
- padding: 2px 10px 2px 10px;
87
- }
88
- .comment { color: #aaa; font-style: italic; }
89
- .keyword { color: #eff; font-weight: bold; }
90
- .punct { color: #eee; font-weight: bold; }
91
- .symbol { color: #0bb; }
92
- .string { color: #6b4; }
93
- .ident { color: #ff8; }
94
- .constant { color: #66f; }
95
- .regex { color: #ec6; }
96
- .number { color: #F99; }
97
- .expr { color: #227; }
98
-
99
- #version {
100
- float: right;
101
- text-align: right;
102
- font-family: sans-serif;
103
- font-weight: normal;
104
- background-color: #B3ABFF;
105
- color: #141331;
106
- padding: 15px 20px 10px 20px;
107
- margin: 0 auto;
108
- margin-top: 15px;
109
- border: 3px solid #141331;
110
- }
111
-
112
- #version .numbers {
113
- display: block;
114
- font-size: 4em;
115
- line-height: 0.8em;
116
- letter-spacing: -0.1ex;
117
- margin-bottom: 15px;
118
- }
119
-
120
- #version p {
121
- text-decoration: none;
122
- color: #141331;
123
- background-color: #B3ABFF;
124
- margin: 0;
125
- padding: 0;
126
- }
127
-
128
- #version a {
129
- text-decoration: none;
130
- color: #141331;
131
- background-color: #B3ABFF;
132
- }
133
-
134
- .clickable {
135
- cursor: pointer;
136
- cursor: hand;
137
- }
138
-
1
+ body {
2
+ background-color: #E1D1F1;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ padding: 1.6em 0 0 0;
7
+ color: #333;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ color: #444;
11
+ }
12
+ h1 {
13
+ font-family: sans-serif;
14
+ font-weight: normal;
15
+ font-size: 4em;
16
+ line-height: 0.8em;
17
+ letter-spacing: -0.1ex;
18
+ margin: 5px;
19
+ }
20
+ li {
21
+ padding: 0;
22
+ margin: 0;
23
+ list-style-type: square;
24
+ }
25
+ a {
26
+ color: #5E5AFF;
27
+ background-color: #DAC;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 0;
44
+ margin: 0 auto;
45
+ }
46
+ .coda {
47
+ text-align: right;
48
+ color: #77f;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #B3ABFF;
105
+ color: #141331;
106
+ padding: 15px 20px 10px 20px;
107
+ margin: 0 auto;
108
+ margin-top: 15px;
109
+ border: 3px solid #141331;
110
+ }
111
+
112
+ #version .numbers {
113
+ display: block;
114
+ font-size: 4em;
115
+ line-height: 0.8em;
116
+ letter-spacing: -0.1ex;
117
+ margin-bottom: 15px;
118
+ }
119
+
120
+ #version p {
121
+ text-decoration: none;
122
+ color: #141331;
123
+ background-color: #B3ABFF;
124
+ margin: 0;
125
+ padding: 0;
126
+ }
127
+
128
+ #version a {
129
+ text-decoration: none;
130
+ color: #141331;
131
+ background-color: #B3ABFF;
132
+ }
133
+
134
+ .clickable {
135
+ cursor: pointer;
136
+ cursor: hand;
137
+ }
138
+
@@ -29,7 +29,6 @@
29
29
  </head>
30
30
  <body>
31
31
  <div id="main">
32
-
33
32
  <h1><%= title %></h1>
34
33
  <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
35
34
  <p>Get Version</p>
@@ -42,7 +41,15 @@
42
41
  </p>
43
42
  </div>
44
43
 
45
- <!-- insert site tracking codes here, like Google Urchin -->
44
+ <script type="text/javascript">
45
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
46
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
47
+ </script>
48
+ <script type="text/javascript">
49
+ var pageTracker = _gat._getTracker("UA-4086476-2");
50
+ pageTracker._initData();
51
+ pageTracker._trackPageview();
52
+ </script>
46
53
 
47
54
  </body>
48
55
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vikinggem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Herdman
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-04-22 00:00:00 -04:00
12
+ date: 2008-04-25 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -23,15 +23,14 @@ extensions: []
23
23
  extra_rdoc_files:
24
24
  - History.txt
25
25
  - Manifest.txt
26
- - README.txt
26
+ - Readme.txt
27
27
  - website/index.txt
28
28
  files:
29
29
  - .autotest
30
30
  - History.txt
31
31
  - Manifest.txt
32
- - README.markdown
33
- - README.txt
34
32
  - Rakefile
33
+ - Readme.txt
35
34
  - lib/core_ext/object.rb
36
35
  - lib/core_ext/transformations.rb
37
36
  - lib/viking.rb
@@ -43,8 +42,8 @@ files:
43
42
  - setup.rb
44
43
  - spec/core_ext/object_spec.rb
45
44
  - spec/core_ext/transformations_spec.rb
46
- - spec/lib/akismet_spec.rb
47
- - spec/lib/base_spec.rb
45
+ - spec/lib/akismet_sepc.rb
46
+ - spec/lib/base_sepc.rb
48
47
  - spec/lib/defensio_spec.rb
49
48
  - spec/lib/viking_spec.rb
50
49
  - spec/spec.opts
@@ -1,32 +0,0 @@
1
- Description
2
- -----------
3
- This is a fork of Technoweenie's Rails plugin, Viking. It is meant to bring
4
- Viking to other Ruby web frameworks by gem-ifying the plugin, and extending it
5
- with a few of the additions that were generated by the Collective project
6
- (<http://github.com/meekish/collective>).
7
-
8
- License
9
- -------
10
-
11
- (The MIT License)
12
-
13
- Copyright (c) 2008 James Herdman
14
-
15
- Permission is hereby granted, free of charge, to any person obtaining
16
- a copy of this software and associated documentation files (the
17
- 'Software'), to deal in the Software without restriction, including
18
- without limitation the rights to use, copy, modify, merge, publish,
19
- distribute, sublicense, and/or sell copies of the Software, and to
20
- permit persons to whom the Software is furnished to do so, subject to
21
- the following conditions:
22
-
23
- The above copyright notice and this permission notice shall be
24
- included in all copies or substantial portions of the Software.
25
-
26
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
27
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
28
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
29
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
30
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
31
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
32
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.