acts_as_extjs 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -11,6 +11,7 @@ begin
11
11
  gem.homepage = "http://github.com/traxanos/acts_as_extjs"
12
12
  gem.authors = ["Marco Scholl"]
13
13
  gem.add_development_dependency "rspec", ">= 1.2.9"
14
+ gem.add_development_dependency "activerecord", ">= 2.3.8"
14
15
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
15
16
  end
16
17
  Jeweler::GemcutterTasks.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{acts_as_extjs}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marco Scholl"]
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
  "Rakefile",
24
24
  "VERSION",
25
25
  "acts_as_extjs.gemspec",
26
- "init.rb",
27
26
  "lib/acts_as_extjs.rb",
28
27
  "spec/acts_as_extjs_spec.rb",
29
28
  "spec/spec.opts",
@@ -45,11 +44,14 @@ Gem::Specification.new do |s|
45
44
 
46
45
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
46
  s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
47
+ s.add_development_dependency(%q<activerecord>, [">= 2.3.8"])
48
48
  else
49
49
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
50
+ s.add_dependency(%q<activerecord>, [">= 2.3.8"])
50
51
  end
51
52
  else
52
53
  s.add_dependency(%q<rspec>, [">= 1.2.9"])
54
+ s.add_dependency(%q<activerecord>, [">= 2.3.8"])
53
55
  end
54
56
  end
55
57
 
data/lib/acts_as_extjs.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require 'rubygems'
2
+ require 'active_record'
3
+
1
4
  module Extjs #:nodoc:
2
5
  module ActsAsExtjs #:nodoc:
3
6
 
@@ -122,4 +125,6 @@ module Extjs #:nodoc:
122
125
  end
123
126
  end
124
127
  end
125
- end
128
+ end
129
+
130
+ ActiveRecord::Base.send(:include, Extjs::ActsAsExtjs)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_extjs
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Marco Scholl
@@ -34,6 +34,22 @@ dependencies:
34
34
  version: 1.2.9
35
35
  type: :development
36
36
  version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: activerecord
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 19
46
+ segments:
47
+ - 2
48
+ - 3
49
+ - 8
50
+ version: 2.3.8
51
+ type: :development
52
+ version_requirements: *id002
37
53
  description: ActiveRecord Helper for Extjs
38
54
  email: develop@marco-scholl.de
39
55
  executables: []
@@ -50,7 +66,6 @@ files:
50
66
  - Rakefile
51
67
  - VERSION
52
68
  - acts_as_extjs.gemspec
53
- - init.rb
54
69
  - lib/acts_as_extjs.rb
55
70
  - spec/acts_as_extjs_spec.rb
56
71
  - spec/spec.opts
data/init.rb DELETED
@@ -1,2 +0,0 @@
1
- require 'acts_as_extjs'
2
- ActiveRecord::Base.send(:include, Extjs::ActsAsExtjs)