matthewtodd-doily 0.1.0
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/README.rdoc +30 -0
- data/Rakefile +47 -0
- data/features/chef_nodes.feature +55 -0
- data/features/chef_openid_registrations.feature +46 -0
- data/features/chef_roles.feature +32 -0
- data/features/steps/chef.rb +20 -0
- data/features/support/environment.rb +9 -0
- data/features/support/helpers.rb +27 -0
- data/lib/doily.rb +7 -0
- data/lib/doily/errors.rb +13 -0
- data/lib/doily/parser.rb +534 -0
- data/lib/doily/parser.y +157 -0
- data/lib/doily/types.rb +5 -0
- data/lib/doily/types/access.rb +35 -0
- data/lib/doily/types/assignment.rb +12 -0
- data/lib/doily/types/binding.rb +41 -0
- data/lib/doily/types/block.rb +17 -0
- data/lib/doily/types/call.rb +12 -0
- data/lib/doily/types/conditional.rb +17 -0
- data/lib/doily/types/declaration.rb +15 -0
- data/lib/doily/types/function.rb +32 -0
- data/lib/doily/types/literal.rb +11 -0
- data/lib/doily/types/loop.rb +20 -0
- data/lib/doily/types/object.rb +15 -0
- data/lib/doily/types/reference.rb +15 -0
- data/test/doily_test.rb +140 -0
- data/test/test_helper.rb +20 -0
- metadata +118 -0
data/test/test_helper.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'test/unit'
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
gem 'thoughtbot-shoulda'
|
5
|
+
require 'shoulda'
|
6
|
+
gem 'jeremymcanally-matchy'
|
7
|
+
require 'matchy'
|
8
|
+
|
9
|
+
if $stdin.tty?
|
10
|
+
begin
|
11
|
+
gem 'redgreen'
|
12
|
+
rescue Gem::LoadError
|
13
|
+
# no colors for you
|
14
|
+
else
|
15
|
+
require 'redgreen'
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
20
|
+
require 'doily'
|
metadata
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: matthewtodd-doily
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Matthew Todd
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-06-27 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: chef
|
17
|
+
type: :development
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: jeremymcanally-matchy
|
27
|
+
type: :development
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "0"
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: thoughtbot-shoulda
|
37
|
+
type: :development
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: "0"
|
44
|
+
version:
|
45
|
+
description:
|
46
|
+
email: matthew.todd@gmail.com
|
47
|
+
executables: []
|
48
|
+
|
49
|
+
extensions: []
|
50
|
+
|
51
|
+
extra_rdoc_files:
|
52
|
+
- README.rdoc
|
53
|
+
files:
|
54
|
+
- Rakefile
|
55
|
+
- README.rdoc
|
56
|
+
- features/chef_nodes.feature
|
57
|
+
- features/chef_openid_registrations.feature
|
58
|
+
- features/chef_roles.feature
|
59
|
+
- features/steps
|
60
|
+
- features/steps/chef.rb
|
61
|
+
- features/support
|
62
|
+
- features/support/environment.rb
|
63
|
+
- features/support/helpers.rb
|
64
|
+
- lib/doily
|
65
|
+
- lib/doily/errors.rb
|
66
|
+
- lib/doily/parser.rb
|
67
|
+
- lib/doily/parser.y
|
68
|
+
- lib/doily/types
|
69
|
+
- lib/doily/types/access.rb
|
70
|
+
- lib/doily/types/assignment.rb
|
71
|
+
- lib/doily/types/binding.rb
|
72
|
+
- lib/doily/types/block.rb
|
73
|
+
- lib/doily/types/call.rb
|
74
|
+
- lib/doily/types/conditional.rb
|
75
|
+
- lib/doily/types/declaration.rb
|
76
|
+
- lib/doily/types/function.rb
|
77
|
+
- lib/doily/types/literal.rb
|
78
|
+
- lib/doily/types/loop.rb
|
79
|
+
- lib/doily/types/object.rb
|
80
|
+
- lib/doily/types/reference.rb
|
81
|
+
- lib/doily/types.rb
|
82
|
+
- lib/doily.rb
|
83
|
+
- test/doily_test.rb
|
84
|
+
- test/test_helper.rb
|
85
|
+
has_rdoc: false
|
86
|
+
homepage:
|
87
|
+
post_install_message:
|
88
|
+
rdoc_options:
|
89
|
+
- --main
|
90
|
+
- README.rdoc
|
91
|
+
- --title
|
92
|
+
- doily-0.1.0
|
93
|
+
- --inline-source
|
94
|
+
- --line-numbers
|
95
|
+
- --all
|
96
|
+
require_paths:
|
97
|
+
- lib
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: "0"
|
103
|
+
version:
|
104
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: "0"
|
109
|
+
version:
|
110
|
+
requirements: []
|
111
|
+
|
112
|
+
rubyforge_project:
|
113
|
+
rubygems_version: 1.2.0
|
114
|
+
signing_key:
|
115
|
+
specification_version: 3
|
116
|
+
summary: A Javascript (function) interpreter for Ruby.
|
117
|
+
test_files: []
|
118
|
+
|