custom_attributes_scaffold 0.1.2 → 0.1.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab29304468e633af56483b324a7e6b3d0f765f9f
4
- data.tar.gz: be64f0561c5d343e956923a4e634c75a045a4bed
3
+ metadata.gz: fb5d6cc4379a5c143e91793d0b58a4cdc0a2cbd3
4
+ data.tar.gz: 120788e1adae8c4c43595a84d0bbdb873e465049
5
5
  SHA512:
6
- metadata.gz: c26bccc5fec89ca7cc848d44635578b7b2260fed392e8a44d5c40ac1b92b29411125cb897e9a6f42c15730687dabf1a809d2cdcbb6ecd12b7ca753a27a4ea275
7
- data.tar.gz: 39b6f3ae9057ec56e894499341ca7c713235367c104157c07684d88d325b38953c5568662861d1bf2e7cc809e7141ab4341cda785bc7fd367a06a827b33a7af6
6
+ metadata.gz: 6af0ebda1900c30632328840d44a154f53dd59081b7186bc175a0b441cc552d8f6f9a4f0708c78e7a2c0c0cf9083d07e2f090e990fffb80ea04ef6ba13e72267
7
+ data.tar.gz: b0e389949a2702b934d0736a12a7c297a549d153692c888a8cda652f7dbddce9d6a8bd115b66ef12ac00d79333fe84711b86d8991cd4a4eaf127bd49390978d8
@@ -1,21 +1,11 @@
1
1
  <% link_to_edit ||= nil %>
2
2
  <% link_to_delete ||= nil %>
3
- <% remote_links ||= false %>
4
-
5
3
  <% cssClasses ||= {} %>
6
4
 
7
5
  <div class="custom-attributes row">
8
6
  <div class="actions_links pull-right">
9
- <% if link_to_edit %>
10
- <%= link_to link_to_edit, remote: remote_links, class: "edit text_style" do %>
11
- <i class="icon-pencil"></i>Edit
12
- <% end %>
13
- <% end %>
14
- <% if link_to_delete %>
15
- <%= link_to link_to_delete, remote: remote_links, method: :delete, class: "edit text_style" do %>
16
- <i class="icon-trash"></i>Delete
17
- <% end %>
18
- <% end %>
7
+ <%= link_to_edit if link_to_edit %>
8
+ <%= link_to_delete if link_to_delete %>
19
9
  </div>
20
10
 
21
11
  <div class="custom-attributes definition title <%=cssClasses[:title]%>">
@@ -1,3 +1,3 @@
1
1
  module CustomAttributes
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -19,7 +19,7 @@ class CreateCustomAttributesFor<%= name %> < ActiveRecord::Migration
19
19
  t.string :type
20
20
  t.text :string_value
21
21
  t.integer :integer_value
22
- t.decimal :double_value
22
+ t.decimal :double_value, precision: 54, scale: 9
23
23
  t.datetime :date_time_value
24
24
  t.references :<%= singular_table_name %>, foreign_key: true
25
25
  t.references :<%= singular_table_name %>_custom_attribute_definition, foreign_key: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: custom_attributes_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tariq Hussain
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-16 00:00:00.000000000 Z
11
+ date: 2015-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails