dsl 0.1.3 → 0.1.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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.3
1
+ 0.1.4
@@ -0,0 +1,60 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{dsl}
8
+ s.version = "0.1.4"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["c00lryguy"]
12
+ s.date = %q{2010-08-28}
13
+ s.description = %q{A small library for creating Domain Specific Languages (DSLs)}
14
+ s.email = %q{c00lryguy@gmail.com}
15
+ s.extra_rdoc_files = [
16
+ "LICENSE",
17
+ "README.md"
18
+ ]
19
+ s.files = [
20
+ "LICENSE",
21
+ "README.md",
22
+ "Rakefile",
23
+ "VERSION",
24
+ "dsl.gemspec",
25
+ "examples/database.rb",
26
+ "examples/user.rb",
27
+ "examples/webapp.rb",
28
+ "lib/dsl.rb",
29
+ "pkg/dsl-0.1.2.gem",
30
+ "pkg/dsl-0.1.3.gem",
31
+ "test/helper.rb",
32
+ "test/test_dsl.rb"
33
+ ]
34
+ s.homepage = %q{http://github.com/c00lryguy/dsl}
35
+ s.rdoc_options = ["--charset=UTF-8"]
36
+ s.require_paths = ["lib"]
37
+ s.rubygems_version = %q{1.3.7}
38
+ s.summary = %q{A small library for creating Domain Specific Languages (DSLs)}
39
+ s.test_files = [
40
+ "test/test_dsl.rb",
41
+ "test/helper.rb",
42
+ "examples/database.rb",
43
+ "examples/user.rb",
44
+ "examples/webapp.rb"
45
+ ]
46
+
47
+ if s.respond_to? :specification_version then
48
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
+ s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
53
+ else
54
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
55
+ end
56
+ else
57
+ s.add_dependency(%q<thoughtbot-shoulda>, [">= 0"])
58
+ end
59
+ end
60
+
data/lib/dsl.rb CHANGED
@@ -15,6 +15,8 @@ class DSL
15
15
  value = instance.instance_variable_get(instance_variable)
16
16
  parent.instance_variable_set(instance_variable, value)
17
17
  end
18
+ # Return the parent for convenience
19
+ parent
18
20
  end
19
21
  end
20
22
 
Binary file
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dsl
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 3
10
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - c00lryguy
@@ -46,10 +46,13 @@ files:
46
46
  - README.md
47
47
  - Rakefile
48
48
  - VERSION
49
+ - dsl.gemspec
49
50
  - examples/database.rb
50
51
  - examples/user.rb
51
52
  - examples/webapp.rb
52
53
  - lib/dsl.rb
54
+ - pkg/dsl-0.1.2.gem
55
+ - pkg/dsl-0.1.3.gem
53
56
  - test/helper.rb
54
57
  - test/test_dsl.rb
55
58
  has_rdoc: true