jquery-rails_vho 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/jquery/rails/version', __FILE__)
2
+ require File.expand_path('../lib/jquery-rails/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "jquery-rails_vho"
@@ -4,7 +4,7 @@ module Jquery
4
4
 
5
5
  class Engine < ::Rails::Engine
6
6
  config.before_configuration do
7
- require "jquery/assert_select" if ::Rails.env.test?
7
+ require "jquery-rails/assert_select" if ::Rails.env.test?
8
8
  end
9
9
  end
10
10
 
@@ -4,7 +4,7 @@ module Jquery
4
4
 
5
5
  class Railtie < ::Rails::Railtie
6
6
  config.before_configuration do
7
- require "jquery/assert_select" if ::Rails.env.test?
7
+ require "jquery-rails/assert_select_jquery" if ::Rails.env.test?
8
8
 
9
9
  if ::Rails.root.join("public/javascripts/jquery-ui.min.js").exist?
10
10
  jq_defaults = %w(jquery jquery-ui)
@@ -1,5 +1,5 @@
1
1
  module Jquery
2
2
  module Rails
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -0,0 +1,12 @@
1
+ module Jquery
2
+ PROTOTYPE_JS = %w{prototype effects dragdrop controls}
3
+
4
+ module Rails
5
+ if ::Rails.version < "3.1"
6
+ require 'jquery-rails/railtie'
7
+ else
8
+ require 'jquery-rails/engine'
9
+ end
10
+ end
11
+
12
+ end
metadata CHANGED
@@ -1,13 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-rails_vho
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
5
4
  prerelease: false
6
5
  segments:
7
6
  - 0
8
7
  - 0
9
- - 1
10
- version: 0.0.1
8
+ - 2
9
+ version: 0.0.2
11
10
  platform: ruby
12
11
  authors:
13
12
  - "Andr\xC3\xA9 Arko"
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2011-05-27 00:00:00 +02:00
18
+ date: 2011-06-12 00:00:00 +02:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -27,7 +26,6 @@ dependencies:
27
26
  requirements:
28
27
  - - ~>
29
28
  - !ruby/object:Gem::Version
30
- hash: 7
31
29
  segments:
32
30
  - 3
33
31
  - 0
@@ -42,7 +40,6 @@ dependencies:
42
40
  requirements:
43
41
  - - ~>
44
42
  - !ruby/object:Gem::Version
45
- hash: 23
46
43
  segments:
47
44
  - 0
48
45
  - 14
@@ -57,7 +54,6 @@ dependencies:
57
54
  requirements:
58
55
  - - ~>
59
56
  - !ruby/object:Gem::Version
60
- hash: 23
61
57
  segments:
62
58
  - 1
63
59
  - 0
@@ -73,7 +69,6 @@ dependencies:
73
69
  requirements:
74
70
  - - ~>
75
71
  - !ruby/object:Gem::Version
76
- hash: 5
77
72
  segments:
78
73
  - 3
79
74
  - 1
@@ -100,12 +95,11 @@ files:
100
95
  - Rakefile
101
96
  - jquery-rails_vho.gemspec
102
97
  - lib/generators/jquery/install/install_generator.rb
103
- - lib/jquery-rails.rb
104
- - lib/jquery/assert_select.rb
105
- - lib/jquery/rails.rb
106
- - lib/jquery/rails/engine.rb
107
- - lib/jquery/rails/railtie.rb
108
- - lib/jquery/rails/version.rb
98
+ - lib/jquery-rails/assert_select_jquery.rb
99
+ - lib/jquery-rails/engine.rb
100
+ - lib/jquery-rails/railtie.rb
101
+ - lib/jquery-rails/version.rb
102
+ - lib/jquery-rails_vho.rb
109
103
  - spec/lib/jquery-rails_spec.rb
110
104
  - spec/spec_helper.rb
111
105
  - vendor/assets/javascripts/jquery-ui.js
@@ -127,7 +121,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
121
  requirements:
128
122
  - - ">="
129
123
  - !ruby/object:Gem::Version
130
- hash: 3
131
124
  segments:
132
125
  - 0
133
126
  version: "0"
@@ -136,7 +129,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
129
  requirements:
137
130
  - - ">="
138
131
  - !ruby/object:Gem::Version
139
- hash: 23
140
132
  segments:
141
133
  - 1
142
134
  - 3
data/lib/jquery/rails.rb DELETED
@@ -1,11 +0,0 @@
1
- module Jquery
2
- module Rails
3
- PROTOTYPE_JS = %w{prototype effects dragdrop controls}
4
-
5
- if ::Rails.version < "3.1"
6
- require 'jquery/rails/railtie'
7
- else
8
- require 'jquery/rails/engine'
9
- end
10
- end
11
- end
data/lib/jquery-rails.rb DELETED
@@ -1 +0,0 @@
1
- require 'jquery/rails'