phrasing 3.2.7 → 3.2.8

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: 2e80dbdfeed1b6907f32d705bc9f19d4599d1e4f
4
- data.tar.gz: 0777602017d31247dc1ed06bc173ccf8e97bb2b0
3
+ metadata.gz: 9b5fb967e75c11f73ea2f60a81c83f5eb121bf91
4
+ data.tar.gz: 1e8b527c8a9307a5264fb9d62771697713a41f5d
5
5
  SHA512:
6
- metadata.gz: 8643c048ea18a4918da78cec8325099895475cbc6fa7dede602b4889ae965bb6dd33bfec42ffb6f2034d9f8848938369b56f3197e06073e4322573637974653d
7
- data.tar.gz: 0e0551d334fbd44c7de3a38011c42e33c78828840b9dc4b18bf70d4ae4849e018a261b90e188ab903486492d05d320ce0e0f7ee29c576ec9ac9b17cdb933ba69
6
+ metadata.gz: 128cedbf49e4c1ac8d5ad775a7e05746ee05705f73032f959be34978b531a7baf70fc5499e026f996e3b67683d26fff7fa9f3317a9ced36a14c02127ad7fb976
7
+ data.tar.gz: d6770c0a73a6d305c995942154741a238b4a57b0b8f55ef243900616ca77c303b49db6a8fe9a8e38991d45ef74c03d6b1e44d8ee0fb2cf169cc1f51eedb8ab43
@@ -1,5 +1,9 @@
1
1
  # Phrasing Change Log
2
2
 
3
+ ## 3.2.8 (January 6th, 2015)
4
+
5
+ Fix confirm dialogs when deleting phrases and phrase versions.
6
+
3
7
  ## 3.2.7 (October 3rd, 2014)
4
8
 
5
9
  Add a config option to set a parent controller to Phrasing Engine Controllers.
@@ -1,6 +1,6 @@
1
1
  .edit
2
2
  %h2= @phrasing_phrase.key
3
- = link_to "Delete Phrase", phrasing_phrase_path(@phrasing_phrase), class: "btn btn-danger delete-phrase", method: :delete, onclick: "return confirm('Are you sure?');"
3
+ = link_to "Delete Phrase", phrasing_phrase_path(@phrasing_phrase), class: "btn btn-danger delete-phrase", method: :delete, confirm: 'Are you sure?'
4
4
  = form_for @phrasing_phrase, url: { action: "update" } do |f|
5
5
  = f.text_area :value, rows: 12
6
6
  = f.submit "Update", class: "btn btn-success submit-edit-phrase"
@@ -20,4 +20,4 @@
20
20
  %td.phrasing-version-value= version.value.html_safe
21
21
  %td.phrasing-version-created_at= version.created_at.strftime("%d-%m-%Y %H:%M:%S")
22
22
  %td= link_to "Revert", phrasing_phrase_path(@phrasing_phrase.id, phrasing_phrase: {value: version.value}), class: "btn btn-success", method: :put
23
- %td= link_to "Delete", phrasing_phrase_version_path(version.id), class: "btn btn-danger", method: :delete, onclick: "return confirm('Are you sure?');"
23
+ %td= link_to "Delete", phrasing_phrase_version_path(version.id), class: "btn btn-danger", method: :delete, confirm: 'Are you sure?'
@@ -1,3 +1,3 @@
1
1
  module Phrasing
2
- VERSION = "3.2.7"
3
- end
2
+ VERSION = "3.2.8"
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.7
4
+ version: 3.2.8
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-10-03 00:00:00.000000000 Z
12
+ date: 2015-01-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails