marty 2.1.2 → 2.1.3

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: cfb19624b9cb6d1694518a3cf3fcd2fdbcda3a1e
4
- data.tar.gz: be2b2861dfe39de0348cd87a74f4162d742ada09
3
+ metadata.gz: 3bf0f31bb663ffc3669aac3ae5011873733aa5be
4
+ data.tar.gz: f7a446e2edd7eb3d32d93122172cf7a264c1c989
5
5
  SHA512:
6
- metadata.gz: 986ab085ebe2687afdc293885b18a8ad873225a06b70dd1c0b1cba54649eba17dca79942bcbc2ac56d8fb8dd59f74d1bb295d9a4095132f77d76edde91ea1b55
7
- data.tar.gz: 19330e271bc0e3a16189464ad03d50ede1dc77afc385669f550b3dd51d0ca96c44cd34a25d04087b8fd237a10cff7bd873cba42d1abb1e965eab50088abd13dd
6
+ metadata.gz: 4b3bd29273e8c4499177c8009db0033b760602c0c54166711ec5e30d0c5141f320816a05745ff77a9e7bf60f8539aeba30d52308a4af311362c9fb0732dfa3d9
7
+ data.tar.gz: d158854afe0bad5977abb32d983dc26807f8a96a73a8fe4a51bbe8f03493abd92d6fd9301de4d614f0c50a7f126252a335de70693892a46cea7a463c464343a7
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- marty (2.1.1)
4
+ marty (2.1.2)
5
5
  aws-sigv4 (~> 1.0, >= 1.0.2)
6
6
  axlsx (= 3.0.0pre)
7
7
  coderay
@@ -28,4 +28,14 @@ module Marty::Extras::Misc
28
28
  mouse_wheel_enabled: false }
29
29
  }
30
30
  end
31
+
32
+ def sep
33
+ { xtype: 'tbseparator' }
34
+ end
35
+
36
+ def icon_hack(name)
37
+ # There's a Netzke bug whereby, using an icon name in a hash
38
+ # doesn't generate a proper URL.
39
+ "#{Netzke::Core.ext_uri}/../icons/#{name}.png"
40
+ end
31
41
  end
@@ -14,6 +14,7 @@ require 'marty/data_grid_view'
14
14
 
15
15
  class Marty::MainAuthApp < Marty::AuthApp
16
16
  extend ::Marty::Permissions
17
+ include Marty::Extras::Misc
17
18
 
18
19
  # set of posting types user is allowed to post with
19
20
  def self.has_posting_perm?
@@ -24,16 +25,6 @@ class Marty::MainAuthApp < Marty::AuthApp
24
25
  self.has_admin_perm?
25
26
  end
26
27
 
27
- def sep
28
- { xtype: 'tbseparator' }
29
- end
30
-
31
- def icon_hack(name)
32
- # There's a Netzke bug whereby, using an icon name in a hash
33
- # doesn't generate a proper URL.
34
- "#{Netzke::Core.ext_uri}/../icons/#{name}.png"
35
- end
36
-
37
28
  def posting_menu
38
29
  {
39
30
  text: warped ? "#{Marty::Util.get_posting.name}" : I18n.t("postings"),
@@ -1,3 +1,3 @@
1
1
  module Marty
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marty
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arman Bostani
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2018-07-02 00:00:00.000000000 Z
17
+ date: 2018-07-03 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: pg