acts_as_assets 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -23,6 +23,8 @@ end
23
23
  APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
24
24
  load 'rails/tasks/engine.rake'
25
25
 
26
-
26
+ require 'ci/reporter/rake/rspec'
27
+ require 'rspec/core/rake_task'
28
+ RSpec::Core::RakeTask.new(:spec)
27
29
 
28
30
  Bundler::GemHelper.install_tasks
@@ -1,3 +1,3 @@
1
1
  module ActsAsAssets
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -1,6 +1,23 @@
1
- require 'rspec/core/rake_task'
2
- require 'ci/reporter/rake/rspec'
1
+ namespace :acts_as_assets do
2
+ namespace :ci do
3
+ ENV['COVERAGE'] = 'on'
4
+ ENV['JCI'] = 'on'
5
+ ENV['RAILS_ENV'] ||= 'test'
3
6
 
4
- RSpec::Core::RakeTask.new(:ci => ["app:db:migrate","ci:setup:rspec"]) do |t|
5
- t.pattern = '**/*_spec.rb'
7
+ task :migrate do
8
+ Rake::Task["db:migrate"].invoke
9
+ end
10
+
11
+ task :rspec do
12
+ Rake::Task["ci:setup:rspec"].invoke
13
+ Rake::Task["spec"].invoke
14
+ end
15
+
16
+ task :cucumber do
17
+ ENV["CUCUMBER_OPTS"] = "--format junit --out features/reports --format html --out features/reports/cucumber.ht"
18
+ Rake::Task["app:cucumber"].invoke
19
+ end
20
+ end
6
21
  end
22
+
23
+ task "acts_as_assets:ci" => ["app:acts_as_assets:ci:migrate", "app:acts_as_assets:ci:rspec"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-17 00:00:00.000000000Z
12
+ date: 2012-02-24 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &2166567500 !ruby/object:Gem::Requirement
16
+ requirement: &2164406820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.2.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2166567500
24
+ version_requirements: *2164406820
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: paperclip
27
- requirement: &2166567060 !ruby/object:Gem::Requirement
27
+ requirement: &2164406400 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,21 +32,21 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2166567060
35
+ version_requirements: *2164406400
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: ci_reporter
38
- requirement: &2166566540 !ruby/object:Gem::Requirement
38
+ requirement: &2164405940 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
42
42
  - !ruby/object:Gem::Version
43
43
  version: '0'
44
- type: :runtime
44
+ type: :development
45
45
  prerelease: false
46
- version_requirements: *2166566540
46
+ version_requirements: *2164405940
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sqlite3
49
- requirement: &2166566080 !ruby/object:Gem::Requirement
49
+ requirement: &2164405520 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2166566080
57
+ version_requirements: *2164405520
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rspec-rails
60
- requirement: &2166565620 !ruby/object:Gem::Requirement
60
+ requirement: &2164405100 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2166565620
68
+ version_requirements: *2164405100
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: paperclip
71
- requirement: &2166565140 !ruby/object:Gem::Requirement
71
+ requirement: &2164404680 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2166565140
79
+ version_requirements: *2164404680
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: shoulda-matchers
82
- requirement: &2166564680 !ruby/object:Gem::Requirement
82
+ requirement: &2164404260 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,8 +87,8 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2166564680
91
- description: ''
90
+ version_requirements: *2164404260
91
+ description: Manage multiple assets related to a specific model
92
92
  email:
93
93
  - acampolonghi@gmail.com
94
94
  executables: []
@@ -167,7 +167,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
167
167
  version: '0'
168
168
  segments:
169
169
  - 0
170
- hash: 1476931144411527868
170
+ hash: 2731374473120126523
171
171
  required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  none: false
173
173
  requirements:
@@ -176,13 +176,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  segments:
178
178
  - 0
179
- hash: 1476931144411527868
179
+ hash: 2731374473120126523
180
180
  requirements: []
181
181
  rubyforge_project:
182
182
  rubygems_version: 1.8.10
183
183
  signing_key:
184
184
  specification_version: 3
185
- summary: Manage multiple assets related to a specific model
185
+ summary: Assets management
186
186
  test_files:
187
187
  - spec/acts_as_assets_spec.rb
188
188
  - spec/controllers/assets_controller_spec.rb