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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7723a3b06bae07ba8c14d303be9e6ab9382973f4
4
- data.tar.gz: 788a7bdb26e5a99896255fb3a10ca0c0a0db812f
3
+ metadata.gz: 26defc6b2bae0524687b9ea910d9753726d9608b
4
+ data.tar.gz: a03f54c9ae7c11600a316777109ae6ce5943948d
5
5
  SHA512:
6
- metadata.gz: b4daae1e89b306fb43fd53cbd12c11d4a003883bdfa6406e059d35a84e49e0211e11c1edd30f73bec398335e2dda97a8950b5d1892dc268c0e538e7b2d9b4a13
7
- data.tar.gz: 77ac5d04164de60612e4bf6affb46a99d5a16d494cca77b141b96113e1cbe3a09ade2694f655d1056eac0ee1b849da38a332caa67ff763a80f05bf51e3bcc017
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.6)
5
- ants (>= 0.3.12)
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.12)
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.1)
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
- config =
4
- title: title
2
+ constructor: (@title="Categories", @apiPath="/admin") ->
3
+ @showWithParent = true
5
4
 
6
- showWithParent: true
5
+ @arrayStore = new RailsArrayStore({
6
+ resource: "journal_category"
7
+ path: "#{ @apiPath }/journal_categories"
8
+ reorderable: { positionFieldName: "_position" }
9
+ })
7
10
 
8
- arrayStore: new RailsArrayStore({
9
- resource: "journal_category"
10
- path: "#{ @apiPath }/journal_categories"
11
- reorderable: { positionFieldName: "_position" }
12
- })
13
-
14
- formSchema:
15
- title: { type: "string" }
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.12"
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
@@ -1,3 +1,3 @@
1
1
  module Journal
2
- VERSION = "0.3.6"
2
+ VERSION = "0.3.7"
3
3
  end
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.6
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-22 00:00:00.000000000 Z
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.12
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.12
68
+ version: 0.3.13
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: loft
71
71
  requirement: !ruby/object:Gem::Requirement