page_parts 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,4 @@ class PagePart < ::ActiveRecord::Base
3
3
 
4
4
  validates_presence_of :key, :partable_type
5
5
  validates_uniqueness_of :key, :scope => [:partable_type, :partable_id]
6
-
7
- attr_accessible :key, :content
8
6
  end
@@ -14,7 +14,5 @@ class PagePart
14
14
  belongs_to :partable, :polymorphic => true, :index => true
15
15
 
16
16
  validates_presence_of :key, :partable_type
17
- validates_uniqueness_of :key, :scope => [:partable_type, :partable_id]
18
-
19
- attr_accessible :key, :content
17
+ validates_uniqueness_of :key, :scope => [:partable_type, :partable_id]
20
18
  end
@@ -1,3 +1,3 @@
1
1
  module PageParts
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: page_parts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-05 00:00:00.000000000 Z
12
+ date: 2013-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: orm_adapter
@@ -84,7 +84,6 @@ extra_rdoc_files: []
84
84
  files:
85
85
  - db/migrate/20111226144515_create_page_parts.rb
86
86
  - lib/page_parts.rb
87
- - lib/tasks/page_parts_tasks.rake
88
87
  - lib/page_parts/extension.rb
89
88
  - lib/page_parts/version.rb
90
89
  - lib/page_parts/engine.rb
@@ -208,3 +207,4 @@ test_files:
208
207
  - test/models/post_test.rb
209
208
  - test/models/page_part_test.rb
210
209
  - test/models/category_test.rb
210
+ has_rdoc:
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :page_parts do
3
- # # Task goes here
4
- # end