ujsos 0.0.5 → 0.0.6

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.
@@ -22,12 +22,12 @@ $(function($) {
22
22
  settings.data += "&format=" + format;
23
23
  }
24
24
 
25
- var regEx = new RegExp('.'+format, "g");
25
+ var regEx = new RegExp("format=" + format, "g");
26
26
  if (settings.url.search(regEx) == -1) {
27
27
  if (settings.url.search(/\?/g) != -1) {
28
- settings.url = settings.url.replace(/\?/,'.' + format + '?');
28
+ settings.url = settings.url + "&format=" + format;
29
29
  } else {
30
- settings.url += '.' + format;
30
+ settings.url += settings.url + "?format=" + format;
31
31
  }
32
32
  }
33
33
  }
@@ -1,3 +1,3 @@
1
1
  module Ujsos
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ujsos
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
4
+ hash: 19
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Christian Seiler
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-04 00:00:00 +01:00
19
- default_executable:
18
+ date: 2012-05-16 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: rails
@@ -53,7 +52,6 @@ files:
53
52
  - lib/ujsos/rails_engine.rb
54
53
  - lib/ujsos/version.rb
55
54
  - ujsos.gemspec
56
- has_rdoc: true
57
55
  homepage: http://rubygems.org/gems/ujsos
58
56
  licenses: []
59
57
 
@@ -83,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
81
  requirements: []
84
82
 
85
83
  rubyforge_project: ujsos
86
- rubygems_version: 1.3.7
84
+ rubygems_version: 1.8.18
87
85
  signing_key:
88
86
  specification_version: 3
89
87
  summary: Unobtrusive Javascript on Steroids