ajax 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +10 -0
- data/Gemfile.lock +48 -0
- data/Rakefile +3 -18
- data/VERSION +1 -1
- data/lib/ajax/railtie.rb +1 -1
- data/spec/spec_helper.rb +3 -10
- metadata +9 -7
data/Gemfile
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
gem 'activesupport', '=2.3.11'
|
4
|
+
gem 'actionpack', '=2.3.11', :require => 'action_controller'
|
5
|
+
gem 'jeweler', '=1.4.0'
|
6
|
+
gem 'ruby-debug', '=0.10.3'
|
7
|
+
gem 'ruby-debug-base', '=0.10.3'
|
8
|
+
gem 'rspec', '~>1.3.1', :require => 'spec'
|
9
|
+
gem 'test-unit', '=1.2.3'
|
10
|
+
gem 'ajax', :path => "./"
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ./
|
3
|
+
specs:
|
4
|
+
ajax (1.0.7)
|
5
|
+
|
6
|
+
GEM
|
7
|
+
remote: http://rubygems.org/
|
8
|
+
specs:
|
9
|
+
actionpack (2.3.11)
|
10
|
+
activesupport (= 2.3.11)
|
11
|
+
rack (~> 1.1.0)
|
12
|
+
activesupport (2.3.11)
|
13
|
+
columnize (0.3.2)
|
14
|
+
gemcutter (0.7.0)
|
15
|
+
git (1.2.5)
|
16
|
+
hoe (2.9.1)
|
17
|
+
rake (>= 0.8.7)
|
18
|
+
jeweler (1.4.0)
|
19
|
+
gemcutter (>= 0.1.0)
|
20
|
+
git (>= 1.2.5)
|
21
|
+
rubyforge (>= 2.0.0)
|
22
|
+
json_pure (1.5.1)
|
23
|
+
linecache (0.43)
|
24
|
+
rack (1.1.2)
|
25
|
+
rake (0.8.7)
|
26
|
+
rspec (1.3.1)
|
27
|
+
ruby-debug (0.10.3)
|
28
|
+
columnize (>= 0.1)
|
29
|
+
ruby-debug-base (~> 0.10.3.0)
|
30
|
+
ruby-debug-base (0.10.3)
|
31
|
+
linecache (>= 0.3)
|
32
|
+
rubyforge (2.0.4)
|
33
|
+
json_pure (>= 1.1.7)
|
34
|
+
test-unit (1.2.3)
|
35
|
+
hoe (>= 1.5.1)
|
36
|
+
|
37
|
+
PLATFORMS
|
38
|
+
ruby
|
39
|
+
|
40
|
+
DEPENDENCIES
|
41
|
+
actionpack (= 2.3.11)
|
42
|
+
activesupport (= 2.3.11)
|
43
|
+
ajax!
|
44
|
+
jeweler (= 1.4.0)
|
45
|
+
rspec (~> 1.3.1)
|
46
|
+
ruby-debug (= 0.10.3)
|
47
|
+
ruby-debug-base (= 0.10.3)
|
48
|
+
test-unit (= 1.2.3)
|
data/Rakefile
CHANGED
@@ -1,8 +1,5 @@
|
|
1
|
-
require '
|
2
|
-
require
|
3
|
-
require 'rubygems'
|
4
|
-
gem 'rspec', '1.3.0'
|
5
|
-
require 'spec/rake/spectask'
|
1
|
+
require 'bundler/setup'
|
2
|
+
Bundler.require
|
6
3
|
|
7
4
|
begin
|
8
5
|
require 'jeweler'
|
@@ -25,6 +22,7 @@ end
|
|
25
22
|
desc 'Default: run spec tests.'
|
26
23
|
task :default => :spec
|
27
24
|
|
25
|
+
require 'spec/rake/spectask'
|
28
26
|
Spec::Rake::SpecTask.new(:spec) do |spec|
|
29
27
|
spec.libs << 'lib' << 'spec'
|
30
28
|
spec.spec_files = FileList['spec/ajax/**/*_spec.rb', 'spec/rack-ajax/**/*_spec.rb']
|
@@ -36,20 +34,7 @@ Spec::Rake::SpecTask.new(:rcov) do |spec|
|
|
36
34
|
spec.rcov = true
|
37
35
|
end
|
38
36
|
|
39
|
-
#task :spec => :check_dependencies
|
40
|
-
|
41
|
-
desc 'Generate documentation for the ajax plugin.'
|
42
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
43
|
-
rdoc.rdoc_dir = 'rdoc'
|
44
|
-
rdoc.title = 'Ajax'
|
45
|
-
rdoc.options << '--line-numbers' << '--inline-source'
|
46
|
-
rdoc.rdoc_files.include('README.rdoc')
|
47
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
48
|
-
rdoc.rdoc_files.include('app/**/*.rb')
|
49
|
-
end
|
50
|
-
|
51
37
|
namespace :release do
|
52
|
-
|
53
38
|
desc "Release a new patch version"
|
54
39
|
task :patch do
|
55
40
|
Rake::Task['version:bump:patch'].invoke
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.8
|
data/lib/ajax/railtie.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,16 +1,9 @@
|
|
1
|
-
require '
|
1
|
+
require 'bundler/setup'
|
2
|
+
Bundler.require
|
3
|
+
|
2
4
|
require 'spec/autorun'
|
3
|
-
require 'rubygems'
|
4
5
|
require 'ajax/spec/extension'
|
5
6
|
|
6
|
-
# Just drop in 'debugger' to debug test code
|
7
|
-
require 'ruby-debug'
|
8
|
-
|
9
|
-
# Rails dependencies
|
10
|
-
gem 'actionpack', '2.3.11'
|
11
|
-
require 'action_controller'
|
12
|
-
require 'active_support/core_ext'
|
13
|
-
|
14
7
|
$: << File.join(File.dirname(__FILE__), '..', 'lib')
|
15
8
|
require File.join(File.dirname(__FILE__), '..', 'rails', 'init')
|
16
9
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ajax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 8
|
10
|
+
version: 1.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Karl Varga
|
@@ -15,12 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-03-
|
18
|
+
date: 2011-03-22 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
prerelease: false
|
22
|
+
type: :development
|
24
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
24
|
none: false
|
26
25
|
requirements:
|
@@ -30,8 +29,9 @@ dependencies:
|
|
30
29
|
segments:
|
31
30
|
- 0
|
32
31
|
version: "0"
|
33
|
-
|
32
|
+
name: rspec
|
34
33
|
version_requirements: *id001
|
34
|
+
prerelease: false
|
35
35
|
description: Augment a traditional Rails application with a completely AJAX frontend, while transparently handling issues important to both the enterprise and end users, such as testing, SEO and browser history.
|
36
36
|
email: kjvarga@gmail.com
|
37
37
|
executables: []
|
@@ -41,6 +41,8 @@ extensions: []
|
|
41
41
|
extra_rdoc_files:
|
42
42
|
- README.rdoc
|
43
43
|
files:
|
44
|
+
- Gemfile
|
45
|
+
- Gemfile.lock
|
44
46
|
- MIT-LICENSE
|
45
47
|
- README.rdoc
|
46
48
|
- Rakefile
|