trusty-snippets-extension 2.0.0.pre.beta → 2.0.1.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/trusty-snippets-extension.rb +1 -1
- data/snippets_extension.rb +1 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjVmMzUzMTQxN2U0MzczMzBlOWM5ZWFmNTNiOTdlMWFhZWQ0OWU2OA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTQ5OGYxNGI4MTk2ODRjMjRmNTQxMmU4NDE2ZGNkZDhmN2MwMTU1Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjlhZDAwY2E3NmNiZmU1NGQwNDc4YTU4M2ZjYzJlZGYyM2Y3ZjdjZGI2NTEz
|
10
|
+
ZTdlNDAxMDM5Nzk5NmJmNGI2ZWI1NzQ5ZjA3NzdhYTNhNTk2ZjczYmFhODBl
|
11
|
+
N2FhOTBkNjNjOGQxYzFiYzNmMzc2ZDNkZjhiZmY4NWVjOWZhNmQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTgyODBkMGY3YzdhY2ZmNGQ1MmI4ZTYwNGFkMTdkMjMyZTJkYjI1ZjRlYzY4
|
14
|
+
NmU2MzRjNTY0NjgxOWViZTg3MjRkNTFhOTkwOTg0ZTczMWJjMWEyOTcwMTU1
|
15
|
+
MzNjZTQ3ZjUxMGEzZTJiODI0NGQyMWU5M2E4ZDg0NWE1NDdiNjM=
|
data/snippets_extension.rb
CHANGED
@@ -37,22 +37,7 @@ class SnippetsExtension < TrustyCms::Extension
|
|
37
37
|
index.bottom.concat %w{new_button}
|
38
38
|
end
|
39
39
|
snippet.new = snippet.edit
|
40
|
-
|
41
|
-
end
|
42
|
-
|
43
|
-
def load_default_snippet_file_regions
|
44
|
-
OpenStruct.new.tap do |snippet|
|
45
|
-
snippet.show = TrustyCms::AdminUI::RegionSet.new do |edit|
|
46
|
-
edit.main.concat %w{ header }
|
47
|
-
edit.display_content.concat %w{ title content }
|
48
|
-
edit.bottom.concat %w{ timestamp }
|
49
|
-
end
|
50
|
-
snippet.index = TrustyCms::AdminUI::RegionSet.new do |index|
|
51
|
-
index.top.concat %w{}
|
52
|
-
index.thead.concat %w{title_header}
|
53
|
-
index.tbody.concat %w{title_cell}
|
54
|
-
index.bottom.concat %w{new_button}
|
55
|
-
end
|
40
|
+
snippet.remove = snippet.edit
|
56
41
|
end
|
57
42
|
end
|
58
43
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-snippets-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1.pre.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Gay
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-07-
|
12
|
+
date: 2015-07-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: trusty-cms
|