portfolio 0.9.1.7 → 0.9.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,9 +7,10 @@ unless RAILS_ROOT.nil? or RAILS_ROOT.length == 0
7
7
  dirs.each do |dir|
8
8
  FileUtils::makedirs File.join(RAILS_ROOT, dir)
9
9
  end
10
-
10
+
11
11
  copies = [
12
12
  {:from => ["db", "migrate"],:to => ["db", "migrate"],:filename => "20090917224823_create_portfolio_structure.rb"},
13
+ {:from => ["db", "migrate"],:to => ["db", "migrate"],:filename => "20091121033434_add_position_to_images_portfolio_entries.rb"},
13
14
  {:from => ["public", "stylesheets"],:to => ["public", "stylesheets"],:filename => "portfolio.css"},
14
15
  {:from => ["public", "javascripts"],:to => ["public", "javascripts"],:filename => "portfolio.js"}
15
16
  ]
@@ -22,7 +23,7 @@ unless RAILS_ROOT.nil? or RAILS_ROOT.length == 0
22
23
  puts "'#{File.join copy[:to], copy[:filename]}' already existed in your application so your existing file was not overwritten."
23
24
  end
24
25
  end
25
-
26
+
26
27
  puts "---------"
27
28
  puts "Copied all portfolio files."
28
29
  puts "Now, run rake db:migrate and then rake images:regenerate"
@@ -0,0 +1,9 @@
1
+ class AddPositionToImagesPortfolioEntries < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :images_portfolio_entries, :position, :integer
4
+ end
5
+
6
+ def self.down
7
+ remove_column :images_portfolio_entries, :position
8
+ end
9
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portfolio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1.7
4
+ version: 0.9.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Resolve Digital
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-10-09 00:00:00 +13:00
13
+ date: 2009-11-21 00:00:00 +13:00
14
14
  default_executable: portfolio-install
15
15
  dependencies: []
16
16
 
@@ -42,6 +42,7 @@ files:
42
42
  - bin/portfolio-install
43
43
  - config/routes.rb
44
44
  - db/migrate/20090917224823_create_portfolio_structure.rb
45
+ - db/migrate/20091121033434_add_position_to_images_portfolio_entries.rb
45
46
  - lib/portfolio.rb
46
47
  - lib/tasks/portfolio.rake
47
48
  - public/javascripts/portfolio.js