fron-ui 1.0.0rc3 → 1.0.0rc4

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
  SHA1:
3
- metadata.gz: 092391bb27fa0ff23226526d1141bd1258a5017c
4
- data.tar.gz: d43dd6d4b03986764e7c944c78ca6bfc018d8a2a
3
+ metadata.gz: 4a1f10e81e34b5d6a500b89c71906eea8cfdcdec
4
+ data.tar.gz: d8144ed8224a9fb9850d3c27352abae5a2045ecc
5
5
  SHA512:
6
- metadata.gz: 4eb56fa6924fd082857a92b5c124f0ad17f1ac5a811f9b0cf7d69de828512e9f27bee8df8e1f212b4e9d4ce3e5f48d011554ae2f9d07dd053650ee9cc3f98dd8
7
- data.tar.gz: 7c7e287c78065d0186649d38bd7f21253b3e6d1787a619902f7146796302d8c78c8b57104a7c4bee853149eeb98571b04fcbd47e6d64db0721b64031243377a1
6
+ metadata.gz: d1baa30357a0d7a8b53eea2b90a50872f1cfa959d307fba5e1db7182cae7f26a0df3a615b75bc0e7f2e73eb4744191a164bb3fc2a685f8cc6a86f85a2ff0974a
7
+ data.tar.gz: 0f04d9f33d234d804112ece3b615f88999a9dc58ffafd0c55b8fb92c16c72828f0c6d88166c58ce3b34a568a64cd099e72ce3c779d137a792036ec695402dc76
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fron-ui (1.0.0rc3)
4
+ fron-ui (1.0.0rc4)
5
5
  color (= 1.8)
6
6
  fron (= 1.0.0rc2)
7
7
 
@@ -2,6 +2,6 @@
2
2
  module Fron
3
3
  # UI
4
4
  module UI
5
- VERSION = '1.0.0rc3'
5
+ VERSION = '1.0.0rc4'
6
6
  end
7
7
  end
@@ -7,17 +7,13 @@ module UI
7
7
  # @author Gusztáv Szikszai
8
8
  # @since 0.1.0
9
9
  module Actions
10
- IS_TOUCH = `'ontouchstart' in window && !window._phantom`
11
-
12
- METHOD = IS_TOUCH ? :touchstart : :click
13
-
14
10
  # Sets up the behavior:
15
11
  #
16
12
  # * Sets up event for the action
17
13
  #
18
14
  # @param base [Fron::Component] The includer
19
15
  def self.included(base)
20
- base.on METHOD, '[action]', :handle_action
16
+ base.on :click, '[action]', :handle_action
21
17
  end
22
18
 
23
19
  private
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fron-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0rc3
4
+ version: 1.0.0rc4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gusztav Szikszai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-12 00:00:00.000000000 Z
11
+ date: 2016-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fron