Browse files

Preparing 1.0 release

  • Loading branch information...
1 parent dc49453 commit 976d5e2b3d2cbe2a9f1cab72a491eabc18d4eaa1 @schmidt committed Mar 26, 2008
Showing with 106 additions and 27 deletions.
  1. +1 −0 .gitignore
  2. +8 −0 History.txt
  3. +1 −0 Manifest.txt
  4. +1 −4 TODO.taskpaper
  5. +3 −3 lib/contextr/version.rb
  6. +1 −1 test/lib/literate_maruku_test.rb
  7. +47 −10 website/index.html
  8. +38 −9 website/index.txt
  9. +6 −0 website/stylesheets/screen.css
View
1 .gitignore
@@ -3,3 +3,4 @@ pkg
doc
*.rbc
.DS_Store
+.*.swp
View
8 History.txt
@@ -1,3 +1,11 @@
+== 1.0.0 2008-04-01
+
+* this is the first stable release
+* major changes
+ * updated documentation
+ * added more meta programming hooks
+ * no further API changes to expect until version 2.0
+
== 0.1.9 2007-11-30
* this is a review release
View
1 Manifest.txt
@@ -5,6 +5,7 @@ Manifest.txt
README.txt
Rakefile
examples/README
+examples/employer.rb
examples/node.rb
lib/contextr.rb
lib/contextr/class_methods.rb
View
5 TODO.taskpaper
@@ -1,5 +1,2 @@
-Next Release 0.2:
-- check cache invalidation, when method are redefined in layers
-Future Release 0.3:
+Future Release X:
- deactivate layers before entering ContextR code and activate them on leave
-- add some reflection methods within layers, so the hooks are easier to use
View
6 lib/contextr/version.rb
@@ -1,8 +1,8 @@
module ContextR #:nodoc:
module VERSION #:nodoc:
- MAJOR = 0
- MINOR = 1
- TINY = 9
+ MAJOR = 1
+ MINOR = 0
+ TINY = 0
STRING = [MAJOR, MINOR, TINY].join('.')
end
View
2 test/lib/literate_maruku_test.rb
@@ -78,7 +78,7 @@ def self.load(test)
end
ul.navi! do
- Dir[File.dirname(__FILE__) + "/../test_*.mkd"].each do |mkd_file_name|
+ Dir[File.dirname(__FILE__) + "/../*.mkd"].each do |mkd_file_name|
li do
name = File.basename(mkd_file_name, ".mkd").gsub("test_", "")
a name.titleize, :href => name + ".html"
View
57 website/index.html
@@ -33,20 +33,31 @@
<h1>contextr</h1>
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/contextr"; return false'>
<p>Get Version</p>
- <a href="http://rubyforge.org/projects/contextr" class="numbers">0.1.9</a>
+ <a href="http://rubyforge.org/projects/contextr" class="numbers">1.0.0</a>
</div>
<h1>&#x2192; &#8216;contextr&#8217;</h1>
<h2>What</h2>
+ <h3>Version 1.0.0</h3>
+
+
+ <p>Along with my Master&#8217;s thesis, the first stable release of ContextR will be
+published. To reflect its status the version number reaches 1.0. You may find
+documentation and examples in the <a href="test/introduction.html">test directory or on this
+website</a>.</p>
+
+
+<div class="older_versions">
+
<h3>Version 0.1.9</h3>
<p>This is a review release. Again, lots of things changed, but I think to the
better. There will be more coverage with the 0.2.0. Until then, have a look at
-the shiny new online <a href="/test/introduction.html">documentation</a></p>
+the shiny new online <a href="test/introduction.html">documentation</a></p>
<h3>Version 0.1.1</h3>
@@ -66,7 +77,7 @@
<p>There have been minor changes to the reflection <span class="caps">API</span>. To fetch the currently
active layers use <code>ContextR::active_layers</code> and you will get an array of symbols
representing them. <code>ContextR::layers</code> gives all already defined layers, but they
-are not neccessarily active or have been.</p>
+are not necessarily active or have been.</p>
<h3>Version 0.1.0</h3>
@@ -84,6 +95,8 @@
<a href="http://groups.google.com/group/contextr">mailing list</a> &#8211; any hint is appreciated</p>
+</div>
+
<h2>Installing</h2>
@@ -96,16 +109,31 @@
<pre syntax="ruby">require 'rubygems'
-gem 'contextr'
require 'contextr'</pre>
<p>and ContextR will be ready to use.</p>
+ <h2>Prerequisites</h2>
+
+
+ <p>To get ContextR running, you won&#8217;t need anything but rubygems and the contextr
+gem, but to run its tests you will need the following gems:</p>
+
+
+ <ul>
+ <li><code>rake</code></li>
+ <li><code>hoe</code></li>
+ <li><code>rspec</code></li>
+ <li><code>maruku</code></li>
+ <li><code>literate_maruku</code></li>
+ </ul>
+
+
<h2>Demonstration of usage</h2>
- <p>See the <a href="/test/introduction.html">online documentation</a> for usage examples and
+ <p>See the <a href="test/introduction.html">online documentation</a> for usage examples and
some meta information or have a look at the other resources below.</p>
@@ -121,20 +149,29 @@
<ul>
<li><a href="http://contextr.rubyforge.org/rdoc">ContextR <span class="caps">API</span> documentation</a></li>
<li><a href="http://rubyforge.org/projects/contextr">RubyForge Project Page</a></li>
- <li><a href="http://www.swa.hpi.uni-potsdam.de/cop/"><span class="caps">COP</span> at <span class="caps">SWA</span> at the <span class="caps">HPI</span></a> More information on other context-oriented programming libaries as well as papers and theoretical work can be found at the <span class="caps">COP</span> page of Prof. Hirschfeld&#8217;s software architecture group at the <span class="caps">HPI</span></li>
- <li><a href="http://www.nach-vorne.de">Author‘s Development Blog &#8211; The Ruby Ahead</a></li>
+ <li><a href="http://www.swa.hpi.uni-potsdam.de/cop/"><span class="caps">COP</span> at <span class="caps">SWA</span> at the <span class="caps">HPI</span></a> More
+ information on other context-oriented programming libaries as well as papers
+ and theoretical work can be found at the <span class="caps">COP</span> page of Prof. Hirschfeld&#8217;s
+ software architecture group at the <span class="caps">HPI</span></li>
+ <li><a href="http://www.nach-vorne.de">Author&#8217;s Development Blog &#8211; The Ruby Ahead</a></li>
<li><a href="http://www.ohloh.net/projects/5037">ContextR Statistics on ohloh</a></li>
</ul>
<h2>How to submit patches</h2>
- <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>
+ <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/#8z-email">8z: Email the project owner</a>,
+use the e-mail address below.</p>
+
+ <p>The repository is <a href="http://github.com/schmidt/contextr/tree/master">browseable via
+github</a>. To get a copy to your
+machine use:</p>
- <p>The trunk repository is <code>http://contextr.rubyforge.org/svn/trunk/</code> for anonymous access.</p>
+<pre syntax="ruby">git clone git://github.com/schmidt/contextr.git</pre>
<h2>License</h2>
@@ -147,7 +184,7 @@
<p>Comments are welcome. Send an email to <a href="mailto:ruby@schmidtwisser.de">Gregor Schmidt</a>.</p>
<p class="coda">
- 30th November 2007<br>
+ 26th March 2008<br>
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
</p>
</div>
View
47 website/index.txt
@@ -4,11 +4,20 @@ h1. &#x2192; 'contextr'
h2. What
+h3. Version 1.0.0
+
+Along with my Master's thesis, the first stable release of ContextR will be
+published. To reflect its status the version number reaches 1.0. You may find
+documentation and examples in the "test directory or on this
+website":test/introduction.html.
+
+<div class="older_versions">
+
h3. Version 0.1.9
This is a review release. Again, lots of things changed, but I think to the
better. There will be more coverage with the 0.2.0. Until then, have a look at
-the shiny new online "documentation":/test/introduction.html
+the shiny new online "documentation":test/introduction.html
h3. Version 0.1.1
@@ -23,7 +32,7 @@ An RSpec was added to allow even more test coverage.
There have been minor changes to the reflection API. To fetch the currently
active layers use @ContextR::active_layers@ and you will get an array of symbols
representing them. @ContextR::layers@ gives all already defined layers, but they
-are not neccessarily active or have been.
+are not necessarily active or have been.
h3. Version 0.1.0
@@ -38,6 +47,8 @@ as less relevant than the other way around. If you have any problems or question
concerning these changes, feel free to use the new
"mailing list":http://groups.google.com/group/contextr - any hint is appreciated
+</div>
+
h2. Installing
<pre syntax="ruby">sudo gem install contextr</pre>
@@ -47,15 +58,24 @@ h2. The basics
In your code use
<pre syntax="ruby">require 'rubygems'
-gem 'contextr'
require 'contextr'</pre>
-and ContextR will be ready to use.
+and ContextR will be ready to use. ContextR should work on Ruby 1.8 and JRuby.
+h2. Prerequisites
+
+To get ContextR running, you won't need anything but rubygems and the contextr
+gem, but to run its tests you will need the following gems:
+
+ * @rake@
+ * @hoe@
+ * @rspec@
+ * @maruku@
+ * @literate_maruku@
h2. Demonstration of usage
-See the "online documentation":/test/introduction.html for usage examples and
+See the "online documentation":test/introduction.html for usage examples and
some meta information or have a look at the other resources below.
h2. Forum
@@ -66,16 +86,25 @@ h2. Other resources
* "ContextR API documentation":http://contextr.rubyforge.org/rdoc
* "RubyForge Project Page":http://rubyforge.org/projects/contextr
-* "COP at SWA at the HPI":http://www.swa.hpi.uni-potsdam.de/cop/ More information on other context-oriented programming libaries as well as papers and theoretical work can be found at the COP page of Prof. Hirschfeld's software architecture group at the HPI
-* "Author‘s Development Blog - The Ruby Ahead":http://www.nach-vorne.de
+* "COP at SWA at the HPI":http://www.swa.hpi.uni-potsdam.de/cop/ More
+ information on other context-oriented programming libaries as well as papers
+ and theoretical work can be found at the COP page of Prof. Hirschfeld's
+ software architecture group at the HPI
+* "Author's Development Blog - The Ruby Ahead":http://www.nach-vorne.de
* "ContextR Statistics on ohloh":http://www.ohloh.net/projects/5037
h2. How to submit patches
-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.
+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 "8z: Email the project owner":http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8z-email,
+use the e-mail address below.
+
+The repository is "browseable via
+github":http://github.com/schmidt/contextr/tree/master. To get a copy to your
+machine use:
-The trunk repository is <code>http://contextr.rubyforge.org/svn/trunk/</code> for anonymous access.
+<pre syntax="ruby">git clone git://github.com/schmidt/contextr.git</pre>
h2. License
View
6 website/stylesheets/screen.css
@@ -85,6 +85,9 @@ pre, code {
background-color: #111;
padding: 2px 10px 2px 10px;
}
+pre code {
+ padding: 0px;
+}
.comment { color: #aaa; font-style: italic; }
.keyword { color: #eff; font-weight: bold; }
.punct { color: #eee; font-weight: bold; }
@@ -136,3 +139,6 @@ pre, code {
cursor: hand;
}
+.older_versions h3, .older_versions {
+ color: #999;
+}

0 comments on commit 976d5e2

Please sign in to comment.