ui_bibz 2.0.0.beta2.1 → 2.0.0.beta2.2

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: 14342a4c0463710afd56d4d646b6e1ed12834bd1
4
- data.tar.gz: d224045b102d0246ad8420da3d6f469731601ba2
3
+ metadata.gz: 1767f59b9f0c9eee7efc9759a09f82d025695a55
4
+ data.tar.gz: 2e1af8f6817a7d016788bfaf4ca35deec50fc1c3
5
5
  SHA512:
6
- metadata.gz: 9d93a5def657b9af2d35022d97db0795c82ae914f4297ebcea809889da457636ece620846f124357e2dd57d91ab5253c77eaf1433aa8e24b7bea09b034d0c037
7
- data.tar.gz: ebdae9722b03463877f66f5a92699c7c8712c1fa66e67f00ffd58b561045a9a87248f2eba552c327d35d6b1186ca9b82967b5ecb15021d907b64b8e0cc32521a
6
+ metadata.gz: cf2175011ffefa7359a9513a7f74f1c93c9be0f088bb54ffcd87f116e1a7ddb199bcd056284af9127a6c8bf2f3a4e63586be142790d2f66cf17a001968072953
7
+ data.tar.gz: a34605b4e843169ffa75ea716a6732f5d4b9b781f225b28c93a0e165ad63fcba50d41b7dcb2911f328d5ce8379f79acbf3186386cd2f9dcf2b713b6464025e34
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ui_bibz (2.0.0.beta2.1)
4
+ ui_bibz (2.0.0.beta2.2)
5
5
  bootstrap (= 4.0.0.beta2)
6
6
  font-awesome-sass
7
7
  haml
@@ -2,6 +2,7 @@ module UiBibzForm
2
2
  class UiBibzFormBuilder < SimpleForm::FormBuilder
3
3
  include ActionView::Helpers::TagHelper
4
4
  include ActionView::Helpers::TextHelper
5
+ include UiBibz::Utils
5
6
 
6
7
  attr_accessor :output_buffer
7
8
 
@@ -1,13 +1,4 @@
1
1
  module UiBibz::Utils
2
- class Screwdriver
3
- include Singleton
4
-
5
- def self.join_classes *classes
6
- klasses = [*classes].flatten.compact.uniq.reject(&:blank?)
7
- klasses.empty? ? nil : klasses
8
- end
9
-
10
- end
11
2
  class Internationalization
12
3
 
13
4
  def initialize translation, options = {}
@@ -0,0 +1,11 @@
1
+ module UiBibz::Utils
2
+ class Screwdriver
3
+ include Singleton
4
+
5
+ def self.join_classes *classes
6
+ klasses = [*classes].flatten.compact.uniq.reject(&:blank?)
7
+ klasses.empty? ? nil : klasses
8
+ end
9
+
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module UiBibz
2
- VERSION = "2.0.0.beta2.1"
2
+ VERSION = "2.0.0.beta2.2"
3
3
  end
data/lib/ui_bibz.rb CHANGED
@@ -6,6 +6,10 @@ module UiBibz
6
6
 
7
7
  mattr_accessor :app_root
8
8
 
9
+ module Utils
10
+ autoload :Screwdriver, "ui_bibz/utils/screwdriver"
11
+ end
12
+
9
13
  module Ui
10
14
  # Base
11
15
  autoload :Base, "ui_bibz/ui/base"
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_bibz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta2.1
4
+ version: 2.0.0.beta2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thooams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-30 00:00:00.000000000 Z
11
+ date: 2017-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -387,6 +387,7 @@ files:
387
387
  - lib/ui_bibz/ui/ux/tables/table_pagination_per_page.rb
388
388
  - lib/ui_bibz/ui/ux/tables/table_search_field.rb
389
389
  - lib/ui_bibz/utils/internationalization.rb
390
+ - lib/ui_bibz/utils/screwdriver.rb
390
391
  - lib/ui_bibz/version.rb
391
392
  - test/dummy/README.rdoc
392
393
  - test/dummy/Rakefile
@@ -482,6 +483,7 @@ files:
482
483
  - test/ui/core/windows/modal_test.rb
483
484
  - test/ui/ux/tables/table_test.rb
484
485
  - test/ui_bibz_test.rb
486
+ - ui_bibz-2.0.0.beta2.gem
485
487
  - ui_bibz.gemspec
486
488
  - vendor/assets/images/switch.png
487
489
  - vendor/assets/javascripts/bootstrap-datepicker.min.js