resizor 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,12 +8,13 @@ class IntegrationTest < Test::Unit::TestCase
8
8
  end
9
9
 
10
10
  should 'add has_resizor_asset to ActiveRecord::Base' do
11
- assert ActiveRecord::Base.methods.include?('has_resizor_asset')
11
+ assert ActiveRecord::Base.methods.include?(:has_resizor_asset)
12
12
  end
13
13
  end
14
14
 
15
15
  context 'A ActiveRecord model that has_resizor_asset' do
16
16
  setup do
17
+ setup_resizor
17
18
  build_model
18
19
  @item = Item.new(:name => 'my test item')
19
20
  end
data/test/test_helper.rb CHANGED
@@ -28,7 +28,7 @@ end
28
28
 
29
29
  class Railtie
30
30
  def self.insert
31
- ActiveRecord::Base.send(:include, Resizor)
31
+ ActiveRecord::Base.send(:include, Resizor::Glue)
32
32
  end
33
33
  end
34
34
 
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resizor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 6
10
- version: 0.0.6
4
+ prerelease:
5
+ version: 0.0.7
11
6
  platform: ruby
12
7
  authors:
13
8
  - Winston Design
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2011-02-26 00:00:00 +01:00
13
+ date: 2011-04-06 00:00:00 +02:00
19
14
  default_executable:
20
15
  dependencies:
21
16
  - !ruby/object:Gem::Dependency
@@ -26,11 +21,6 @@ dependencies:
26
21
  requirements:
27
22
  - - ">="
28
23
  - !ruby/object:Gem::Version
29
- hash: 23
30
- segments:
31
- - 1
32
- - 0
33
- - 0
34
24
  version: 1.0.0
35
25
  type: :development
36
26
  version_requirements: *id001
@@ -42,11 +32,6 @@ dependencies:
42
32
  requirements:
43
33
  - - ">="
44
34
  - !ruby/object:Gem::Version
45
- hash: 37
46
- segments:
47
- - 2
48
- - 11
49
- - 3
50
35
  version: 2.11.3
51
36
  type: :development
52
37
  version_requirements: *id002
@@ -58,11 +43,6 @@ dependencies:
58
43
  requirements:
59
44
  - - ">="
60
45
  - !ruby/object:Gem::Version
61
- hash: 11
62
- segments:
63
- - 1
64
- - 6
65
- - 2
66
46
  version: 1.6.2
67
47
  type: :development
68
48
  version_requirements: *id003
@@ -74,11 +54,6 @@ dependencies:
74
54
  requirements:
75
55
  - - ">="
76
56
  - !ruby/object:Gem::Version
77
- hash: 3
78
- segments:
79
- - 1
80
- - 4
81
- - 2
82
57
  version: 1.4.2
83
58
  type: :runtime
84
59
  version_requirements: *id004
@@ -90,10 +65,6 @@ dependencies:
90
65
  requirements:
91
66
  - - ">="
92
67
  - !ruby/object:Gem::Version
93
- hash: 11
94
- segments:
95
- - 1
96
- - 2
97
68
  version: "1.2"
98
69
  type: :runtime
99
70
  version_requirements: *id005
@@ -140,25 +111,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
111
  requirements:
141
112
  - - ">="
142
113
  - !ruby/object:Gem::Version
143
- hash: 3
144
- segments:
145
- - 0
146
114
  version: "0"
147
115
  required_rubygems_version: !ruby/object:Gem::Requirement
148
116
  none: false
149
117
  requirements:
150
118
  - - ">="
151
119
  - !ruby/object:Gem::Version
152
- hash: 23
153
- segments:
154
- - 1
155
- - 3
156
- - 6
157
120
  version: 1.3.6
158
121
  requirements: []
159
122
 
160
123
  rubyforge_project:
161
- rubygems_version: 1.3.7
124
+ rubygems_version: 1.6.2
162
125
  signing_key:
163
126
  specification_version: 3
164
127
  summary: Client for Resizor.com API