yodel_production_environment 0.0.4 → 0.0.7

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.
@@ -9,7 +9,7 @@ class RecordModelMigration < Migration
9
9
  add_field :name, :string
10
10
  add_field :show_in_search, :boolean, default: true, section: 'Options'
11
11
  add_field :search_keywords, :array, of: :string, display: false
12
- add_field :search_title, :string, display: false
12
+ add_field :search_title, :alias, of: :name, display: false
13
13
 
14
14
  # modelling
15
15
  add_one :eigenmodel, model: :model, destroy: true, display: false
@@ -8,6 +8,7 @@ class UserModelMigration < Migration
8
8
  add_field :username, :string, index: true, validations: {required: {}, unique: {}}, searchable: false
9
9
  add_field :password, :password, validations: {required: {}}, searchable: false
10
10
  add_field :password_salt, :string, display: false, searchable: false
11
+ add_field :created_at, :time, display: false
11
12
  add_many :groups, default: [site.groups['Users'].id]
12
13
  add_field :owner, :self
13
14
 
@@ -2,6 +2,7 @@ class SnippetModelMigration < Migration
2
2
  def self.up(site)
3
3
  site.records.create_model :snippets do |snippets|
4
4
  add_field :name, :string, validations: {required: {}}, index: true
5
+ add_field :show_in_search, :boolean, default: false, display: false
5
6
  add_field :content, :text
6
7
  snippets.searchable = false
7
8
  end
@@ -1,3 +1,3 @@
1
1
  module YodelProductionEnvironment
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yodel_production_environment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.7
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: 2011-12-18 00:00:00.000000000Z
12
+ date: 2012-01-07 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Yodel Production Environment Support
15
15
  email: