merb-photos 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README +1 -9
  2. data/Rakefile +17 -19
  3. metadata +6 -6
data/README CHANGED
@@ -1,15 +1,7 @@
1
- Prerequisite:
2
-
3
- http://github.com/uipoet/merb-ui/tree/master
4
-
5
- ------------------------------------------------------------------------------
6
-
7
1
  Installation:
8
2
 
9
3
  1.) Install merb-photos gem.
10
- git clone git://github.com/uipoet/merb-photos.git
11
- cd merb-photos
12
- sudo rake install
4
+ sudo gem install merb-photos
13
5
 
14
6
  2.) Navigate to your merb application.
15
7
  cd ~/your_merb_app/
data/Rakefile CHANGED
@@ -1,23 +1,22 @@
1
1
  require 'rubygems'
2
2
  require 'rake/gempackagetask'
3
-
4
3
  require 'merb-core'
5
4
  require 'merb-core/tasks/merb'
6
5
 
7
- GEM_NAME = "merb-photos"
8
- AUTHOR = "uipoet"
9
- EMAIL = "dont.tase@me.com"
10
- HOMEPAGE = "http://uipoet.com/"
11
- SUMMARY = "Flickr photo gallery for Merb."
12
- GEM_VERSION = "0.1"
6
+ GEM_NAME = 'merb-photos'
7
+ AUTHOR = 'uipoet'
8
+ EMAIL = 'dont.tase@me.com'
9
+ HOMEPAGE = 'http://uipoet.com/projects'
10
+ SUMMARY = 'Flickr Photo Gallery for Merb'
11
+ GEM_VERSION = '0.1.1'
13
12
 
14
13
  spec = Gem::Specification.new do |s|
15
- s.rubyforge_project = "mui"
14
+ s.rubyforge_project = AUTHOR
16
15
  s.name = GEM_NAME
17
16
  s.version = GEM_VERSION
18
17
  s.platform = Gem::Platform::RUBY
19
18
  s.has_rdoc = true
20
- s.extra_rdoc_files = ["README", "LICENSE"]
19
+ s.extra_rdoc_files = ['README', 'LICENSE']
21
20
  s.summary = SUMMARY
22
21
  s.description = s.summary
23
22
  s.author = AUTHOR
@@ -26,39 +25,38 @@ spec = Gem::Specification.new do |s|
26
25
  s.add_dependency('merb-ui', '>= 0.1')
27
26
  s.add_dependency('flickraw', '>= 0.5')
28
27
  s.require_path = 'lib'
29
- s.files = %w(LICENSE README Rakefile) + Dir.glob("{lib,app,public}/**/*")
28
+ s.files = %w(LICENSE README Rakefile) + Dir.glob("{lib,app}/**/*")
30
29
  end
31
30
 
32
31
  Rake::GemPackageTask.new(spec) do |pkg|
33
32
  pkg.gem_spec = spec
34
33
  end
35
34
 
36
- desc "Install the gem"
35
+ desc 'Install the gem'
37
36
  task :install do
38
37
  Merb::RakeHelper.install(GEM_NAME, :version => GEM_VERSION)
39
38
  end
40
39
 
41
- desc "Uninstall the gem"
40
+ desc 'Uninstall the gem'
42
41
  task :uninstall do
43
42
  Merb::RakeHelper.uninstall(GEM_NAME, :version => GEM_VERSION)
44
43
  end
45
44
 
46
- desc "Release the gem to rubyforge"
45
+ desc 'Release the gem to rubyforge'
47
46
  task :release do
48
47
  require 'rubyforge'
49
- # require 'rake/contrib/rubyforgepublisher'
50
- sh %{sudo rake package}
48
+ sh 'sudo rake package'
51
49
  begin
52
- sh %{rubyforge login}
53
- sh %{rubyforge add_release #{AUTHOR} #{GEM_NAME} #{GEM_VERSION} pkg/#{GEM_NAME}-#{GEM_VERSION}.gem}
50
+ sh 'rubyforge login'
51
+ sh "rubyforge add_release #{AUTHOR} #{GEM_NAME} #{GEM_VERSION} pkg/#{GEM_NAME}-#{GEM_VERSION}.gem"
54
52
  rescue Exception => e
55
53
  puts "Release failed: #{e.message}"
56
54
  end
57
55
  end
58
56
 
59
- desc "Create a gemspec file"
57
+ desc 'Create a gemspec file'
60
58
  task :gemspec do
61
- File.open("#{GEM_NAME}.gemspec", "w") do |file|
59
+ File.open("#{GEM_NAME}.gemspec", 'w') do |file|
62
60
  file.puts spec.to_ruby
63
61
  end
64
62
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb-photos
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.1"
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - uipoet
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-25 00:00:00 -08:00
12
+ date: 2008-11-26 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -32,7 +32,7 @@ dependencies:
32
32
  - !ruby/object:Gem::Version
33
33
  version: "0.5"
34
34
  version:
35
- description: Flickr photo gallery for Merb.
35
+ description: Flickr Photo Gallery for Merb
36
36
  email: dont.tase@me.com
37
37
  executables: []
38
38
 
@@ -61,7 +61,7 @@ files:
61
61
  - app/views/photos/index.html.erb
62
62
  - app/views/photos/photo.html.erb
63
63
  has_rdoc: true
64
- homepage: http://uipoet.com/
64
+ homepage: http://uipoet.com/projects
65
65
  post_install_message:
66
66
  rdoc_options: []
67
67
 
@@ -81,10 +81,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  version:
82
82
  requirements: []
83
83
 
84
- rubyforge_project: mui
84
+ rubyforge_project: uipoet
85
85
  rubygems_version: 1.3.1
86
86
  signing_key:
87
87
  specification_version: 2
88
- summary: Flickr photo gallery for Merb.
88
+ summary: Flickr Photo Gallery for Merb
89
89
  test_files: []
90
90