scratch_pad-node_extensions-text_block 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig
CHANGED
Binary file
|
@@ -1,7 +1,15 @@
|
|
1
1
|
module NodeExtensions
|
2
2
|
class TextBlock < ScratchPad::Addon::NodeExtension
|
3
3
|
class Model < Node
|
4
|
-
key :data, String
|
4
|
+
key :data, String
|
5
|
+
|
6
|
+
validates_presence_of :data, :if => :require_data
|
7
|
+
|
8
|
+
private
|
9
|
+
|
10
|
+
def require_data
|
11
|
+
true
|
12
|
+
end
|
5
13
|
end
|
6
14
|
end
|
7
15
|
end
|
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'scratch_pad-node_extensions-text_block'
|
6
|
-
s.version = '0.0.
|
6
|
+
s.version = '0.0.3'
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.authors = ['Raving Genius']
|
9
9
|
s.email = ['rg+code@ravinggenius.com']
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: scratch_pad-node_extensions-text_block
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.3
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Raving Genius
|
@@ -31,8 +31,7 @@ cert_chain:
|
|
31
31
|
CvvfejGH+Hi4YXI1pPhLJj8g
|
32
32
|
-----END CERTIFICATE-----
|
33
33
|
|
34
|
-
date: 2011-
|
35
|
-
default_executable:
|
34
|
+
date: 2011-05-25 00:00:00 Z
|
36
35
|
dependencies: []
|
37
36
|
|
38
37
|
description:
|
@@ -53,7 +52,6 @@ files:
|
|
53
52
|
- lib/views/full.html.haml
|
54
53
|
- lib/views/preview.html.haml
|
55
54
|
- scratch_pad-node_extensions-text_block.gemspec
|
56
|
-
has_rdoc: true
|
57
55
|
homepage: https://github.com/ravinggenius/scratch_pad-node_extensions-text_block
|
58
56
|
licenses: []
|
59
57
|
|
@@ -77,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
75
|
requirements: []
|
78
76
|
|
79
77
|
rubyforge_project: scratch_pad-node_extensions-text_block
|
80
|
-
rubygems_version: 1.
|
78
|
+
rubygems_version: 1.8.3
|
81
79
|
signing_key:
|
82
80
|
specification_version: 3
|
83
81
|
summary: NodeExtension gem for ScratchPad
|
metadata.gz.sig
CHANGED
Binary file
|