semantic-rails-ui 0.2.0 → 0.2.1

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: ed0eb12e07af11571c435c15e086ff0f1b511f84
4
- data.tar.gz: e943a625d1e21428b4c95dcff826717c1d64915b
3
+ metadata.gz: 9ec71904c236c22bfac0a6428fcf10db99613e64
4
+ data.tar.gz: 2c0f53daaaffe1abb290d72cf1101e66df40d1f1
5
5
  SHA512:
6
- metadata.gz: c3aee15979757a145954e20b9fcea6ba03bafdc28c36d827d92363d8f50a1a3574d181d99e80312476fb4f76b5862c95e9bdd6c8d62da1b5207974902f29f7a4
7
- data.tar.gz: eb4e89947a4329445aacf2f5b8738f54a5c57e515946d96b7d5d02f5a4f316d8007f3ef58bdcc75c79259a448c5e26807c5ab92a89eb1e2397576ac7792a257c
6
+ metadata.gz: 122db7ab92fd5551d66fd5c351c7d6a89c2b9f91a55836c0367e390fe21cd9821210f3c3074463fcc41d4403ba890ce20d73f0f941279eb1b5d7f1f416ca3e91
7
+ data.tar.gz: 0cca82c5df8a0751d77b964975105a058ee59b889ef522ccb36d448fb74c2854a463b815b30ea0259fbb796d84319d998c4d378a1f410422d5a87a8d306c2a57
@@ -15,6 +15,7 @@
15
15
  //= require turbolinks
16
16
  //= require moment
17
17
  //= require semantic-ui
18
+ //= require semantic-rails-ui/behaviour
18
19
  //= require semantic-rails-ui/menu
19
20
  //= require semantic-rails-ui/message
20
21
  //= require semantic-rails-ui/confirm
@@ -0,0 +1,2 @@
1
+ # this method makes it easier to select elements by their data-behavior attribute
2
+ window.$b = (selector) -> $("[data-behavior~='#{selector}']")
@@ -1,3 +1,3 @@
1
1
  module SemanticRailsUi
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic-rails-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Jancev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-15 00:00:00.000000000 Z
11
+ date: 2016-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -363,6 +363,7 @@ files:
363
363
  - README.md
364
364
  - Rakefile
365
365
  - app/assets/javascripts/semantic-rails-ui.js
366
+ - app/assets/javascripts/semantic-rails-ui/behaviour.coffee
366
367
  - app/assets/javascripts/semantic-rails-ui/confirm.coffee
367
368
  - app/assets/javascripts/semantic-rails-ui/menu.coffee
368
369
  - app/assets/javascripts/semantic-rails-ui/message.coffee