journal-chr 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/Gemfile.lock +4 -4
- data/app/assets/javascripts/journal/categories.coffee +16 -14
- data/journal-chr.gemspec +1 -1
- data/lib/journal/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26defc6b2bae0524687b9ea910d9753726d9608b
|
4
|
+
data.tar.gz: a03f54c9ae7c11600a316777109ae6ce5943948d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b94a48a1ab3f9c5c7d2a8d721ac7178bb0603e1251df5145a36008663527437e0216b2142ab184cc6c6204f02174e481175d0079ca5e04450cfbc441a660ea9
|
7
|
+
data.tar.gz: 4a9c6c617b84e68f48d7f8c7a701a84691a92dca2eec27efa30ec3eeab0c71129468ec2ac954da4be75160c145c12375d6283189919298dd52b388b0279dbdd6
|
data/.gitignore
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
.DS_Store
|
1
|
+
.DS_Store
|
2
|
+
pkg
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
journal-chr (0.3.
|
5
|
-
ants (>= 0.3.
|
4
|
+
journal-chr (0.3.7)
|
5
|
+
ants (>= 0.3.13)
|
6
6
|
chr (>= 0.5.5)
|
7
7
|
loft (>= 0.3.1)
|
8
8
|
mongosteen (>= 0.2.0)
|
@@ -45,7 +45,7 @@ GEM
|
|
45
45
|
minitest (~> 5.1)
|
46
46
|
thread_safe (~> 0.3, >= 0.3.4)
|
47
47
|
tzinfo (~> 1.1)
|
48
|
-
ants (0.3.
|
48
|
+
ants (0.3.13)
|
49
49
|
devise
|
50
50
|
meta-tags
|
51
51
|
mongoid (>= 4.0)
|
@@ -138,7 +138,7 @@ GEM
|
|
138
138
|
minitest (5.8.3)
|
139
139
|
mongo (2.2.1)
|
140
140
|
bson (~> 4.0)
|
141
|
-
mongoid (5.0.
|
141
|
+
mongoid (5.0.2)
|
142
142
|
activemodel (~> 4.0)
|
143
143
|
mongo (~> 2.1)
|
144
144
|
origin (~> 2.1)
|
@@ -1,17 +1,19 @@
|
|
1
1
|
class @JournalCategories
|
2
|
-
constructor: (title="Categories", @apiPath="/admin") ->
|
3
|
-
|
4
|
-
title: title
|
2
|
+
constructor: (@title="Categories", @apiPath="/admin") ->
|
3
|
+
@showWithParent = true
|
5
4
|
|
6
|
-
|
5
|
+
@arrayStore = new RailsArrayStore({
|
6
|
+
resource: "journal_category"
|
7
|
+
path: "#{ @apiPath }/journal_categories"
|
8
|
+
reorderable: { positionFieldName: "_position" }
|
9
|
+
})
|
7
10
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
return config
|
11
|
+
@formSchema =
|
12
|
+
generic:
|
13
|
+
type: "group"
|
14
|
+
groupClass: "group-panel"
|
15
|
+
inputs:
|
16
|
+
title:
|
17
|
+
type: "string"
|
18
|
+
placeholder: "Category Title"
|
19
|
+
slug: new AntsSlugInput("#{location.origin}/")
|
data/journal-chr.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.add_development_dependency "rake", "~> 10.0"
|
20
20
|
|
21
21
|
s.add_dependency "chr", ">= 0.5.5"
|
22
|
-
s.add_dependency "ants", ">= 0.3.
|
22
|
+
s.add_dependency "ants", ">= 0.3.13"
|
23
23
|
s.add_dependency "loft", ">= 0.3.1"
|
24
24
|
s.add_dependency "mongosteen", ">= 0.2.0"
|
25
25
|
end
|
data/lib/journal/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: journal-chr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kravets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.3.
|
61
|
+
version: 0.3.13
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.3.
|
68
|
+
version: 0.3.13
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: loft
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|