newgem 0.10.3 → 0.10.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/History.txt +8 -0
- data/Rakefile +1 -1
- data/lib/newgem/version.rb +1 -1
- data/templates/Rakefile +1 -1
- data/templates/website/index.txt +6 -0
- data/website/index.html +15 -4
- data/website/index.txt +7 -2
- data/website/rubyforge.html +4 -2
- data/website/stylesheets/screen.css +9 -0
- data/website/template.rhtml +3 -1
- data/website/version-raw.js +1 -1
- data/website/version.js +1 -1
- metadata +3 -3
    
        data/History.txt
    CHANGED
    
    | @@ -1,3 +1,11 @@ | |
| 1 | 
            +
            == 0.10.4 2007-06-02
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            * 2 minor enhancement
         | 
| 4 | 
            +
              * website_upload now ignores .svn files [Thx Jeroen Janssen]
         | 
| 5 | 
            +
              * website/index.txt includes link to "8 steps to fix other ppls code" and a default svn URL
         | 
| 6 | 
            +
            * 1 website enhancement
         | 
| 7 | 
            +
              * Link to "Beginning Ruby" as it features this gem [Thx Peter Cooper for the plug] - its an affiliate amazon link so I can make $$$ and retire to Fiji
         | 
| 8 | 
            +
             | 
| 1 9 | 
             
            == 0.10.3 2007-05-25
         | 
| 2 10 |  | 
| 3 11 | 
             
            * 1 major enhancement
         | 
    
        data/Rakefile
    CHANGED
    
    | @@ -72,7 +72,7 @@ task :website_upload do | |
| 72 72 | 
             
              host = "#{config["username"]}@rubyforge.org"
         | 
| 73 73 | 
             
              remote_dir = "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/"
         | 
| 74 74 | 
             
              local_dir = 'website'
         | 
| 75 | 
            -
              sh %{rsync - | 
| 75 | 
            +
              sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
         | 
| 76 76 | 
             
            end
         | 
| 77 77 |  | 
| 78 78 | 
             
            desc 'Generate and upload website files'
         | 
    
        data/lib/newgem/version.rb
    CHANGED
    
    
    
        data/templates/Rakefile
    CHANGED
    
    | @@ -91,7 +91,7 @@ task :website_upload do | |
| 91 91 | 
             
              host = "\#{rubyforge_username}@rubyforge.org"
         | 
| 92 92 | 
             
              remote_dir = "/var/www/gforge-projects/\#{PATH}/"
         | 
| 93 93 | 
             
              local_dir = 'website'
         | 
| 94 | 
            -
              sh %{rsync - | 
| 94 | 
            +
              sh %{rsync -aCv \#{local_dir}/ \#{host}:\#{remote_dir}}
         | 
| 95 95 | 
             
            end
         | 
| 96 96 |  | 
| 97 97 | 
             
            desc 'Generate and upload website files'
         | 
    
        data/templates/website/index.txt
    CHANGED
    
    | @@ -23,6 +23,12 @@ h2. Forum | |
| 23 23 |  | 
| 24 24 | 
             
            TODO - create Google Group - #{gem_name}
         | 
| 25 25 |  | 
| 26 | 
            +
            h2. How to submit patches
         | 
| 27 | 
            +
             | 
| 28 | 
            +
            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.
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            The trunk repository is <code>svn://rubyforge.org/var/svn/#{gem_name}/trunk</code> for anonymous access.
         | 
| 31 | 
            +
             | 
| 26 32 | 
             
            h2. License
         | 
| 27 33 |  | 
| 28 34 | 
             
            This code is free to use under the terms of the MIT license. 
         | 
    
        data/website/index.html
    CHANGED
    
    | @@ -32,8 +32,10 @@ | |
| 32 32 |  | 
| 33 33 | 
             
                <h1>New Gem Generator</h1>
         | 
| 34 34 | 
             
                <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return false'>
         | 
| 35 | 
            -
                  Get Version
         | 
| 36 | 
            -
                  <a href="http://rubyforge.org/projects/newgem" class="numbers">0.10. | 
| 35 | 
            +
                  <p>Get Version</p>
         | 
| 36 | 
            +
                  <a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.4</a>
         | 
| 37 | 
            +
                  <p>Featured in</p>
         | 
| 38 | 
            +
                  <a target="_blank" href="http://www.amazon.com/Beginning-Ruby-Novice-Professional-Experts/dp/1590597664/ref=pd_bbs_sr_1/002-1314108-4008061?ie=UTF8&s=books&qid=1180763252&sr=8-1" class="book"><img src="images/beginning-ruby.jpg" /></a>
         | 
| 37 39 | 
             
                </div>
         | 
| 38 40 | 
             
                <h1>→ ‘newgem’</h1>
         | 
| 39 41 |  | 
| @@ -207,7 +209,7 @@ NOW - update wizzo/Rakefile with gem description, etc | |
| 207 209 | 
             
              * You only get Wizzos when you ask for them
         | 
| 208 210 | 
             
            </pre>
         | 
| 209 211 |  | 
| 210 | 
            -
            	<p>The two paragraphs will be automatically picked up by the following release process and documented against the release on RubyForge site. To see an example of the end result, look at the <a href="http://rubyforge.org/ | 
| 212 | 
            +
            	<p>The two paragraphs will be automatically picked up by the following release process and documented against the release on RubyForge site. To see an example of the end result, look at the <a href="http://newgem.rubyforge.org/rdoc/files/History_txt.html"><strong>History</strong> page for newgem</a>.</p>
         | 
| 211 213 |  | 
| 212 214 |  | 
| 213 215 | 
             
            	<p>The History.txt notes for your first release have already been started for you.</p>
         | 
| @@ -287,6 +289,15 @@ other stories and things.</p> | |
| 287 289 | 
             
            	<p><a href="http://groups.google.com/group/new-gem-generator">http://groups.google.com/group/new-gem-generator</a></p>
         | 
| 288 290 |  | 
| 289 291 |  | 
| 292 | 
            +
            	<h2>How to submit patches</h2>
         | 
| 293 | 
            +
             | 
| 294 | 
            +
             | 
| 295 | 
            +
            	<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’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>
         | 
| 296 | 
            +
             | 
| 297 | 
            +
             | 
| 298 | 
            +
            	<p>The trunk repository is <code>svn://rubyforge.org/var/svn/newgem/trunk</code> for anonymous access.</p>
         | 
| 299 | 
            +
             | 
| 300 | 
            +
             | 
| 290 301 | 
             
            	<h2>License</h2>
         | 
| 291 302 |  | 
| 292 303 |  | 
| @@ -298,7 +309,7 @@ other stories and things.</p> | |
| 298 309 |  | 
| 299 310 | 
             
            	<p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a>.</p>
         | 
| 300 311 | 
             
                <p class="coda">
         | 
| 301 | 
            -
                  <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,  | 
| 312 | 
            +
                  <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 1st June 2007<br>
         | 
| 302 313 | 
             
                  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
         | 
| 303 314 | 
             
                </p>
         | 
| 304 315 | 
             
            </div>
         | 
    
        data/website/index.txt
    CHANGED
    
    | @@ -132,11 +132,10 @@ Between each version of your gem, you probably changed something. You should doc | |
| 132 132 | 
             
              * You only get Wizzos when you ask for them
         | 
| 133 133 | 
             
            </pre>
         | 
| 134 134 |  | 
| 135 | 
            -
            The two paragraphs will be automatically picked up by the following release process and documented against the release on RubyForge site. To see an example of the end result, look at the "* | 
| 135 | 
            +
            The two paragraphs will be automatically picked up by the following release process and documented against the release on RubyForge site. To see an example of the end result, look at the "*History* page for newgem":http://newgem.rubyforge.org/rdoc/files/History_txt.html.
         | 
| 136 136 |  | 
| 137 137 | 
             
            The History.txt notes for your first release have already been started for you.
         | 
| 138 138 |  | 
| 139 | 
            -
             | 
| 140 139 | 
             
            h3. Release the gem and upload the website and rdocs
         | 
| 141 140 |  | 
| 142 141 | 
             
            Run <code>rake deploy VERSION=X.Y.Z</code> after you've done all these steps. It does the following:
         | 
| @@ -184,6 +183,12 @@ h2. Forum | |
| 184 183 |  | 
| 185 184 | 
             
            "http://groups.google.com/group/new-gem-generator":http://groups.google.com/group/new-gem-generator
         | 
| 186 185 |  | 
| 186 | 
            +
            h2. How to submit patches
         | 
| 187 | 
            +
             | 
| 188 | 
            +
            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.
         | 
| 189 | 
            +
             | 
| 190 | 
            +
            The trunk repository is <code>svn://rubyforge.org/var/svn/newgem/trunk</code> for anonymous access.
         | 
| 191 | 
            +
             | 
| 187 192 | 
             
            h2. License
         | 
| 188 193 |  | 
| 189 194 | 
             
            This code is free to use under the terms of the MIT license. 
         | 
    
        data/website/rubyforge.html
    CHANGED
    
    | @@ -32,8 +32,10 @@ | |
| 32 32 |  | 
| 33 33 | 
             
                <h1>New Gem Generator</h1>
         | 
| 34 34 | 
             
                <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/newgem"; return false'>
         | 
| 35 | 
            -
                  Get Version
         | 
| 36 | 
            -
                  <a href="http://rubyforge.org/projects/newgem" class="numbers">0.10. | 
| 35 | 
            +
                  <p>Get Version</p>
         | 
| 36 | 
            +
                  <a href="http://rubyforge.org/projects/newgem" class="numbers">0.10.4</a>
         | 
| 37 | 
            +
                  <p>Featured in</p>
         | 
| 38 | 
            +
                  <a target="_blank" href="http://www.amazon.com/Beginning-Ruby-Novice-Professional-Experts/dp/1590597664/ref=pd_bbs_sr_1/002-1314108-4008061?ie=UTF8&s=books&qid=1180763252&sr=8-1" class="book"><img src="images/beginning-ruby.jpg" /></a>
         | 
| 37 39 | 
             
                </div>
         | 
| 38 40 | 
             
                <h1>→ using ‘rubyforge’</h1>
         | 
| 39 41 |  | 
| @@ -114,6 +114,15 @@ pre, code { | |
| 114 114 | 
             
              font-size: 4em;
         | 
| 115 115 | 
             
              line-height: 0.8em;
         | 
| 116 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;
         | 
| 117 126 | 
             
            }
         | 
| 118 127 |  | 
| 119 128 | 
             
            #version a {
         | 
    
        data/website/template.rhtml
    CHANGED
    
    | @@ -32,8 +32,10 @@ | |
| 32 32 |  | 
| 33 33 | 
             
                <h1><%= title %></h1>
         | 
| 34 34 | 
             
                <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
         | 
| 35 | 
            -
                  Get Version
         | 
| 35 | 
            +
                  <p>Get Version</p>
         | 
| 36 36 | 
             
                  <a href="<%= download %>" class="numbers"><%= version %></a>
         | 
| 37 | 
            +
                  <p>Featured in</p>
         | 
| 38 | 
            +
                  <a target="_blank" href="http://www.amazon.com/Beginning-Ruby-Novice-Professional-Experts/dp/1590597664/ref=pd_bbs_sr_1/002-1314108-4008061?ie=UTF8&s=books&qid=1180763252&sr=8-1" class="book"><img src="images/beginning-ruby.jpg" /></a>
         | 
| 37 39 | 
             
                </div>
         | 
| 38 40 | 
             
                <%= body %>
         | 
| 39 41 | 
             
                <p class="coda">
         | 
    
        data/website/version-raw.js
    CHANGED
    
    
    
        data/website/version.js
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,10 +1,10 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 | 
            -
            rubygems_version: 0.9.4
         | 
| 2 | 
            +
            rubygems_version: 0.9.4.1
         | 
| 3 3 | 
             
            specification_version: 1
         | 
| 4 4 | 
             
            name: newgem
         | 
| 5 5 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 6 | 
            -
              version: 0.10. | 
| 7 | 
            -
            date: 2007- | 
| 6 | 
            +
              version: 0.10.4
         | 
| 7 | 
            +
            date: 2007-06-02 00:00:00 +02:00
         | 
| 8 8 | 
             
            summary: Make your own gems at home
         | 
| 9 9 | 
             
            require_paths: 
         | 
| 10 10 | 
             
            - lib
         |