orange-core 0.5.9 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +2 -3
- data/lib/orange-core/resources/parser.rb +1 -1
- metadata +5 -5
data/README.markdown
CHANGED
@@ -9,8 +9,7 @@ orange-core represents the core dependencies for orange applications. If you wan
|
|
9
9
|
a full featured Orange-based CMS, we're working on splitting that into the Sparkles
|
10
10
|
project.
|
11
11
|
|
12
|
-
**Note**: Orange is still in
|
13
|
-
Tread carefully.
|
12
|
+
**Note**: Orange is still in a "beta" stage. Test coverage is lack-luster at best. The library is being used on a few currently live (low traffic) sites, so it might be stable enough to use on your own projects let us know if you have issues.
|
14
13
|
|
15
14
|
More Info
|
16
15
|
=========
|
@@ -32,7 +31,7 @@ Should I Use Orange?
|
|
32
31
|
|
33
32
|
"I want to create a quick RESTful web service that does one thing and does it well"
|
34
33
|
|
35
|
-
|
34
|
+
Sinatra is probably better for this kind of thing. It's perfect for creating quick web apps based on RESTful
|
36
35
|
ideals. Or perhaps use a Sinatra clone built on Orange, so you can incorporate orange plugins...
|
37
36
|
but such a clone doesn't exist (yet).
|
38
37
|
|
@@ -74,7 +74,7 @@ module Orange
|
|
74
74
|
|
75
75
|
haml_engine = Haml::Engine.new(string)
|
76
76
|
if packet_binding.is_a? Orange::Packet
|
77
|
-
packet_binding['parser.haml-templates']["#{context}-#{resource}-#{file}"] = haml_engine
|
77
|
+
packet_binding['parser.haml-templates', {}]["#{context}-#{resource}-#{file}"] = haml_engine
|
78
78
|
end
|
79
79
|
end
|
80
80
|
out = haml_engine.render(packet_binding, opts, &block)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orange-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 6
|
9
|
+
- 0
|
10
|
+
version: 0.6.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Haslem
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-27 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|