railscheck 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,7 +1,14 @@
1
- == 0.0.1 2008-03-03
2
- * Initial proof of concept prerelease as a rails plugin.
1
+ == 0.1.2 2008-03-15
2
+ * Included w3c_validators dependency in gem spec.
3
3
 
4
- == 0.0.1 2008-04-13
4
+ == 0.1.1 2008-03-15
5
+ * First proper beta
6
+
7
+ == 0.1.0 2008-03-15
8
+ * Internal test release
5
9
 
6
- * First proper release as a ruby gem (no longer a rails plugin)
10
+ == 0.0.1 2008-04-13
11
+ * Internal release converted into a ruby gem (no longer a rails plugin)
7
12
 
13
+ == 0.0.0 2008-03-03
14
+ * Initial proof of concept prerelease as a rails plugin (as demoed at copenhagen.rb)
data/License.txt CHANGED
@@ -7,10 +7,10 @@ distribute this software ... with the single following
7
7
  restriction for commercial software development tool makers:
8
8
 
9
9
  - You may not sell a commercial software development tool that includes
10
- this software without permission from the copyright holder of this
11
- software (note: restriction does not apply to free software tools).
10
+ this software (or parts/derivations of it) without permission from the copyright
11
+ holder of this software (note: restriction does not apply to free software tools)!
12
12
  This permission usually involves paying a small fee or making
13
- a contribution to the project.
13
+ a contribution to the project!
14
14
 
15
15
  Furthermore your permission to use this software is subject to
16
16
  the following conditions:
data/README.txt CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == DESCRIPTION
4
4
 
5
- This projects is (or will be) a best effort semi-static verifier for your Ruby on Rails projects. Delivered as
5
+ This project is (or will be) a best effort semi-static verifier for your Ruby on Rails projects. Delivered as
6
6
  a Ruby gem it provides a shell command task "railscheck" that you can run against your Rails projects to test
7
7
  for a number of typical bugs and inconsistencies.
8
8
 
@@ -100,17 +100,26 @@ compatibility with older Rails/ruby/gem versions). Some tests may require later
100
100
  Any contributions to tests etc. that can be added are welcomed. Please contact undersigned for details.
101
101
 
102
102
  Any added code that you contribute will be given due credit. However make sure that you assign undersigned
103
- shared copyright so that I am allowed to release and license your work together with this project.
103
+ shared copyright so I am allowed to release and license your work together with this project.
104
+
105
+ You can easily add your test files to the "lib\test" folder. Tests are based on the ruby unit test framework and following the standard conventions they should be placed in Ruby files starting with "tc_" in order to be picked up by Railscheck automatically. All test classes should inherit from Railscheck::TestCase which in turns inherits from "Test::Unit::TestCase". See the existing test files for examples.
106
+
107
+ The source code is available anonymously (readonly) using subversion at the path:
108
+ svn://rubyforge.org/var/svn/railscheck/trunk
109
+
110
+ Once you have added your tests write undersigned an email in order to get registered and get your contribution into Railscheck. Once you are registered as a project contributor you may access the source code from subversion with full read/write rights at the path:
111
+
112
+ svn+ssh://YOUR-RUBYFORGE-LOGIN-NAME@rubyforge.org/var/svn/railscheck/trunk
104
113
 
105
114
  == SUPPORT
106
115
 
107
- There is no formal support for this project. Please use railscheck.rubyforge.org to report problems/suggestions and I will look at them in time.
116
+ There is no formal support for this project. Please use railscheck.rubyforge.org to report problems/suggestions and the developer(s) will look at them in time.
108
117
 
109
118
  == COPYRIGHT, ATTRIBUTIONS AND AUTHOR INFORMATION
110
119
 
111
120
  Copyright (c) 2008 Morten Christensen, 41concepts (www.41concepts.com), Denmark
112
121
 
113
- AUTHORS:
122
+ AUTHOR(S):
114
123
  * Morten Christensen, am a software developer from the Danish software company 41concepts (www.41concepts.com). We do
115
124
  Ruby/Rails/Java/.NET software development consultancy. Contact me at mmc[AT/NOSPAM]41concepts[dot]com for more
116
125
  information. See also my blog postings at "http://techblog.41concepts.com/" about Railscheck as well as other software R&D subjects.
data/config/hoe.rb CHANGED
@@ -58,7 +58,7 @@ $hoe = Hoe.new(GEM_NAME, VERS) do |p|
58
58
 
59
59
  # == Optional
60
60
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
61
- #p.extra_deps = [] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
61
+ p.extra_deps = [ ['w3c_validators', '>= 0.9.2'] ] # An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
62
62
 
63
63
  #p.spec_extras = {} # A hash of extra values to set in the gemspec.
64
64
 
@@ -2,7 +2,7 @@ module Railscheck #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/railscheck.rb CHANGED
@@ -4,6 +4,8 @@ rescue LoadError
4
4
  # no rubygems to load, so we fail silently
5
5
  end
6
6
 
7
+ bego
8
+
7
9
  require 'optparse'
8
10
  $:.unshift(File.dirname(__FILE__)) unless
9
11
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
data/website/index.html CHANGED
@@ -16,10 +16,19 @@
16
16
  <p/>
17
17
  <h2>Authors</h2>
18
18
  <ol>
19
- <li><a href="http://workingwithrails.com/person/4802-morten-m-christensen">Morten Christensen</a>, senior consultant, software developer from Danish software development/consultancy company <a href="http://www.41concepts.com">41concepts</a></li>
19
+ <li><a href="http://workingwithrails.com/person/4802-morten-m-christensen">Morten Christensen</a>, senior consultant, software developer from Danish software development/consultancy company <a href="http://www.41concepts.com">41concepts</a>. (see also our <a href="http://techblog.41concepts.com/">R&D blog</a>).</li>
20
20
  </ol>
21
21
  <h2>License:</h2>
22
22
  This software is FREE for both public and commercial use - with the possible exception of commercial
23
23
  software development tool makers that require a license (see project <a href="http://railscheck.rubyforge.org/svn/trunk/License.txt"><b>license file</b></a> for details).
24
+ <script type="text/javascript">
25
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
26
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
27
+ </script>
28
+ <script type="text/javascript">
29
+ var pageTracker = _gat._getTracker("UA-4042029-2");
30
+ pageTracker._initData();
31
+ pageTracker._trackPageview();
32
+ </script>
24
33
  </body>
25
34
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railscheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Morten M. Christensen / 41concepts
@@ -11,8 +11,16 @@ cert_chain: []
11
11
 
12
12
  date: 2008-04-15 00:00:00 +02:00
13
13
  default_executable:
14
- dependencies: []
15
-
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: w3c_validators
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.9.2
23
+ version:
16
24
  description: Static verifier for rails 2.0+ projects
17
25
  email:
18
26
  - mmc@41concepts.com