tmin 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tmin (0.0.5)
4
+ tmin (0.0.6)
5
5
  dm-aggregates (~> 1.2.0)
6
6
  dm-core (~> 1.2.0)
7
7
  dm-migrations (~> 1.2.0)
data/lib/tmin/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module Tminus
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
data/tmin-0.0.6.gem ADDED
Binary file
data/views/redirect.haml CHANGED
@@ -16,5 +16,14 @@
16
16
  }
17
17
  document.getElementById("applink1").onclick = applink(appstorefail);
18
18
  var button = document.getElementById("applink1")
19
- button.click()
19
+ simulateClick("applink1");
20
+ function simulateClick(elId) {
21
+ var evt;
22
+ var el = document.getElementById(elId);
23
+ if (document.createEvent) {
24
+ evt = document.createEvent("MouseEvents");
25
+ evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
26
+ }
27
+ (evt) ? el.dispatchEvent(evt) : (el.click && el.click());
28
+ }
20
29
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmin
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - drobs
@@ -259,6 +259,7 @@ files:
259
259
  - tmin-0.0.4.gem
260
260
  - tmin-0.0.5.gem
261
261
  - tmin-0.0.6.gem
262
+ - tmin-0.0.7.gem
262
263
  - tmin.gemspec
263
264
  - views/error.haml
264
265
  - views/index.haml