squeezer 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -15,6 +15,10 @@ class PostsController < InheritedResources::Base
15
15
  flash[:error]="Completa todos los datos"
16
16
  end
17
17
  end
18
+
19
+ def update
20
+ update!{@post.comment.commentable}
21
+ end
18
22
 
19
23
  def destroy
20
24
  @post.destroy
data/app/models/user.rb CHANGED
@@ -32,6 +32,4 @@ class User < ActiveRecord::Base
32
32
  end
33
33
  end
34
34
 
35
- has_many :eventos
36
-
37
35
  end
@@ -7,6 +7,7 @@
7
7
  %ul
8
8
  - @post.errors.full_messages.each do |msg|
9
9
  %li=msg
10
+
10
11
  = p.hidden_field :comment_id,:value=>table.comment.id
11
12
  -if !current_user
12
13
  Nombre
@@ -0,0 +1,6 @@
1
+ - if can? :edit, @post
2
+ - form_for @post do |p|
3
+ = p.text_area(:body,:class=>'wysiwyg')
4
+ = wysiwug
5
+ %br
6
+ = p.submit
@@ -64,7 +64,7 @@ class SqueezerGenerator < Rails::Generators::Base
64
64
 
65
65
  copy_file("config/devise.rb","config/initializers/devise.rb")
66
66
 
67
- FileUtils.cp_r "vendor/plugins/squeezer/lib/generators/squeezer/templates/public/stylesheets" ,"public"
67
+ FileUtils.cp_r(File.expand_path('../templates/public/stylesheets', __FILE__),'public/')
68
68
 
69
69
  migrations
70
70
 
Binary file
Binary file
data/squeezer.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{squeezer}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Oldani Pablo"]
12
- s.date = %q{2010-11-27}
12
+ s.date = %q{2010-12-11}
13
13
  s.description = %q{an appliaction ready to run}
14
14
  s.email = %q{magicche@hotmail.com}
15
15
  s.extra_rdoc_files = [
@@ -53,6 +53,7 @@ Gem::Specification.new do |s|
53
53
  "app/views/comments/_form.html.haml",
54
54
  "app/views/comments/_index.html.haml",
55
55
  "app/views/comments/_post.html.haml",
56
+ "app/views/comments/edit.haml",
56
57
  "app/views/comments/show.js.erb",
57
58
  "app/views/layouts/_footer.html.haml",
58
59
  "app/views/layouts/_login.haml",
@@ -258,6 +259,7 @@ Gem::Specification.new do |s|
258
259
  "pkg/squeezer-0.1.2.gem",
259
260
  "pkg/squeezer-0.1.3.gem",
260
261
  "pkg/squeezer-0.1.4.gem",
262
+ "pkg/squeezer-0.1.5.gem",
261
263
  "squeezer.gemspec",
262
264
  "test/helper.rb",
263
265
  "test/test_squeezer.rb"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 4
9
- version: 0.1.4
8
+ - 5
9
+ version: 0.1.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Oldani Pablo
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-27 00:00:00 -03:00
17
+ date: 2010-12-11 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -266,6 +266,7 @@ files:
266
266
  - app/views/comments/_form.html.haml
267
267
  - app/views/comments/_index.html.haml
268
268
  - app/views/comments/_post.html.haml
269
+ - app/views/comments/edit.haml
269
270
  - app/views/comments/show.js.erb
270
271
  - app/views/layouts/_footer.html.haml
271
272
  - app/views/layouts/_login.haml
@@ -471,6 +472,7 @@ files:
471
472
  - pkg/squeezer-0.1.2.gem
472
473
  - pkg/squeezer-0.1.3.gem
473
474
  - pkg/squeezer-0.1.4.gem
475
+ - pkg/squeezer-0.1.5.gem
474
476
  - squeezer.gemspec
475
477
  - test/helper.rb
476
478
  - test/test_squeezer.rb
@@ -488,7 +490,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
488
490
  requirements:
489
491
  - - ">="
490
492
  - !ruby/object:Gem::Version
491
- hash: -657246015
493
+ hash: -67172159
492
494
  segments:
493
495
  - 0
494
496
  version: "0"