annotate 2.6.7 → 2.6.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ == 2.6.8
2
+ * Nothing annotated unless options[:model_dir] is specified, #234
3
+
1
4
  == 2.6.7
2
5
  * Nothing annotated unless options[:model_dir] is specified, #234
3
6
 
@@ -7,6 +7,7 @@ Gem::Specification.new do |s|
7
7
  s.name = "annotate"
8
8
  s.version = Annotate.version
9
9
 
10
+ s.required_ruby_version = '>= 1.9.3'
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
12
  s.authors = ["Alex Chaffee", "Cuong Tran", "Marcos Piccinini", "Turadg Aleahmad", "Jon Frisby"]
12
13
  s.description = "Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema."
@@ -25,14 +26,14 @@ Gem::Specification.new do |s|
25
26
  s.specification_version = 4
26
27
 
27
28
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
28
- s.add_runtime_dependency(%q<rake>, ["~> 10.4.2", ">= 10.4.2"])
29
- s.add_runtime_dependency(%q<activerecord>, [">= 2.3.0"])
29
+ s.add_runtime_dependency(%q<rake>, ["~> 10.4"])
30
+ s.add_runtime_dependency(%q<activerecord>, [">= 3.2", "<= 4.3"])
30
31
  else
31
- s.add_dependency(%q<rake>, [">= 0.8.7"])
32
- s.add_dependency(%q<activerecord>, [">= 2.3.0"])
32
+ s.add_dependency(%q<rake>, ["~> 10.4"])
33
+ s.add_dependency(%q<activerecord>, [">= 3.2", "<= 4.3"])
33
34
  end
34
35
  else
35
36
  s.add_dependency(%q<rake>, [">= 0.8.7"])
36
- s.add_dependency(%q<activerecord>, [">= 2.3.0"])
37
+ s.add_dependency(%q<activerecord>, [">= 3.2", "<= 4.3"])
37
38
  end
38
39
  end
@@ -71,7 +71,7 @@ module Annotate
71
71
  options[key] = (!ENV[key.to_s].blank?) ? ENV[key.to_s].split(',') : []
72
72
  end
73
73
 
74
- if(!options[:model_dir])
74
+ if(options[:model_dir].empty?)
75
75
  options[:model_dir] = ['app/models']
76
76
  end
77
77
 
@@ -1,5 +1,5 @@
1
1
  module Annotate
2
2
  def self.version
3
- '2.6.7'
3
+ '2.6.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: annotate
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.7
4
+ version: 2.6.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-03-10 00:00:00.000000000 Z
16
+ date: 2015-03-12 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rake
@@ -22,10 +22,7 @@ dependencies:
22
22
  requirements:
23
23
  - - ~>
24
24
  - !ruby/object:Gem::Version
25
- version: 10.4.2
26
- - - ! '>='
27
- - !ruby/object:Gem::Version
28
- version: 10.4.2
25
+ version: '10.4'
29
26
  type: :runtime
30
27
  prerelease: false
31
28
  version_requirements: !ruby/object:Gem::Requirement
@@ -33,10 +30,7 @@ dependencies:
33
30
  requirements:
34
31
  - - ~>
35
32
  - !ruby/object:Gem::Version
36
- version: 10.4.2
37
- - - ! '>='
38
- - !ruby/object:Gem::Version
39
- version: 10.4.2
33
+ version: '10.4'
40
34
  - !ruby/object:Gem::Dependency
41
35
  name: activerecord
42
36
  requirement: !ruby/object:Gem::Requirement
@@ -44,7 +38,10 @@ dependencies:
44
38
  requirements:
45
39
  - - ! '>='
46
40
  - !ruby/object:Gem::Version
47
- version: 2.3.0
41
+ version: '3.2'
42
+ - - <=
43
+ - !ruby/object:Gem::Version
44
+ version: '4.3'
48
45
  type: :runtime
49
46
  prerelease: false
50
47
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,7 +49,10 @@ dependencies:
52
49
  requirements:
53
50
  - - ! '>='
54
51
  - !ruby/object:Gem::Version
55
- version: 2.3.0
52
+ version: '3.2'
53
+ - - <=
54
+ - !ruby/object:Gem::Version
55
+ version: '4.3'
56
56
  description: Annotates Rails/ActiveRecord Models, routes, fixtures, and others based
57
57
  on the database schema.
58
58
  email:
@@ -100,10 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
104
- segments:
105
- - 0
106
- hash: 4492108420972003011
103
+ version: 1.9.3
107
104
  required_rubygems_version: !ruby/object:Gem::Requirement
108
105
  none: false
109
106
  requirements: