easymarklet 0.0.7 → 0.0.8

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.
@@ -41,8 +41,10 @@
41
41
  //dest += encodeURIComponent("/bookmarklet/court_cases/check?court_case[url]=" + caseUrl);
42
42
 
43
43
  var dest = full_host + bookmarklet.producer.path
44
+ dest += "?url=" + encodeURIComponent(document.location.href);
44
45
  if(bookmarklet.producer.buffer){
45
46
  dest = full_host + bookmarklet.producer.buffer + "?producer=" + encodeURIComponent(bookmarklet.producer.path);
47
+ dest += "&url=" + encodeURIComponent(document.location.href)
46
48
  }
47
49
 
48
50
  // here we put the main code, in this case we expose an ajax endpoint
@@ -1,3 +1,3 @@
1
1
  module Easymarklet
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -8,7 +8,7 @@
8
8
  </head>
9
9
  <body>
10
10
 
11
- <iframe src="<%%= params[:producer] %>?url=<%%= params[:xdm_e] %>" frameborder="0"></iframe>
11
+ <iframe src="<%%= params[:producer] %>?url=<%%= params[:url] %>" frameborder="0"></iframe>
12
12
 
13
13
 
14
14
  <%%= javascript_include_tag "<%= name %>_producer" %>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easymarklet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -222,7 +222,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
222
  version: '0'
223
223
  segments:
224
224
  - 0
225
- hash: 1153713136749520288
225
+ hash: 137451879451655284
226
226
  required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  none: false
228
228
  requirements:
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
231
  version: '0'
232
232
  segments:
233
233
  - 0
234
- hash: 1153713136749520288
234
+ hash: 137451879451655284
235
235
  requirements: []
236
236
  rubyforge_project:
237
237
  rubygems_version: 1.8.24