merb-ui 0.1 → 0.1.1

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.
Files changed (3) hide show
  1. data/README +2 -4
  2. data/Rakefile +16 -20
  3. metadata +6 -6
data/README CHANGED
@@ -1,9 +1,7 @@
1
1
  Installation:
2
2
 
3
3
  1.) Install merb-ui gem.
4
- git clone git://github.com/uipoet/merb-ui.git
5
- cd merb-ui
6
- sudo rake install
4
+ sudo gem install merb-ui
7
5
 
8
6
  2.) Navigate to your merb application.
9
7
  cd ~/your_merb_app/
@@ -52,7 +50,7 @@ a
52
50
  <body>
53
51
  <%= mui_body do %>
54
52
  <%= mui_bar(:tab_width => '6em') do %>
55
- <%= mui_tab(:title => merb_words_title, :controller => 'merb_words/pages', :url => url(:merb_words_index)) %><%= mui_tab(:title => merb_photos_title, :controller => 'merb_photos/photos', :url => url(:merb_photos_index)) %><%= mui_tab(:title => 'Projects', :controller => 'projects', :url => url(:projects)) %>
53
+ <%= mui_tab(:type => 'merb_words') %><%= mui_tab(:type => 'merb_photos') %><%= mui_tab(:title => 'Projects', :controller => 'projects', :url => url(:projects)) %>
56
54
  <% end =%>
57
55
  <% end =%>
58
56
  </body>
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-ui"
8
- AUTHOR = "uipoet"
9
- EMAIL = "dont.tase@me.com"
10
- HOMEPAGE = "http://uipoet.com/"
11
- SUMMARY = "User interface components for Merb."
12
- GEM_VERSION = "0.1"
6
+ GEM_NAME = 'merb-ui'
7
+ AUTHOR = 'uipoet'
8
+ EMAIL = 'dont.tase@me.com'
9
+ HOMEPAGE = 'http://uipoet.com/projects'
10
+ SUMMARY = 'User Interface Components 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
@@ -33,34 +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 %{rake package}
51
- packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{GEM_NAME}-#{GEM_VERSION}.#{ext}" }
48
+ sh 'sudo rake package'
52
49
  begin
53
- sh %{rubyforge login}
54
- sh %{rubyforge add_release #{AUTHOR} #{GEM_NAME} #{GEM_VERSION} #{packages.join(' ')}}
55
- sh %{rubyforge add_file #{AUTHOR} #{GEM_NAME} #{GEM_VERSION} #{packages.join(' ')}}
50
+ sh 'rubyforge login'
51
+ sh "rubyforge add_release #{AUTHOR} #{GEM_NAME} #{GEM_VERSION} pkg/#{GEM_NAME}-#{GEM_VERSION}.gem"
56
52
  rescue Exception => e
57
53
  puts "Release failed: #{e.message}"
58
54
  end
59
55
  end
60
56
 
61
- desc "Create a gemspec file"
57
+ desc 'Create a gemspec file'
62
58
  task :gemspec do
63
- File.open("#{GEM_NAME}.gemspec", "w") do |file|
59
+ File.open("#{GEM_NAME}.gemspec", 'w') do |file|
64
60
  file.puts spec.to_ruby
65
61
  end
66
62
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb-ui
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: 1.0.0
34
34
  version:
35
- description: User interface components for Merb.
35
+ description: User Interface Components for Merb
36
36
  email: dont.tase@me.com
37
37
  executables: []
38
38
 
@@ -73,7 +73,7 @@ files:
73
73
  - public/javascripts/ui.js
74
74
  - public/javascripts/window.js
75
75
  has_rdoc: true
76
- homepage: http://uipoet.com/
76
+ homepage: http://uipoet.com/projects
77
77
  post_install_message:
78
78
  rdoc_options: []
79
79
 
@@ -93,10 +93,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version:
94
94
  requirements: []
95
95
 
96
- rubyforge_project: mui
96
+ rubyforge_project: uipoet
97
97
  rubygems_version: 1.3.1
98
98
  signing_key:
99
99
  specification_version: 2
100
- summary: User interface components for Merb.
100
+ summary: User Interface Components for Merb
101
101
  test_files: []
102
102