Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

gemified by jsilver

  • Loading branch information...
commit 63a14cba6f36a08e87f3f8aa88d2aeacc14093c2 1 parent b5df22d
@jsilverMDX jsilverMDX authored
View
26 Rakefile
@@ -2,6 +2,29 @@ require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gemspec|
+ gemspec.name = "smart_month"
+ gemspec.summary = 'SmartMonth is a "bodysnatcher" plugin that takes boring Date month fixnums and replaces them with a rich toolkit of
+functionality.'
+ gemspec.description = "You can use SmartMonth to: \n" +
+ "- Determine the first tuesday of any month in any year. \n" +
+ "- Determine all of the fridays of any month in any year. \n" +
+ "- Iterate through all the days of a month. \n" +
+ "- Determine how many days of the month there are. \n" +
+ "- Determine the first and last days of the month. \n" +
+ "- And other fun date/month related things!"
+ gemspec.email = "derek@derekperez.com"
+ gemspec.homepage = "http://github.com/perezd/smart_month"
+ gemspec.authors = ["Derek Perez", "Jonathan Silverman"]
+ end
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler not available. Install it with: gem install jeweler"
+end
+
+
desc 'Default: run unit tests.'
task :default => :test
@@ -13,7 +36,7 @@ Rake::TestTask.new do |test|
end
desc 'Runs Ruby Standard Library tests for date and time.'
-task :test_ruby do
+task :test_ruby do
puts `mspec test/spec`
end
@@ -25,3 +48,4 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
View
2  VERSION
@@ -1 +1 @@
-0.1.0
+1.0.0
View
2  init.rb
@@ -1,2 +0,0 @@
-# load the bootstrap.
-require 'smart_month'
View
BIN  pkg/smart_month-1.0.0.gem
Binary file not shown
View
210 rdoc/classes/SmartMonth/Collection/Day.html
@@ -1,210 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>Class: SmartMonth::Collection::Day</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
- <script type="text/javascript">
- // <![CDATA[
-
- function popupCode( url ) {
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
- }
-
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
- // ]]>
- </script>
-
-</head>
-<body>
-
-
-
- <div id="classHeader">
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Class</strong></td>
- <td class="class-name-in-header">SmartMonth::Collection::Day</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../../files/lib/smart_month/collection_rb.html">
- lib/smart_month/collection.rb
- </a>
- <br />
- </td>
- </tr>
-
- <tr class="top-aligned-row">
- <td><strong>Parent:</strong></td>
- <td>
- Object
- </td>
- </tr>
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
- <div id="description">
- <p>
-this is a helper class that is used primarily by Month#each. should not be
-used standalone for any reason, really.
-</p>
-
- </div>
-
-
- </div>
-
- <div id="method-list">
- <h3 class="section-bar">Methods</h3>
-
- <div class="name-list">
- <a href="#M000026">new</a>&nbsp;&nbsp;
- <a href="#M000027">to_i</a>&nbsp;&nbsp;
- <a href="#M000028">to_s</a>&nbsp;&nbsp;
- </div>
- </div>
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
- <div id="methods">
- <h3 class="section-bar">Public Class methods</h3>
-
- <div id="method-M000026" class="method-detail">
- <a name="M000026"></a>
-
- <div class="method-heading">
- <a href="#M000026" class="method-signature">
- <span class="method-name">new</span><span class="method-args">(date)</span>
- </a>
- </div>
-
- <div class="method-description">
- <p><a class="source-toggle" href="#"
- onclick="toggleCode('M000026-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000026-source">
-<pre>
- <span class="ruby-comment cmt"># File lib/smart_month/collection.rb, line 7</span>
-7: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">date</span>)
-8: <span class="ruby-ivar">@date</span> = <span class="ruby-identifier">date</span>
-9: <span class="ruby-keyword kw">end</span>
-</pre>
- </div>
- </div>
- </div>
-
- <h3 class="section-bar">Public Instance methods</h3>
-
- <div id="method-M000027" class="method-detail">
- <a name="M000027"></a>
-
- <div class="method-heading">
- <a href="#M000027" class="method-signature">
- <span class="method-name">to_i</span><span class="method-args">()</span>
- </a>
- </div>
-
- <div class="method-description">
- <p>
-returns the date numeric of the day (in regards to the month it resides
-in).
-</p>
- <p><a class="source-toggle" href="#"
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000027-source">
-<pre>
- <span class="ruby-comment cmt"># File lib/smart_month/collection.rb, line 11</span>
-11: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_i</span>
-12: <span class="ruby-ivar">@date</span>.<span class="ruby-identifier">day</span>
-13: <span class="ruby-keyword kw">end</span>
-</pre>
- </div>
- </div>
- </div>
-
- <div id="method-M000028" class="method-detail">
- <a name="M000028"></a>
-
- <div class="method-heading">
- <a href="#M000028" class="method-signature">
- <span class="method-name">to_s</span><span class="method-args">()</span>
- </a>
- </div>
-
- <div class="method-description">
- <p>
-returns the string value of the weekday.
-</p>
- <p><a class="source-toggle" href="#"
- onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000028-source">
-<pre>
- <span class="ruby-comment cmt"># File lib/smart_month/collection.rb, line 15</span>
-15: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_s</span>
-16: <span class="ruby-constant">Month</span><span class="ruby-operator">::</span><span class="ruby-constant">DAYS</span>[<span class="ruby-ivar">@date</span>.<span class="ruby-identifier">wday</span>]
-17: <span class="ruby-keyword kw">end</span>
-</pre>
- </div>
- </div>
- </div>
-
-
- </div>
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
111 rdoc/classes/SmartMonth/Extensions.html
@@ -1,111 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>Module: SmartMonth::Extensions</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
- <script type="text/javascript">
- // <![CDATA[
-
- function popupCode( url ) {
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
- }
-
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
- // ]]>
- </script>
-
-</head>
-<body>
-
-
-
- <div id="classHeader">
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Module</strong></td>
- <td class="class-name-in-header">SmartMonth::Extensions</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../files/lib/smart_month/extensions/date_rb.html">
- lib/smart_month/extensions/date.rb
- </a>
- <br />
- </td>
- </tr>
-
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
- <div id="class-list">
- <h3 class="section-bar">Classes and Modules</h3>
-
- Module <a href="Extensions/Date.html" class="link">SmartMonth::Extensions::Date</a><br />
-
- </div>
-
-
-
-
-
-
-
- <!-- if method_list -->
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
197 rdoc/classes/SmartMonth/Extensions/Date.html
@@ -1,197 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>Module: SmartMonth::Extensions::Date</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
- <script type="text/javascript">
- // <![CDATA[
-
- function popupCode( url ) {
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
- }
-
- function toggleCode( id ) {
- if ( document.getElementById )
- elem = document.getElementById( id );
- else if ( document.all )
- elem = eval( "document.all." + id );
- else
- return false;
-
- elemStyle = elem.style;
-
- if ( elemStyle.display != "block" ) {
- elemStyle.display = "block"
- } else {
- elemStyle.display = "none"
- }
-
- return true;
- }
-
- // Make codeblocks hidden by default
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
-
- // ]]>
- </script>
-
-</head>
-<body>
-
-
-
- <div id="classHeader">
- <table class="header-table">
- <tr class="top-aligned-row">
- <td><strong>Module</strong></td>
- <td class="class-name-in-header">SmartMonth::Extensions::Date</td>
- </tr>
- <tr class="top-aligned-row">
- <td><strong>In:</strong></td>
- <td>
- <a href="../../../files/lib/smart_month/extensions/date_rb.html">
- lib/smart_month/extensions/date.rb
- </a>
- <br />
- </td>
- </tr>
-
- </table>
- </div>
- <!-- banner header -->
-
- <div id="bodyContent">
-
-
-
- <div id="contextContent">
-
-
-
- </div>
-
- <div id="method-list">
- <h3 class="section-bar">Methods</h3>
-
- <div class="name-list">
- <a href="#M000027">inspect</a>&nbsp;&nbsp;
- <a href="#M000029">to_day</a>&nbsp;&nbsp;
- <a href="#M000028">to_i</a>&nbsp;&nbsp;
- </div>
- </div>
-
- </div>
-
-
- <!-- if includes -->
-
- <div id="section">
-
-
-
-
-
-
-
-
- <!-- if method_list -->
- <div id="methods">
- <h3 class="section-bar">Public Instance methods</h3>
-
- <div id="method-M000027" class="method-detail">
- <a name="M000027"></a>
-
- <div class="method-heading">
- <a href="#M000027" class="method-signature">
- <span class="method-name">inspect</span><span class="method-args">()</span>
- </a>
- </div>
-
- <div class="method-description">
- <p>
-this is to make date objects more console-friendly
-</p>
- <p><a class="source-toggle" href="#"
- onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000027-source">
-<pre>
- <span class="ruby-comment cmt"># File lib/smart_month/extensions/date.rb, line 8</span>
- 8: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
- 9: <span class="ruby-identifier">strftime</span>(<span class="ruby-value str">&quot;%a, %d %b %Y&quot;</span>)
-10: <span class="ruby-keyword kw">end</span>
-</pre>
- </div>
- </div>
- </div>
-
- <div id="method-M000029" class="method-detail">
- <a name="M000029"></a>
-
- <div class="method-heading">
- <a href="#M000029" class="method-signature">
- <span class="method-name">to_day</span><span class="method-args">()</span>
- </a>
- </div>
-
- <div class="method-description">
- <p>
-allows a date to return the day of the week it currently is as a string
-</p>
- <p><a class="source-toggle" href="#"
- onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000029-source">
-<pre>
- <span class="ruby-comment cmt"># File lib/smart_month/extensions/date.rb, line 18</span>
-18: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_day</span>
-19: <span class="ruby-constant">Month</span><span class="ruby-operator">::</span><span class="ruby-constant">DAYS</span>[<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">wday</span>]
-20: <span class="ruby-keyword kw">end</span>
-</pre>
- </div>
- </div>
- </div>
-
- <div id="method-M000028" class="method-detail">
- <a name="M000028"></a>
-
- <div class="method-heading">
- <a href="#M000028" class="method-signature">
- <span class="method-name">to_i</span><span class="method-args">()</span>
- </a>
- </div>
-
- <div class="method-description">
- <p>
-allows a date to retrun the current day its set to as an integer
-</p>
- <p><a class="source-toggle" href="#"
- onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
- <div class="method-source-code" id="M000028-source">
-<pre>
- <span class="ruby-comment cmt"># File lib/smart_month/extensions/date.rb, line 13</span>
-13: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_i</span>
-14: <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">day</span>.<span class="ruby-identifier">to_i</span>
-15: <span class="ruby-keyword kw">end</span>
-</pre>
- </div>
- </div>
- </div>
-
-
- </div>
-
-
- </div>
-
-
-<div id="validator-badges">
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
-</div>
-
-</body>
-</html>
View
177 smart_month.gemspec
@@ -0,0 +1,177 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{smart_month}
+ s.version = "1.0.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Derek Perez", "Jonathan Silverman"]
+ s.date = %q{2010-01-06}
+ s.description = %q{You can use SmartMonth to:
+- Determine the first tuesday of any month in any year.
+- Determine all of the fridays of any month in any year.
+- Iterate through all the days of a month.
+- Determine how many days of the month there are.
+- Determine the first and last days of the month.
+- And other fun date/month related things!}
+ s.email = %q{derek@derekperez.com}
+ s.extra_rdoc_files = [
+ "README"
+ ]
+ s.files = [
+ "MIT-LICENSE",
+ "README",
+ "Rakefile",
+ "VERSION",
+ "lib/month.rb",
+ "lib/smart_month.rb",
+ "lib/smart_month/calculations.rb",
+ "lib/smart_month/collection.rb",
+ "lib/smart_month/extensions/date.rb",
+ "lib/smart_month/magic.rb",
+ "lib/smart_month/math.rb",
+ "lib/smart_month/rulesets.rb",
+ "lib/smart_month/util.rb",
+ "rdoc/classes/Date.html",
+ "rdoc/classes/Month.html",
+ "rdoc/classes/SmartMonth.html",
+ "rdoc/classes/SmartMonth/Calculations.html",
+ "rdoc/classes/SmartMonth/Collection.html",
+ "rdoc/classes/SmartMonth/Magic.html",
+ "rdoc/classes/SmartMonth/Magic/MonthFactory.html",
+ "rdoc/classes/SmartMonth/Math.html",
+ "rdoc/classes/SmartMonth/Rulesets.html",
+ "rdoc/classes/SmartMonth/Util.html",
+ "rdoc/classes/Time.html",
+ "rdoc/created.rid",
+ "rdoc/files/README.html",
+ "rdoc/files/lib/month_rb.html",
+ "rdoc/files/lib/smart_month/calculations_rb.html",
+ "rdoc/files/lib/smart_month/collection_rb.html",
+ "rdoc/files/lib/smart_month/extensions/date_rb.html",
+ "rdoc/files/lib/smart_month/magic_rb.html",
+ "rdoc/files/lib/smart_month/math_rb.html",
+ "rdoc/files/lib/smart_month/rulesets_rb.html",
+ "rdoc/files/lib/smart_month/util_rb.html",
+ "rdoc/files/lib/smart_month_rb.html",
+ "rdoc/fr_class_index.html",
+ "rdoc/fr_file_index.html",
+ "rdoc/fr_method_index.html",
+ "rdoc/index.html",
+ "rdoc/rdoc-style.css",
+ "test/spec/date/accessor_spec.rb",
+ "test/spec/date/add_month_spec.rb",
+ "test/spec/date/add_spec.rb",
+ "test/spec/date/boat_spec.rb",
+ "test/spec/date/civil_spec.rb",
+ "test/spec/date/commercial_spec.rb",
+ "test/spec/date/constants_spec.rb",
+ "test/spec/date/conversions_spec.rb",
+ "test/spec/date/downto_spec.rb",
+ "test/spec/date/eql_spec.rb",
+ "test/spec/date/gregorian_spec.rb",
+ "test/spec/date/hash_spec.rb",
+ "test/spec/date/infinity_spec.rb",
+ "test/spec/date/julian_spec.rb",
+ "test/spec/date/minus_month_spec.rb",
+ "test/spec/date/minus_spec.rb",
+ "test/spec/date/new_spec.rb",
+ "test/spec/date/neww_spec.rb",
+ "test/spec/date/ordinal_spec.rb",
+ "test/spec/date/parse_spec.rb",
+ "test/spec/date/relationship_spec.rb",
+ "test/spec/date/shared/civil.rb",
+ "test/spec/date/shared/commercial.rb",
+ "test/spec/date/shared/parse.rb",
+ "test/spec/date/shared/parse_eu.rb",
+ "test/spec/date/shared/parse_us.rb",
+ "test/spec/date/step_spec.rb",
+ "test/spec/date/strftime_spec.rb",
+ "test/spec/date/strptime_spec.rb",
+ "test/spec/date/upto_spec.rb",
+ "test/spec/parsedate/parsedate.rb",
+ "test/spec/time/httpdate_spec.rb",
+ "test/spec/time/iso8601_spec.rb",
+ "test/spec/time/rfc2822_spec.rb",
+ "test/spec/time/rfc822_spec.rb",
+ "test/spec/time/shared/rfc2822.rb",
+ "test/spec/time/shared/xmlschema.rb",
+ "test/spec/time/xmlschema_spec.rb",
+ "test/spec_helper.rb",
+ "test/test_helper.rb",
+ "test/unit/calculations_test.rb",
+ "test/unit/collection_test.rb",
+ "test/unit/magic_test.rb",
+ "test/unit/math_test.rb",
+ "test/unit/rulesets_test.rb",
+ "test/unit/samples/test_ruleset.yml",
+ "test/unit/util_test.rb"
+ ]
+ s.homepage = %q{http://github.com/perezd/smart_month}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{SmartMonth is a "bodysnatcher" plugin that takes boring Date month fixnums and replaces them with a rich toolkit of functionality.}
+ s.test_files = [
+ "test/test_helper.rb",
+ "test/spec/date/strftime_spec.rb",
+ "test/spec/date/ordinal_spec.rb",
+ "test/spec/date/step_spec.rb",
+ "test/spec/date/hash_spec.rb",
+ "test/spec/date/new_spec.rb",
+ "test/spec/date/relationship_spec.rb",
+ "test/spec/date/julian_spec.rb",
+ "test/spec/date/shared/parse.rb",
+ "test/spec/date/shared/civil.rb",
+ "test/spec/date/shared/parse_eu.rb",
+ "test/spec/date/shared/parse_us.rb",
+ "test/spec/date/shared/commercial.rb",
+ "test/spec/date/strptime_spec.rb",
+ "test/spec/date/neww_spec.rb",
+ "test/spec/date/add_month_spec.rb",
+ "test/spec/date/add_spec.rb",
+ "test/spec/date/minus_spec.rb",
+ "test/spec/date/civil_spec.rb",
+ "test/spec/date/minus_month_spec.rb",
+ "test/spec/date/commercial_spec.rb",
+ "test/spec/date/parse_spec.rb",
+ "test/spec/date/gregorian_spec.rb",
+ "test/spec/date/downto_spec.rb",
+ "test/spec/date/accessor_spec.rb",
+ "test/spec/date/upto_spec.rb",
+ "test/spec/date/infinity_spec.rb",
+ "test/spec/date/boat_spec.rb",
+ "test/spec/date/eql_spec.rb",
+ "test/spec/date/constants_spec.rb",
+ "test/spec/date/conversions_spec.rb",
+ "test/spec/parsedate/parsedate.rb",
+ "test/spec/time/shared/rfc2822.rb",
+ "test/spec/time/shared/xmlschema.rb",
+ "test/spec/time/httpdate_spec.rb",
+ "test/spec/time/rfc2822_spec.rb",
+ "test/spec/time/iso8601_spec.rb",
+ "test/spec/time/xmlschema_spec.rb",
+ "test/spec/time/rfc822_spec.rb",
+ "test/unit/util_test.rb",
+ "test/unit/calculations_test.rb",
+ "test/unit/collection_test.rb",
+ "test/unit/math_test.rb",
+ "test/unit/rulesets_test.rb",
+ "test/unit/magic_test.rb",
+ "test/spec_helper.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.