bootstrap-on 0.0.2 → 0.0.3

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.
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
18
18
  gem.homepage = "http://github.com/sleepingstu/bootstrap-on"
19
19
  gem.license = "MIT"
20
20
  gem.summary = %Q{Padrino admin generators with Twitter Bootstrap integration}
21
- gem.description = %Q{Generates Padrino admin and admin pages with Twitter Bootstrap integrated.}
21
+ gem.description = %Q{Generates Padrino admin and admin page templates with Twitter Bootstrap integrated.}
22
22
  gem.email = "stuart.chinery@headlondon.com"
23
23
  gem.authors = ["Stuart Chinery"]
24
24
  # dependencies defined in Gemfile
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
data/bootstrap-on.gemspec CHANGED
@@ -5,12 +5,12 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bootstrap-on"
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Stuart Chinery"]
12
- s.date = "2012-07-06"
13
- s.description = "Generates Padrino admin and admin pages with Twitter Bootstrap integrated."
12
+ s.date = "2012-07-09"
13
+ s.description = "Generates Padrino admin and admin page templates with Twitter Bootstrap integrated."
14
14
  s.email = "stuart.chinery@headlondon.com"
15
15
  s.extra_rdoc_files = [
16
16
  "LICENSE.txt",
@@ -13,7 +13,7 @@ Admin.controllers :<%= @orm.name_plural %> do
13
13
  post :create do
14
14
  @<%= @orm.name_singular %> = <%= @orm.build("params[:#{@orm.name_singular}]") %>
15
15
  if <%= @orm.save %>
16
- flash[:notice] = '<%= @orm.klass_name %> was successfully created.'
16
+ flash[:notice] = "#{mt(<%= @orm.klass_name %>)} was successfully created."
17
17
  redirect url(:<%= @orm.name_plural %>, :edit, :id => @<%= @orm.name_singular%>.id)
18
18
  else
19
19
  render '<%= @orm.name_plural %>/new'
@@ -28,7 +28,7 @@ Admin.controllers :<%= @orm.name_plural %> do
28
28
  put :update, :with => :id do
29
29
  @<%= @orm.name_singular %> = <%= @orm.find("params[:id]") %>
30
30
  if <%= @orm.update_attributes("params[:#{@orm.name_singular}]") %>
31
- flash[:notice] = '<%= @orm.klass_name %> was successfully updated.'
31
+ flash[:notice] = "#{mt(<%= @orm.klass_name %>)} was successfully updated."
32
32
  redirect url(:<%= @orm.name_plural %>, :edit, :id => @<%= @orm.name_singular %>.id)
33
33
  else
34
34
  render '<%= @orm.name_plural %>/edit'
@@ -38,7 +38,7 @@ Admin.controllers :<%= @orm.name_plural %> do
38
38
  delete :destroy, :with => :id do
39
39
  <%= @orm.name_singular %> = <%= @orm.find("params[:id]") %>
40
40
  if <%= @orm.destroy %>
41
- flash[:notice] = '<%= @orm.klass_name %> was successfully destroyed.'
41
+ flash[:notice] = "#{mt(<%= @orm.klass_name %>)} was successfully destroyed."
42
42
  else
43
43
  flash[:error] = 'Unable to destroy <%= @orm.klass_name %>!'
44
44
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-on
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stuart Chinery
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-06 00:00:00 Z
18
+ date: 2012-07-09 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  type: :runtime
@@ -109,7 +109,7 @@ dependencies:
109
109
  version_requirements: *id006
110
110
  name: yard
111
111
  prerelease: false
112
- description: Generates Padrino admin and admin pages with Twitter Bootstrap integrated.
112
+ description: Generates Padrino admin and admin page templates with Twitter Bootstrap integrated.
113
113
  email: stuart.chinery@headlondon.com
114
114
  executables: []
115
115