touchpunch-rails 1.0.1 → 1.0.2

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: 2fad6a66208d00bd977c68245146bc5729a27ae7
4
- data.tar.gz: f387b5981b173e0eab01d646d6caa9d029d83271
3
+ metadata.gz: 46be1d1e80241fd3cd35ccb4e5e933d6c3be4a98
4
+ data.tar.gz: 57816d2a548110327c8933be4c70d3fc936eaa6c
5
5
  SHA512:
6
- metadata.gz: 1dd569b47201df393dfec4c1f0fc5544b970cc3180a4ff1e48cb8d398c2e59dcdf98d6be457c343f86fcd23f487ebb759dbe5e5b2bef2444b556bb66ab12acf0
7
- data.tar.gz: 1557e9d934c589c8e4eed3e7fb414676bc577499af5c14e400e57bcb69bc37568cbf88972a2563d19cf71f96bd77b22ef68e90c4705df8e7c107103e4baf1f95
6
+ metadata.gz: c044809430194da55bcb0eb56f98725a19edeae1155fb1f1e830075ae17df2099160ee9d3c07a22495fdcf7ca9b203e49084842c3391df7da65560d9ceede20c
7
+ data.tar.gz: d3c6adc1d80073246d01d884fde0e6bf59be5c7185a0a9a4ee303c5b5e5e0e2f5e740bdaff0f667a3b0065b8ed992b1b88ee3be13c71bad799f8ae23daff3414
data/README.md CHANGED
@@ -20,7 +20,7 @@ _[Visit the official Touch Punch website](http://touchpunch.furf.com)._
20
20
  Add this line to your application's Gemfile:
21
21
 
22
22
  gem 'touchpunch-rails'
23
-
23
+
24
24
  And then execute:
25
25
 
26
26
  $ bundle
@@ -28,6 +28,12 @@ And then execute:
28
28
  Or install it yourself as:
29
29
 
30
30
  $ gem install touchpunch-rails
31
+
32
+ ### Requirements
33
+
34
+ Add the jquery ui rails gem to your project:
35
+
36
+ gem 'jquery-ui-rails'
31
37
 
32
38
  ## Using Touch Punch
33
39
 
@@ -49,9 +55,17 @@ Just follow these simple steps to enable touch events in your jQuery UI app:
49
55
 
50
56
  `<script>$('#widget').draggable();</script>`
51
57
 
52
- It can also be required inside another rails CoffeeScript file.
58
+ ## Coffeescript
59
+ Add the following to any project file you want touch support along with the requirements below.
53
60
 
54
61
  #= require jquery.ui.touch-punch
62
+
63
+ ### Requirements
64
+
65
+ Include the required jquery ui library (from jquery-ui-rails):
66
+
67
+ #= require jquery.ui.widget
68
+ #= require jquery.ui.mouse
55
69
 
56
70
  ## Contributing
57
71
 
@@ -1,5 +1,5 @@
1
1
  module Touchpunch
2
2
  module Rails
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: touchpunch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-05 00:00:00.000000000 Z
11
+ date: 2014-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.1'
20
- - - <
21
- - !ruby/object:Gem::Version
22
- version: '4.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '3.1'
30
- - - <
31
- - !ruby/object:Gem::Version
32
- version: '4.1'
33
27
  description: Simple asset gem containing jquery mobile ui touch punch. This allows
34
28
  for enabling touch drag and drop for jquery sortable.
35
29
  email:
@@ -38,10 +32,10 @@ executables: []
38
32
  extensions: []
39
33
  extra_rdoc_files: []
40
34
  files:
41
- - lib/touchpunch-rails/version.rb
35
+ - README.md
42
36
  - lib/touchpunch-rails.rb
37
+ - lib/touchpunch-rails/version.rb
43
38
  - vendor/assets/javascripts/jquery.ui.touch-punch.js
44
- - README.md
45
39
  homepage: ''
46
40
  licenses: []
47
41
  metadata: {}
@@ -51,17 +45,17 @@ require_paths:
51
45
  - lib
52
46
  required_ruby_version: !ruby/object:Gem::Requirement
53
47
  requirements:
54
- - - '>='
48
+ - - ">="
55
49
  - !ruby/object:Gem::Version
56
50
  version: '0'
57
51
  required_rubygems_version: !ruby/object:Gem::Requirement
58
52
  requirements:
59
- - - '>='
53
+ - - ">="
60
54
  - !ruby/object:Gem::Version
61
55
  version: '0'
62
56
  requirements: []
63
57
  rubyforge_project:
64
- rubygems_version: 2.0.0
58
+ rubygems_version: 2.2.2
65
59
  signing_key:
66
60
  specification_version: 4
67
61
  summary: Simple asset gem containing jquery mobile ui touch punch.