forked from refinery/refinerycms-portfolio
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
104 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.9.6 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/usr/bin/env ruby | ||
require File.expand_path('../portfolio.rb', __FILE__) | ||
version = Refinery::Portfolio::Version::STRING | ||
raise "Could not get version so gemspec can not be built" if version.nil? | ||
files = %w( readme.md license.md ) | ||
%w(app bin config db lib public rails test vendor).each do |dir| | ||
files += Dir.glob("#{dir}/**/*") if File.directory?(dir) | ||
end | ||
|
||
gemspec = <<EOF | ||
Gem::Specification.new do |s| | ||
s.name = %q{refinerycms-portfolio} | ||
s.version = %q{#{version}} | ||
s.description = %q{A really straightforward open source Ruby on Rails portfolio plugin designed for integration with RefineryCMS} | ||
s.date = %q{#{Time.now.strftime('%Y-%m-%d')}} | ||
s.summary = %q{Ruby on Rails portfolio plugin for RefineryCMS.} | ||
s.email = %q{info@refinerycms.com} | ||
s.homepage = %q{http://refinerycms.com} | ||
s.authors = %w(Resolve\ Digital Philip\ Arndt) | ||
s.require_paths = %w(lib) | ||
s.executables = %w(refinerycms-portfolio-install) | ||
s.files = [ | ||
'#{files.join("',\n '")}' | ||
] | ||
#{"s.test_files = [ | ||
'#{Dir.glob("test/**/*.rb").join("',\n '")}' | ||
]" if File.directory?("test")} | ||
end | ||
EOF | ||
|
||
if (save = ARGV.delete('-s')) | ||
if File.exist?(file = File.expand_path("../../refinerycms-portfolio.gemspec", __FILE__)) | ||
File.delete(file) | ||
end | ||
File.open(file, 'w') { |f| f.puts gemspec } | ||
else | ||
puts gemspec | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,13 @@ | ||
# empty as yet | ||
module Refinery | ||
module Portfolio | ||
class Version | ||
MAJOR = 0 | ||
MINOR = 9 | ||
TINY = 6 | ||
BUILD = nil | ||
|
||
STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.') | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,55 @@ | ||
Gem::Specification.new do |s| | ||
|
||
s.name = %q{refinerycms-portfolio} | ||
s.version = "0.9.5.3" | ||
|
||
s.authors = ["Resolve Digital", "Philip Arndt"] | ||
s.date = %q{2010-04-13} | ||
|
||
s.description = %q{A really straightforward open source Ruby on Rails portfolio plugin designed for integration with RefineryCMS.} | ||
s.summary = %q{Ruby on Rails portfolio plugin for RefineryCMS.} | ||
|
||
s.executables = ["refinerycms-portfolio-install"] | ||
s.default_executable = %q{refinerycms-portfolio-install} | ||
|
||
s.email = %q{info@refinerycms.com} | ||
|
||
s.homepage = %q{http://refinerycms.com} | ||
s.rubygems_version = %q{1.3.4} | ||
|
||
s.files = [ | ||
"contributors.md", | ||
"license.md", | ||
"readme.md", | ||
"app", | ||
"app/controllers", | ||
"app/controllers/admin", | ||
"app/controllers/admin/portfolio_entries_controller.rb", | ||
"app/controllers/portfolio_controller.rb", | ||
"app/helpers", | ||
"app/helpers/portfolio_helper.rb", | ||
"app/models", | ||
"app/models/portfolio_entry.rb", | ||
"app/views", | ||
"app/views/admin", | ||
"app/views/admin/portfolio_entries", | ||
"app/views/admin/portfolio_entries/_form.html.erb", | ||
"app/views/admin/portfolio_entries/_list.html.erb", | ||
"app/views/admin/portfolio_entries/_sortable_list.html.erb", | ||
"app/views/admin/portfolio_entries/edit.html.erb", | ||
"app/views/admin/portfolio_entries/index.html.erb", | ||
"app/views/admin/portfolio_entries/new.html.erb", | ||
"app/views/portfolio", | ||
"app/views/portfolio/_main_image.html.erb", | ||
"app/views/portfolio/empty.html.erb", | ||
"app/views/portfolio/show.html.erb", | ||
"bin", | ||
"bin/refinerycms-portfolio-install", | ||
"config", | ||
"config/locale", | ||
"config/locale/en.yml", | ||
"config/routes.rb", | ||
"db", | ||
"db/migrate", | ||
"db/migrate/20090917224823_create_portfolio_structure.rb", | ||
"db/migrate/20091121033434_add_position_to_images_portfolio_entries.rb", | ||
"lib", | ||
"lib/portfolio.rb", | ||
"lib/tasks", | ||
"lib/tasks/portfolio.rake", | ||
"public", | ||
"public/javascripts", | ||
"public/javascripts/portfolio.js", | ||
"public/stylesheets", | ||
"public/stylesheets/portfolio.css", | ||
"rails", | ||
"rails/init.rb" | ||
s.name = %q{refinerycms-portfolio} | ||
s.version = %q{0.9.6} | ||
s.description = %q{A really straightforward open source Ruby on Rails portfolio plugin designed for integration with RefineryCMS} | ||
s.date = %q{2010-06-08} | ||
s.summary = %q{Ruby on Rails portfolio plugin for RefineryCMS.} | ||
s.email = %q{info@refinerycms.com} | ||
s.homepage = %q{http://refinerycms.com} | ||
s.authors = %w(Resolve Digital Philip Arndt) | ||
s.require_paths = %w(lib) | ||
s.executables = %w(refinerycms-portfolio-install) | ||
|
||
s.files = [ | ||
'readme.md', | ||
'license.md', | ||
'app/controllers', | ||
'app/controllers/admin', | ||
'app/controllers/admin/portfolio_entries_controller.rb', | ||
'app/controllers/portfolio_controller.rb', | ||
'app/helpers', | ||
'app/helpers/portfolio_helper.rb', | ||
'app/models', | ||
'app/models/portfolio_entry.rb', | ||
'app/views', | ||
'app/views/admin', | ||
'app/views/admin/portfolio_entries', | ||
'app/views/admin/portfolio_entries/_form.html.erb', | ||
'app/views/admin/portfolio_entries/_list.html.erb', | ||
'app/views/admin/portfolio_entries/_sortable_list.html.erb', | ||
'app/views/admin/portfolio_entries/edit.html.erb', | ||
'app/views/admin/portfolio_entries/index.html.erb', | ||
'app/views/admin/portfolio_entries/new.html.erb', | ||
'app/views/portfolio', | ||
'app/views/portfolio/_main_image.html.erb', | ||
'app/views/portfolio/empty.html.erb', | ||
'app/views/portfolio/show.html.erb', | ||
'bin/refinerycms-portfolio-install', | ||
'config/locale', | ||
'config/locale/en.yml', | ||
'config/routes.rb', | ||
'db/migrate', | ||
'db/migrate/20090917224823_create_portfolio_structure.rb', | ||
'db/migrate/20091121033434_add_position_to_images_portfolio_entries.rb', | ||
'lib/gemspec.rb', | ||
'lib/portfolio.rb', | ||
'lib/tasks', | ||
'lib/tasks/portfolio.rake', | ||
'public/javascripts', | ||
'public/javascripts/portfolio.js', | ||
'public/stylesheets', | ||
'public/stylesheets/portfolio.css', | ||
'rails/init.rb' | ||
] | ||
|
||
end | ||
end |