agilibox 1.4.3 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c86e25a2a64d907710532205286243303ba59dc13be55c7e7b9c598d9fdbb771
4
- data.tar.gz: 0750edb2e73c200f92de9d02f32c286eb91a13724d37e41dfdc13c3496c4b629
3
+ metadata.gz: 50533c797c86ed5da13f6fedb3821923824cdc6d2c78d156b1aafc73be7c6c4d
4
+ data.tar.gz: c49c84be7fd166ef80f7af8774a1fd4f355b52c1b69d2723dc40508c3e104481
5
5
  SHA512:
6
- metadata.gz: 3f4ce3e7ca71bd6c8acbfed1f6fdf33f8934b4b5fbf78dc78ef2b1c30459e45bac7e972d20b7ad7fdbe6f54d3f72e6f998cfcfdeb24ec34fe90f7418ff49b268
7
- data.tar.gz: 77cd7f7c4590d09d704c72cd2e9c78e892634416669d6779463be1ed958ab72d2efd4294dc8ad3d7df9b69bb71060fd8fa500ca7864758bd97775a91058584a7
6
+ metadata.gz: 5bc4a05da4197008f36a2be0cbbe2331cf8b258d4ee7705a4bc2a221d8059d65c9cefb7b308250e2adacfe418f80ad8da718760f64f46aea676e100126f1e29c
7
+ data.tar.gz: 1819da40af2426f857d3093671b5d09fc15dfb57d6982301ed62e2b701e039b649bc98ccb8a8fd7b741a18d7793b2bb478d6208af1eb24a0fcc9f8da317b12a8
data/CHANGELOG.md CHANGED
@@ -2,74 +2,62 @@
2
2
 
3
3
  ## Next version
4
4
 
5
- ## 1.4.3
5
+ ## 1.4.4
6
+ - Fix i18n error on `info` helper
6
7
 
8
+ ## 1.4.3
7
9
  - `form_buttons` helper fixes and improvements
8
10
 
9
11
  ## 1.4.2
10
-
11
12
  - Fix FontAwesome helper
12
13
 
13
14
  ## 1.4.1
14
-
15
15
  - FCM request handle JSON errors
16
16
 
17
17
  ## 1.4.0
18
-
19
18
  - Add `Agilibox::Email`
20
19
  - Add `Agilibox.parent_controller` config
21
20
  - Add `Agilibox.parent_mailer` config
22
21
  - Filters improvements
23
22
 
24
23
  ## 1.3.6
25
-
26
24
  - Remove deprecated `Agilibox::SortableUUIDGenerator::generate`
27
25
  - `Agilibox::ActiveRecordUUIDConcern` improvements
28
26
  - `Agilibox::DefaultValuesConcern` improvements
29
27
  - Fix FontAwesome version error
30
28
 
31
29
  ## 1.3.5
32
-
33
30
  - Add `Agilibox::Monkey`
34
31
 
35
32
  ## 1.3.4
36
-
37
33
  - Support FontAwesome v4
38
34
 
39
35
  ## 1.3.3
40
-
41
36
  - Fix error messages
42
37
 
43
38
  ## 1.3.2
44
-
45
39
  - Add `Agilibox::ActiveModelCustomErrorMessages`
46
40
 
47
41
  ## 1.3.1
48
-
49
42
  - `ApiControllerConcern` refactor + helpers
50
43
 
51
44
  ## 1.3.0
52
-
53
45
  - ApiControllerConcern : add `model_errors` in json response
54
46
  - `json_response` is now a `HashWithIndifferentAccess`
55
47
 
56
48
  ## 1.2.3
57
-
58
49
  - Add FCM
59
50
 
60
51
  ## 1.2.2
61
-
62
52
  - Add CollectionUpdate
63
53
  - Rename Agilibox::SortableUUIDGenerator::generate to ::call
64
54
 
65
55
  ## 1.2.1
66
-
67
56
  - Fix flash partial
68
57
  - Filter by date/datetime period now allows custom periods
69
58
  - Sorter class improvements
70
59
 
71
60
  ## 1.2.0
72
-
73
61
  - Add `Agilibox::MiniFormObject`
74
62
  - Replace time period filter by date+datetime period filters
75
63
  - JS Modal improvements
@@ -80,7 +68,6 @@
80
68
  - you now need to add `Agilibox::CucumberConfig.require_poltergeist!` or `Agilibox::CucumberConfig.require_chrome_headless!` to your `env.rb`
81
69
 
82
70
  ## 1.1.0
83
-
84
71
  - Search concern improvements
85
72
  - Date helper improvements
86
73
  - Add `boolean_icon` helper
@@ -89,34 +76,28 @@
89
76
  - Switch to FontAwesome 5 + `icon` helper improvements
90
77
 
91
78
  ## 1.0.15
92
-
93
79
  - `ApiControllerConcern#render_json_error` improvements
94
80
  - Add Agilibox::Service object
95
81
  - Fix SMS AmazonSNS strategy bug
96
82
  - Fix time period filter
97
83
 
98
84
  ## 1.0.14
99
-
100
85
  - Sorting helper improvements
101
86
  - FormBackUrl fixes
102
87
  - FiltersHelper fixes
103
88
 
104
89
  ## 1.0.13
105
-
106
90
  - Modal JS fix
107
91
 
108
92
  ## 1.0.12
109
-
110
93
  - `.checkboxes-dropdown` CSS fix
111
94
  - Fix sorting helper
112
95
 
113
96
  ## 1.0.11
114
-
115
97
  - Add Agilibox::SMS
116
98
  - Test helpers improvements
117
99
 
118
100
  ## 1.0.10
119
-
120
101
  - Add TokenGenerator
121
102
  - Add PhoneNumberSanitizer
122
103
  - Add engine_file helper to Kernel
@@ -127,21 +108,17 @@
127
108
  - Add ApiControllerConcern
128
109
 
129
110
  ## 1.0.9
130
-
131
111
  - Fix Model#tv
132
112
  - Add cucumber helpers
133
113
 
134
114
  ## 1.0.8
135
-
136
115
  - Serializers improvements
137
116
 
138
117
  ## 1.0.7
139
-
140
118
  - Search form add reset button
141
119
  - Filter form fix default submit button
142
120
 
143
121
  ## 1.0.6
144
-
145
122
  - Add checkboxes_dropdown helper
146
123
  - Add FilterStrategyByKeyValues
147
124
  - bs_button improvements
@@ -151,32 +128,26 @@
151
128
  - Split i18n files
152
129
 
153
130
  ## 1.0.5
154
-
155
131
  - Fix `import_button` helper
156
132
  - Add mime types
157
133
 
158
134
  ## 1.0.4
159
-
160
135
  - Search now ignore accents
161
136
  - Add Sorter class
162
137
 
163
138
  ## 1.0.3
164
-
165
139
  - Add `ta` (translate action) helper
166
140
  - Add `blank` css class to `info` helper
167
141
  - Add autocomplete.coffee
168
142
 
169
143
  ## 1.0.2
170
-
171
144
  - Button helper changes
172
145
  - Modals use event delegation
173
146
 
174
147
  ## 1.0.1
175
-
176
148
  - Remove AXLSX dependency
177
149
 
178
150
  ## 1.0.0
179
-
180
151
  - First version imported from agilidee/dorsale
181
152
  - `sortable_column_order` now returns symbols
182
153
  - modal fixes + allow upload
@@ -95,7 +95,7 @@ module Agilibox::TextHelper
95
95
  separator = options[:separator] || " : "
96
96
  helper = options[:helper]
97
97
  i18n_key = "#{object.class.to_s.tableize.singularize}/#{attribute}"
98
- nested = I18n.t("activerecord.attributes.#{i18n_key}").is_a?(Hash)
98
+ nested = I18n.t("activerecord.attributes.#{i18n_key}", default: "").is_a?(Hash)
99
99
  klass = object.is_a?(Module) ? object : object.class
100
100
  object_type = klass.to_s.split("::").last.underscore
101
101
 
@@ -1,3 +1,3 @@
1
1
  module Agilibox
2
- VERSION = "1.4.3"
2
+ VERSION = "1.4.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agilibox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - agilidée
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-15 00:00:00.000000000 Z
11
+ date: 2018-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails-i18n