contextify 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,4 +1,9 @@
1
- === 1.0.0 / 2008-12-29
1
+ === 0.1.1 / 2009-01-17
2
+
3
+ * Include missing files in Manifest.
4
+ * All specs pass in Ruby 1.9.1-rc1.
5
+
6
+ === 0.1.0 / 2008-12-29
2
7
 
3
8
  * Initial release.
4
9
 
data/Manifest.txt CHANGED
@@ -3,10 +3,12 @@ Manifest.txt
3
3
  README.txt
4
4
  Rakefile
5
5
  lib/contextify.rb
6
+ lib/contextify/exceptions.rb
6
7
  lib/contextify/exceptions/context_not_found.rb
7
8
  lib/contextify/exceptions/unknown_context.rb
8
- lib/contextify/extensions/meta/object.rb
9
+ lib/contextify/extensions.rb
9
10
  lib/contextify/extensions/meta.rb
11
+ lib/contextify/extensions/meta/object.rb
10
12
  lib/contextify/pending_context.rb
11
13
  lib/contextify/contextify.rb
12
14
  lib/contextify/version.rb
data/README.txt CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  == DESCRIPTION:
7
7
 
8
- Load objects from Ruby files without having to use YAML or define
8
+ Load Objects from Ruby files without having to use YAML or define
9
9
  classes named like the file.
10
10
 
11
11
  == EXAMPLES:
@@ -49,7 +49,7 @@ classes named like the file.
49
49
 
50
50
  The MIT License
51
51
 
52
- Copyright (c) 2008 Hal Brodigan
52
+ Copyright (c) 2008-2009 Hal Brodigan
53
53
 
54
54
  Permission is hereby granted, free of charge, to any person obtaining
55
55
  a copy of this software and associated documentation files (the
@@ -1,7 +1,6 @@
1
- require 'contextify/exceptions/unknown_context'
2
- require 'contextify/exceptions/context_not_found'
1
+ require 'contextify/exceptions'
2
+ require 'contextify/extensions'
3
3
  require 'contextify/pending_context'
4
- require 'contextify/extensions/meta'
5
4
 
6
5
  module Contextify
7
6
  def self.included(base)
@@ -0,0 +1,2 @@
1
+ require 'contextify/exceptions/context_not_found'
2
+ require 'contextify/exceptions/unknown_context'
@@ -0,0 +1 @@
1
+ require 'contextify/extensions/meta'
@@ -1,3 +1,3 @@
1
1
  module Contextify
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
@@ -1,12 +1,11 @@
1
1
  require 'contextify'
2
2
 
3
3
  require 'spec_helper'
4
+ require 'helpers/book_context'
5
+ require 'helpers/book_review_context'
4
6
 
5
7
  describe Contextify do
6
8
  before(:all) do
7
- require 'helpers/book_context'
8
- require 'helpers/book_review_context'
9
-
10
9
  @contexts_dir = File.expand_path(File.join(File.dirname(__FILE__),'helpers','contexts'))
11
10
  @snow_crash_path = File.join(@contexts_dir,'snow_crash.rb')
12
11
  @neuromancer_path = File.join(@contexts_dir,'neuromancer_review.rb')
@@ -65,7 +64,7 @@ describe Contextify do
65
64
  end
66
65
 
67
66
  it "should have instance methods" do
68
- @book.methods.include?('rating').should == true
67
+ @book.respond_to?(:rating).should == true
69
68
  @book.rating.should == 10
70
69
  end
71
70
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contextify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-29 00:00:00 -08:00
12
+ date: 2009-01-17 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,7 +22,7 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 1.8.2
24
24
  version:
25
- description: Load objects from Ruby files without having to use YAML or define classes named like the file.
25
+ description: Load Objects from Ruby files without having to use YAML or define classes named like the file.
26
26
  email:
27
27
  - postmodern.mod3@gmail.com
28
28
  executables: []
@@ -39,10 +39,12 @@ files:
39
39
  - README.txt
40
40
  - Rakefile
41
41
  - lib/contextify.rb
42
+ - lib/contextify/exceptions.rb
42
43
  - lib/contextify/exceptions/context_not_found.rb
43
44
  - lib/contextify/exceptions/unknown_context.rb
44
- - lib/contextify/extensions/meta/object.rb
45
+ - lib/contextify/extensions.rb
45
46
  - lib/contextify/extensions/meta.rb
47
+ - lib/contextify/extensions/meta/object.rb
46
48
  - lib/contextify/pending_context.rb
47
49
  - lib/contextify/contextify.rb
48
50
  - lib/contextify/version.rb
@@ -75,6 +77,6 @@ rubyforge_project: contextify
75
77
  rubygems_version: 1.3.1
76
78
  signing_key:
77
79
  specification_version: 2
78
- summary: Load objects from Ruby files without having to use YAML or define classes named like the file.
80
+ summary: Load Objects from Ruby files without having to use YAML or define classes named like the file.
79
81
  test_files: []
80
82