ajaxify_rails 0.7.7 → 0.7.8

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Ajaxify Rails
1
+ # Ajaxify Rails [![Build Status](https://secure.travis-ci.org/ncri/ajaxify_rails.png)](http://travis-ci.org/ncri/ajaxify_rails)
2
2
 
3
3
  No more full page reloads for your Rails app! Yay!
4
4
 
@@ -22,10 +22,10 @@ Gem::Specification.new do |gem|
22
22
  gem.add_dependency 'rails', '>= 3.1.0'
23
23
 
24
24
  gem.add_development_dependency 'jquery-rails'
25
- gem.add_development_dependency 'rspec-rails', '2.9'
26
- gem.add_development_dependency 'rspec-steps'
25
+ gem.add_development_dependency 'rspec-rails', '2.9.0'
26
+ gem.add_development_dependency 'rspec-steps', '0.0.8'
27
27
  gem.add_development_dependency 'capybara'
28
- gem.add_development_dependency 'selenium-webdriver', '>= 2.30.0'
28
+ gem.add_development_dependency 'selenium-webdriver', '>= 2.32.1'
29
29
  gem.add_development_dependency 'sqlite3'
30
30
  gem.add_development_dependency 'haml', '>= 3.1.5'
31
31
  gem.add_development_dependency 'sass-rails', '~> 3.2.3'
@@ -57,7 +57,7 @@ module ActionControllerAdditions
57
57
  # Store current path for redirect url changes. Also used to remove the ajaxify parameter that gets added to some auto generated urls
58
58
  # like e.g. pagination links see (ajaxify.js -> on_ajaxify_success())
59
59
  #
60
- current_url_tag = view_context.content_tag(:span, remove_ajaxify_params(request.fullpath),
60
+ current_url_tag = view_context.content_tag(:span, remove_ajaxify_param(request.fullpath),
61
61
  id: 'ajaxify_location')
62
62
 
63
63
  response_body[0] += view_context.content_tag(:div, current_url_tag + extra_content,
@@ -103,11 +103,9 @@ module ActionControllerAdditions
103
103
  end
104
104
 
105
105
 
106
- def remove_ajaxify_params url
106
+ def remove_ajaxify_param url
107
107
  url.sub(/\?ajaxified=true&(.*)/, '?\1').
108
- sub(/\?ajaxify_redirect=true&(.*)/, '?\1').
109
- sub(/(&|\?)ajaxified=true/, '').
110
- sub(/(&|\?)ajaxify_redirect=true/, '')
108
+ sub(/(&|\?)ajaxified=true/, '')
111
109
  end
112
110
 
113
111
  # Meta tag for asset change detection - inspired by wiselinks
@@ -1,3 +1,3 @@
1
1
  module AjaxifyRails
2
- VERSION = "0.7.7"
2
+ VERSION = "0.7.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ajaxify_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.7
4
+ version: 0.7.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-10 00:00:00.000000000 Z
12
+ date: 2013-05-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - '='
52
52
  - !ruby/object:Gem::Version
53
- version: '2.9'
53
+ version: 2.9.0
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
@@ -58,23 +58,23 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: '2.9'
61
+ version: 2.9.0
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rspec-steps
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  none: false
66
66
  requirements:
67
- - - ! '>='
67
+ - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 0.0.8
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
- - - ! '>='
75
+ - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: '0'
77
+ version: 0.0.8
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: capybara
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -98,7 +98,7 @@ dependencies:
98
98
  requirements:
99
99
  - - ! '>='
100
100
  - !ruby/object:Gem::Version
101
- version: 2.30.0
101
+ version: 2.32.1
102
102
  type: :development
103
103
  prerelease: false
104
104
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ! '>='
108
108
  - !ruby/object:Gem::Version
109
- version: 2.30.0
109
+ version: 2.32.1
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: sqlite3
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -259,15 +259,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
259
259
  - - ! '>='
260
260
  - !ruby/object:Gem::Version
261
261
  version: '0'
262
+ segments:
263
+ - 0
264
+ hash: 2283778831851444221
262
265
  required_rubygems_version: !ruby/object:Gem::Requirement
263
266
  none: false
264
267
  requirements:
265
268
  - - ! '>='
266
269
  - !ruby/object:Gem::Version
267
270
  version: '0'
271
+ segments:
272
+ - 0
273
+ hash: 2283778831851444221
268
274
  requirements: []
269
275
  rubyforge_project:
270
- rubygems_version: 1.8.24
276
+ rubygems_version: 1.8.25
271
277
  signing_key:
272
278
  specification_version: 3
273
279
  summary: Rails gem for automatically turning internal links/forms into ajax links/forms
@@ -321,4 +327,3 @@ test_files:
321
327
  - spec/ajaxify_test/script/rails
322
328
  - spec/integration/ajaxify_rails_spec.rb
323
329
  - spec/spec_helper.rb
324
- has_rdoc: