padma-assets 0.1.26 → 0.1.27

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: 77bac22667c4f75102db8df653b2973b9b4bd730
4
- data.tar.gz: 1fce807bcc04cf4fdd05f7a8afb366309f55946f
3
+ metadata.gz: f8c5bd9a8665dacbe704c9d5acf8f8cdc7058715
4
+ data.tar.gz: c16fcbd9a06bdf08e2ac8d216257303e9759b3b7
5
5
  SHA512:
6
- metadata.gz: 2934b9bfec3227ff835dfa2e7d9ab3d20efffb80ad51736f666b409fd40cfc0eee9a52549b674b5eec79a61b87a918e9ba59a2fedcb8617fb240e8c3a8bba56e
7
- data.tar.gz: f4504e1ecb01b5da285d99258925c4d325ebba6fd324758d9d559818255e5be97bc6aa6068ad090c5dac99d51665fe5d2c763e70e8c69ffbf8c976df39f10afb
6
+ metadata.gz: d6733f1bad7d154823432bd91e6d8c4f1d1b2417c1e7964713b26a0e20f9260a30a1638fea7f4ec092f6ac4d0521d2e98cb11f0f7d306d8cffa7c3570f1d597c
7
+ data.tar.gz: e62535220c1142cf8df6545859dcbb8777e613a7e875345d17a12c70c2510f8f429c0b5079946776e21593bcdfc80268dcece04bb302a03e2bcb9120d9726205
@@ -4,13 +4,20 @@ class GeneralAbility
4
4
  def initialize(user)
5
5
  if alpha?(user)
6
6
  can :manage, :mailchimp
7
+ end
8
+ if beta?(user)
7
9
  can :manage, :persistent_contact_searches
8
10
  end
9
11
  end
10
12
 
11
13
  private
12
-
14
+
13
15
  def alpha?(user)
14
16
  user.account_tester_level == 'alpha'
15
17
  end
18
+
19
+ def beta?(user)
20
+ tl = user.account_tester_level
21
+ tl == 'alpha' || tl == 'beta'
22
+ end
16
23
  end
@@ -7,7 +7,7 @@ es:
7
7
  fnz: Financiero
8
8
  user_menu:
9
9
  user_profile: Mi perfil
10
- school_profile: Configuración Unidad
10
+ school_profile: Configuración Equipo
11
11
  billing: Pagos
12
12
  logout: Cerrar sessión
13
13
  lists:
@@ -7,7 +7,7 @@ pt-BR:
7
7
  fnz: Financeiro
8
8
  user_menu:
9
9
  user_profile: Meu perfil
10
- school_profile: Configuraçāo Unidade
10
+ school_profile: Configuraçāo da equipe
11
11
  billing: Pagamentos
12
12
  logout: Encerrar sessāo
13
13
  lists:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padma-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.26
4
+ version: 0.1.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dwayne Macgowan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-20 00:00:00.000000000 Z
11
+ date: 2015-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.4.8
123
+ rubygems_version: 2.4.6
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Assets to be re-used in PADMA applications