bullet_train 1.0.12 → 1.0.16

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
  SHA256:
3
- metadata.gz: '086758c1f9cac00d402ebe997e4ff73623d5ea12580cfad21278c8da8bef8ae5'
4
- data.tar.gz: b4c4d63aa36fa9afc64c18e70b5d99f8cc022101242f5c0fd43dcf1969238e62
3
+ metadata.gz: 71d67fbd048f30e77d9ff70b257a5e3153cbf8275991b5a83b7b0e154714180e
4
+ data.tar.gz: 064047dae91036cac7605b8b27837879f47ae2fc78a2c38ff0ba7bf05ba20c69
5
5
  SHA512:
6
- metadata.gz: 4a38b41f6424f60d6d7870d090e9fc6323392d19f3d723c3f3fb452512916a653bd4cd8e0fd13bf71ecd7dd83d8e3c8c6ab1ceb671d91ed93b471c804fdfe3f0
7
- data.tar.gz: 72fabc14a5b3ea62f6490659ed84631d709dcd859e9711f6e93906d22f959960ef40c9822ed2330f706a1b95b76dbfb15a963f3b7f0e5d0a9f2812cb56f21862
6
+ metadata.gz: 6c9b8b919f7e1f06fb2be51b4a26d560ffb9f21971f813c8f3a378522bae2db0d3f6da4d02fd47f6788b8e2c7edfc7cb305a7b8bfa0a2c0078659b19d6530e09
7
+ data.tar.gz: 5e4bff3ef6a86d1928b010092e3fa852bd054e34f5c6a7c83450caab8f0c2d461d59ae5c7f3575de55a6e5da628b1fd8089624fc360f688f3b01a289276148c6
@@ -3,8 +3,8 @@ module Account::Memberships::ControllerBase
3
3
 
4
4
  included do
5
5
  account_load_and_authorize_resource :membership, :team,
6
- member_actions: [:demote, :promote, :reinvite].merge(defined?(MEMBER_ACTIONS) ? MEMBER_ACTIONS : []),
7
- collection_actions: [:search].merge(defined?(COLLECTION_ACTIONS) ? COLLECTION_ACTIONS : [])
6
+ member_actions: [:demote, :promote, :reinvite] + (defined?(MEMBER_ACTIONS) ? MEMBER_ACTIONS : []),
7
+ collection_actions: [:search] + (defined?(COLLECTION_ACTIONS) ? COLLECTION_ACTIONS : [])
8
8
  end
9
9
 
10
10
  def index
@@ -128,7 +128,7 @@ module Account::Teams::ControllerBase
128
128
  # Never trust parameters from the scary internet, only allow the white list through.
129
129
  def team_params
130
130
  strong_params = params.require(:team).permit(
131
- # :name,
131
+ :name,
132
132
  :time_zone,
133
133
  :locale,
134
134
  *permitted_fields,
@@ -77,7 +77,7 @@ en:
77
77
  teams: *teams
78
78
  activerecord:
79
79
  attributes:
80
- user:
80
+ team:
81
81
  name: *name
82
82
  time_zone: *time_zone
83
83
  locale: *locale
@@ -1,3 +1,3 @@
1
1
  module BulletTrain
2
- VERSION = "1.0.12"
2
+ VERSION = "1.0.16"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-15 00:00:00.000000000 Z
11
+ date: 2022-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -24,6 +24,76 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 7.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bullet_train-fields
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bullet_train-roles
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.1.4
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.1.4
55
+ - !ruby/object:Gem::Dependency
56
+ name: bullet_train-super_load_and_authorize_resource
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bullet_train-has_uuid
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: bullet_train-scope_validator
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
27
97
  description: Bullet Train
28
98
  email:
29
99
  - andrew.culver@gmail.com