bone_tree 0.5.5 → 0.5.6
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.
|
@@ -546,6 +546,9 @@
|
|
|
546
546
|
full file name with extension, otherwise renders just the file
|
|
547
547
|
name attribute.
|
|
548
548
|
*/
|
|
549
|
+
if (this.model.get('hidden')) {
|
|
550
|
+
return "";
|
|
551
|
+
}
|
|
549
552
|
if (this.settings.get('showExtensions')) {
|
|
550
553
|
this.$el.text(this.model.nameWithExtension());
|
|
551
554
|
} else {
|
data/lib/version.rb
CHANGED
data/source/index.html.haml
CHANGED
|
@@ -184,6 +184,7 @@
|
|
|
184
184
|
"name": "explode",
|
|
185
185
|
"contents": "super long JSON string",
|
|
186
186
|
"extension": "sfs",
|
|
187
|
+
"hidden": true,
|
|
187
188
|
"lang": null,
|
|
188
189
|
"type": "sound",
|
|
189
190
|
"size": 105,
|
|
@@ -193,6 +194,7 @@
|
|
|
193
194
|
"name": "explode",
|
|
194
195
|
"contents": null,
|
|
195
196
|
"extension": "wav",
|
|
197
|
+
"hidden": true,
|
|
196
198
|
"lang": null,
|
|
197
199
|
"type": "binary",
|
|
198
200
|
"size": 158270,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bone_tree
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.6
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -86,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
86
86
|
version: '0'
|
|
87
87
|
segments:
|
|
88
88
|
- 0
|
|
89
|
-
hash: -
|
|
89
|
+
hash: -81853669433785675
|
|
90
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
none: false
|
|
92
92
|
requirements:
|