kms 0.4.2 → 0.5.0

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: 16f28c6f01a4c1f662a44f1f55ff40fe271b6775
4
- data.tar.gz: 00de9d642c7586b96a1665a79cca6b058c0df831
3
+ metadata.gz: f7a4d05f7cc4ad5145164c542f8672afd2474672
4
+ data.tar.gz: d84723296a7c33808ed8fa4165fe96e41686759d
5
5
  SHA512:
6
- metadata.gz: 97859a8e2264b10884dbe2d79d938f3377927082c81c77bae3687fb66216b1cf4ed215afb23640118e4755f772a2f74251e113f7240a0add24df2dc9d9e0930d
7
- data.tar.gz: 6d9ede08785a2fe24e38fc74cc28bc7eb9a62d8f27ebd060c73be2193bdf28a68650791b27e8fc470ac0d259cbf1964613ca6266676c17d356cc6aee5bc50249
6
+ metadata.gz: aac6af3041b2b2af0ed7a5e6f67ca0095eafba75d77f557f504224ade344e794968d12b687e1ebc35d6ceed68a6022ccd712c0627fd73b4973efb3d3a32f8851
7
+ data.tar.gz: a2997479b37714a51b0ebc5cdb88b3c7154a6be8321a05e0f22155b7819700bff30279d6aa00e2d3cb2848b8848b8d4d7e356ce73e3c9e9a305e484973cb69cc
@@ -18,7 +18,8 @@ angular.module('KMS').config ['$httpProvider', '$locationProvider', 'Restangular
18
18
  testChunks: false
19
19
  fileParameterName: "asset[file]"
20
20
  ]
21
- .run ['$http', '$cookies', 'editableOptions', ($http, $cookies, editableOptions) ->
21
+ .run ['$http', '$cookies', 'editableOptions', '$rootScope', '$state', ($http, $cookies, editableOptions, $rootScope, $state) ->
22
+ $rootScope.$state = $state
22
23
  $http.defaults.headers.common['X-XSRF-TOKEN'] = $cookies['XSRF-TOKEN']
23
24
  editableOptions.theme = 'bs3'
24
25
  ]
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
6
 
7
- <title>Kms</title>
7
+ <title>{{ 'KMS - ' + ($state.current.views['header'] || $state.current.views['header@']).template || 'KMS' }}</title>
8
8
  <%= stylesheet_link_tag 'kms/application', media: 'all', 'data-turbolinks-track' => true %>
9
9
  <script type="text/javascript">
10
10
  var CKEDITOR_BASEPATH = '/assets/ng-ckeditor/libs/ckeditor/';
@@ -1,3 +1,3 @@
1
1
  module Kms
2
- VERSION = "0.4.2"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Petrov
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '4.1'
20
+ version: 4.2.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '4.1'
27
+ version: 4.2.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bower-rails
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -99,16 +99,16 @@ dependencies:
99
99
  name: angular-rails-templates
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '='
102
+ - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: 0.1.3
104
+ version: 1.0.0
105
105
  type: :runtime
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '='
109
+ - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: 0.1.3
111
+ version: 1.0.0
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: liquor
114
114
  requirement: !ruby/object:Gem::Requirement