phrasing 3.2.6 → 3.2.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d97f8a533296f6b75d91eb43950857798e24fb50
4
- data.tar.gz: 6f016b5c2e5d80b109bb5205e85e4114cb335516
3
+ metadata.gz: 2e80dbdfeed1b6907f32d705bc9f19d4599d1e4f
4
+ data.tar.gz: 0777602017d31247dc1ed06bc173ccf8e97bb2b0
5
5
  SHA512:
6
- metadata.gz: ef6b52abbb184295b59973a1ec19f40aeb06be53e1780fd55a005a4a795cd4dd38f78ea0f14b8f9cb5f638a21371655346b458efb6c7d1122a5db4f441cdf16b
7
- data.tar.gz: d1c565e1f216317d7c18755cd3cd3201695b6127d92bab56a52ff6509048961f8c627e04f70aac9ff957f80c7706460c821bfa2ac284ce9c320c4bc9f0959d07
6
+ metadata.gz: 8643c048ea18a4918da78cec8325099895475cbc6fa7dede602b4889ae965bb6dd33bfec42ffb6f2034d9f8848938369b56f3197e06073e4322573637974653d
7
+ data.tar.gz: 0e0551d334fbd44c7de3a38011c42e33c78828840b9dc4b18bf70d4ae4849e018a261b90e188ab903486492d05d320ce0e0f7ee29c576ec9ac9b17cdb933ba69
@@ -0,0 +1 @@
1
+ # Changes
@@ -1,5 +1,9 @@
1
1
  # Phrasing Change Log
2
2
 
3
+ ## 3.2.7 (October 3rd, 2014)
4
+
5
+ Add a config option to set a parent controller to Phrasing Engine Controllers.
6
+
3
7
  ## 3.2.6 (September 15th, 2014)
4
8
 
5
9
  Show Home page only when view responds to :root_path.
@@ -1,4 +1,4 @@
1
- class PhrasingPhraseVersionsController < ActionController::Base
1
+ class PhrasingPhraseVersionsController < Phrasing.parent_controller.constantize
2
2
 
3
3
  def destroy
4
4
  @phrasing_phrase_version = PhrasingPhraseVersion.find(params[:id])
@@ -1,4 +1,4 @@
1
- class PhrasingPhrasesController < ActionController::Base
1
+ class PhrasingPhrasesController < Phrasing.parent_controller.constantize
2
2
 
3
3
  layout 'phrasing'
4
4
 
@@ -24,7 +24,9 @@ module Phrasing
24
24
  mattr_accessor :allow_update_on_all_models_and_attributes
25
25
  mattr_accessor :route
26
26
  mattr_accessor :staging_server_endpoint
27
+ mattr_accessor :parent_controller
27
28
 
29
+ @@parent_controller = "ApplicationController"
28
30
  @@route = 'phrasing'
29
31
 
30
32
  def self.log
@@ -1,3 +1,3 @@
1
1
  module Phrasing
2
- VERSION = "3.2.6"
2
+ VERSION = "3.2.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrasing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.6
4
+ version: 3.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomislav Car
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-15 00:00:00.000000000 Z
12
+ date: 2014-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -117,6 +117,7 @@ extra_rdoc_files: []
117
117
  files:
118
118
  - ".gitignore"
119
119
  - ".travis.yml"
120
+ - 4.0.0_changes.md
120
121
  - CHANGELOG.md
121
122
  - Gemfile
122
123
  - MIT-LICENSE