activeresource 3.1.0.rc1 → 3.1.0.rc2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activeresource might be problematic. Click here for more details.

@@ -20,8 +20,8 @@ module ActiveResource # :nodoc:
20
20
  # end
21
21
  #
22
22
  # The schema stores the name and type of each attribute. That is then
23
- # read out by the schema method to populate the actual
24
- # Resource's schema
23
+ # read out by the schema method to populate the schema of the actual
24
+ # resource.
25
25
  def initialize
26
26
  @attrs = {}
27
27
  end
@@ -40,6 +40,12 @@ module ActiveResource # :nodoc:
40
40
  # The following are the attribute types supported by Active Resource
41
41
  # migrations.
42
42
  KNOWN_ATTRIBUTE_TYPES.each do |attr_type|
43
+ # def string(*args)
44
+ # options = args.extract_options!
45
+ # attr_names = args
46
+ #
47
+ # attr_names.each { |name| attribute(name, 'string', options) }
48
+ # end
43
49
  class_eval <<-EOV, __FILE__, __LINE__ + 1
44
50
  def #{attr_type.to_s}(*args)
45
51
  options = args.extract_options!
@@ -3,7 +3,7 @@ module ActiveResource
3
3
  MAJOR = 3
4
4
  MINOR = 1
5
5
  TINY = 0
6
- PRE = "rc1"
6
+ PRE = "rc2"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,8 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeresource
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15424097
4
5
  prerelease: 6
5
- version: 3.1.0.rc1
6
+ segments:
7
+ - 3
8
+ - 1
9
+ - 0
10
+ - rc
11
+ - 2
12
+ version: 3.1.0.rc2
6
13
  platform: ruby
7
14
  authors:
8
15
  - David Heinemeier Hansson
@@ -10,8 +17,7 @@ autorequire:
10
17
  bindir: bin
11
18
  cert_chain: []
12
19
 
13
- date: 2011-05-21 00:00:00 -05:00
14
- default_executable:
20
+ date: 2011-06-07 00:00:00 Z
15
21
  dependencies:
16
22
  - !ruby/object:Gem::Dependency
17
23
  name: activesupport
@@ -21,7 +27,14 @@ dependencies:
21
27
  requirements:
22
28
  - - "="
23
29
  - !ruby/object:Gem::Version
24
- version: 3.1.0.rc1
30
+ hash: 15424097
31
+ segments:
32
+ - 3
33
+ - 1
34
+ - 0
35
+ - rc
36
+ - 2
37
+ version: 3.1.0.rc2
25
38
  type: :runtime
26
39
  version_requirements: *id001
27
40
  - !ruby/object:Gem::Dependency
@@ -32,7 +45,14 @@ dependencies:
32
45
  requirements:
33
46
  - - "="
34
47
  - !ruby/object:Gem::Version
35
- version: 3.1.0.rc1
48
+ hash: 15424097
49
+ segments:
50
+ - 3
51
+ - 1
52
+ - 0
53
+ - rc
54
+ - 2
55
+ version: 3.1.0.rc2
36
56
  type: :runtime
37
57
  version_requirements: *id002
38
58
  description: REST on Rails. Wrap your RESTful web app with Ruby classes and work with them like Active Record models.
@@ -62,7 +82,6 @@ files:
62
82
  - lib/active_resource/validations.rb
63
83
  - lib/active_resource/version.rb
64
84
  - lib/active_resource.rb
65
- has_rdoc: true
66
85
  homepage: http://www.rubyonrails.org
67
86
  licenses: []
68
87
 
@@ -77,17 +96,27 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
96
  requirements:
78
97
  - - ">="
79
98
  - !ruby/object:Gem::Version
99
+ hash: 57
100
+ segments:
101
+ - 1
102
+ - 8
103
+ - 7
80
104
  version: 1.8.7
81
105
  required_rubygems_version: !ruby/object:Gem::Requirement
82
106
  none: false
83
107
  requirements:
84
108
  - - ">"
85
109
  - !ruby/object:Gem::Version
110
+ hash: 25
111
+ segments:
112
+ - 1
113
+ - 3
114
+ - 1
86
115
  version: 1.3.1
87
116
  requirements: []
88
117
 
89
118
  rubyforge_project:
90
- rubygems_version: 1.6.2
119
+ rubygems_version: 1.8.2
91
120
  signing_key:
92
121
  specification_version: 3
93
122
  summary: REST modeling framework (part of Rails).