refinerycms-resources 0.9.9.15 → 0.9.9.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  Given /^I have no files$/ do
2
- Resource.delete_all
2
+ Resource.destroy_all
3
3
  end
4
4
 
5
5
  When /^I attach the file at "([^\"]*)"$/ do |file_path|
@@ -2,10 +2,10 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{refinerycms-resources}
5
- s.version = %q{0.9.9.15}
5
+ s.version = %q{0.9.9.16}
6
6
  s.summary = %q{Resources engine for Refinery CMS}
7
7
  s.description = %q{Handles all file upload and processing functionality in Refinery CMS.}
8
- s.date = %q{2011-04-01}
8
+ s.date = %q{2011-04-07}
9
9
  s.email = %q{info@refinerycms.com}
10
10
  s.homepage = %q{http://refinerycms.com}
11
11
  s.rubyforge_project = %q{refinerycms}
@@ -87,7 +87,7 @@ Gem::Specification.new do |s|
87
87
  'spec/uploads/refinery_is_awesome.txt'
88
88
  ]
89
89
 
90
- s.add_dependency 'refinerycms-core', '= 0.9.9.15'
90
+ s.add_dependency 'refinerycms-core', '= 0.9.9.16'
91
91
  s.add_dependency 'dragonfly', '~> 0.8.2'
92
92
  s.add_dependency 'rack-cache', '>= 0.5.3'
93
93
  end
@@ -20,6 +20,11 @@ describe Resource do
20
20
  reset_resource
21
21
  end
22
22
 
23
+ # clean up after ourselves.
24
+ after(:each) do
25
+ Resource.destroy_all
26
+ end
27
+
23
28
  context "with valid attributes" do
24
29
  it "should create successfully" do
25
30
  @resource.errors.empty?
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: refinerycms-resources
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.9.15
5
+ version: 0.9.9.16
6
6
  platform: ruby
7
7
  authors:
8
8
  - Resolve Digital
@@ -13,7 +13,7 @@ autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
15
 
16
- date: 2011-04-01 00:00:00 +13:00
16
+ date: 2011-04-07 00:00:00 +12:00
17
17
  default_executable:
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
@@ -24,7 +24,7 @@ dependencies:
24
24
  requirements:
25
25
  - - "="
26
26
  - !ruby/object:Gem::Version
27
- version: 0.9.9.15
27
+ version: 0.9.9.16
28
28
  type: :runtime
29
29
  version_requirements: *id001
30
30
  - !ruby/object:Gem::Dependency