touch_action 0.0.1alpha → 0.0.2alpha
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.
- data/.gitignore +2 -1
- data/CHANGELOG.md +4 -0
- data/README.md +2 -1
- data/lib/touch_action/version.rb +1 -1
- data/lib/touch_action.rb +2 -2
- metadata +26 -20
- checksums.yaml +0 -7
- data/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/touch_action/.DS_Store +0 -0
- data/lib/touch_action/javascripts/.DS_Store +0 -0
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -14,6 +14,7 @@ And then execute:
|
|
14
14
|
|
15
15
|
$ bundle
|
16
16
|
|
17
|
+
And then add `require 'touch_action'` to your spec_helper.rb or wherever you want to use it.
|
17
18
|
## WARNING
|
18
19
|
It's currently being developed and there are no tests on it. For now, it's only supporting Watir-webdriver.
|
19
20
|
|
@@ -51,4 +52,4 @@ For more information about how those methods work, please check the [YUI Documen
|
|
51
52
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
52
53
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
53
54
|
4. Push to the branch (`git push origin my-new-feature`)
|
54
|
-
5. Create a new Pull Request
|
55
|
+
5. Create a new Pull Request
|
data/lib/touch_action/version.rb
CHANGED
data/lib/touch_action.rb
CHANGED
@@ -23,12 +23,12 @@ module TouchAction
|
|
23
23
|
render_erb(pinch_file.read, default_options)
|
24
24
|
end
|
25
25
|
|
26
|
-
def tap_script
|
26
|
+
def tap_script options = {}
|
27
27
|
tap = File.read(File.expand_path("../touch_action/javascripts/tap.js.erb", __FILE__))
|
28
28
|
render_erb tap
|
29
29
|
end
|
30
30
|
|
31
|
-
def doubletap_script
|
31
|
+
def doubletap_script options = {}
|
32
32
|
doubletap = File.read(File.expand_path("../touch_action/javascripts/doubletap.js.erb", __FILE__))
|
33
33
|
render_erb doubletap
|
34
34
|
end
|
metadata
CHANGED
@@ -1,69 +1,78 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: touch_action
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2alpha
|
5
|
+
prerelease: 5
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Ricardo Nacif
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
12
|
+
date: 2014-10-06 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: watir-webdriver
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- -
|
19
|
+
- - ! '>='
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- -
|
27
|
+
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: bundler
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- -
|
35
|
+
- - ~>
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: '1.7'
|
34
38
|
type: :development
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- -
|
43
|
+
- - ~>
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: '1.7'
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: rake
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
|
-
- -
|
51
|
+
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '10.0'
|
48
54
|
type: :development
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
|
-
- -
|
59
|
+
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
54
61
|
version: '10.0'
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: pry
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
|
-
- -
|
67
|
+
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
61
69
|
version: '0'
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
|
-
- -
|
75
|
+
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
68
77
|
version: '0'
|
69
78
|
description: Adds touch gestures to Watir and Selenium using YUI JS.
|
@@ -73,18 +82,14 @@ executables: []
|
|
73
82
|
extensions: []
|
74
83
|
extra_rdoc_files: []
|
75
84
|
files:
|
76
|
-
-
|
77
|
-
- ".gitignore"
|
85
|
+
- .gitignore
|
78
86
|
- CHANGELOG.md
|
79
87
|
- Gemfile
|
80
88
|
- LICENSE.txt
|
81
89
|
- MIT-LICENSE
|
82
90
|
- README.md
|
83
91
|
- Rakefile
|
84
|
-
- lib/.DS_Store
|
85
92
|
- lib/touch_action.rb
|
86
|
-
- lib/touch_action/.DS_Store
|
87
|
-
- lib/touch_action/javascripts/.DS_Store
|
88
93
|
- lib/touch_action/javascripts/doubletap.js.erb
|
89
94
|
- lib/touch_action/javascripts/flick.js.erb
|
90
95
|
- lib/touch_action/javascripts/move.js.erb
|
@@ -97,25 +102,26 @@ files:
|
|
97
102
|
homepage: ''
|
98
103
|
licenses:
|
99
104
|
- MIT
|
100
|
-
metadata: {}
|
101
105
|
post_install_message:
|
102
106
|
rdoc_options: []
|
103
107
|
require_paths:
|
104
108
|
- lib
|
105
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
|
+
none: false
|
106
111
|
requirements:
|
107
|
-
- -
|
112
|
+
- - ! '>='
|
108
113
|
- !ruby/object:Gem::Version
|
109
114
|
version: '0'
|
110
115
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
111
117
|
requirements:
|
112
|
-
- -
|
118
|
+
- - ! '>'
|
113
119
|
- !ruby/object:Gem::Version
|
114
120
|
version: 1.3.1
|
115
121
|
requirements: []
|
116
122
|
rubyforge_project:
|
117
|
-
rubygems_version:
|
123
|
+
rubygems_version: 1.8.23.2
|
118
124
|
signing_key:
|
119
|
-
specification_version:
|
125
|
+
specification_version: 3
|
120
126
|
summary: Adds touch gestures to Watir and Selenium using YUI JS.
|
121
127
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 744adb3766b383eb489493a91e3c106e8afcb8d1
|
4
|
-
data.tar.gz: ef0af39857d40ca853b20b92b2b702f1d45eb244
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 753a4a717c285dde7f3913b437ef9f0f999941ca3a0a978288c1ae7987e0e6bac93970d25ab3fc86f94be049bc7a8dfd754ae6b89b87351750f1a3c76a1ba69b
|
7
|
-
data.tar.gz: 9c3ba99c733a8063756a04891c10722bc869de0293690f5d7a45a6465879c525b02b5408984c57bd02e35231b5dee4cf86b0f2f9309ffda94edaf55986f02a24
|
data/.DS_Store
DELETED
Binary file
|
data/lib/.DS_Store
DELETED
Binary file
|
data/lib/touch_action/.DS_Store
DELETED
Binary file
|
Binary file
|