meta2 0.0.2 → 0.0.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: e4b44cc106dc7ebd8eb9a2f52ddbecde5f5b9a2c
4
- data.tar.gz: 6aeb1d5d6191ee6f59f8b83bda8f3579c0174b81
3
+ metadata.gz: 56b71e529460ee25f85fef6f2ae8a76ef08ae697
4
+ data.tar.gz: 6ebdfa9c07f0822bb02e12a03b79c58d96a05b83
5
5
  SHA512:
6
- metadata.gz: 522e6f1921c285a90cd25a19fb09542edec115ff77fda7049f4150afbde71d235a004ce4585494315f6c159beb7cd001d55623f85f842e0910898ca673d5c2cf
7
- data.tar.gz: 5df81c838ea6c05601479e7a94a65713b02622510d93f88ce3ebe012cbfbea8951ce9fef1953714bee9237eabbc453a014ba6d8457cf99a3fddfa4d3b38d04a8
6
+ metadata.gz: aefb8a386002b498d7ebc3564f84e892abc9b2d797681d72c465bdde3b64190a88fd7a8ef69213388b31f14ba922aacdabfa04311541c368517a0168362e2be5
7
+ data.tar.gz: e95dc32eafb34952b201a99bd33d58a3ec42b29b6e3ac349b99b61c55758210869c783f26022a935dd06c81d7309bc82cb9715b4079603e78384c1f573172660
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- meta2 (0.0.2)
4
+ meta2 (0.0.3)
5
5
  activesupport (>= 4.0.0, < 5)
6
6
  i18n (~> 0.7.0)
7
7
 
@@ -1,6 +1,6 @@
1
1
  .page-header
2
2
  h1
3
- span.pull-right = I18n.t 'meta2.setting.edit', name: cm('meta2/setting')
3
+ span.pull-right = I18n.t 'meta2.setting.edit', name: Meta2::Setting.model_name.human
4
4
  small = link_to 'Back', settings_path(section: @setting.section), class: 'btn btn-default btn-sm'
5
5
 
6
6
  = render 'form'
@@ -11,9 +11,9 @@ ul.nav.nav-tabs
11
11
  table.table.table-borderd
12
12
  tr
13
13
  th = select_tag :section, options_for_select(I18n.t('meta2.setting.sections').to_hash.invert, selected: params[:section].presence || 'parts'), class: 'form-control', id: :meta2_activerecord_section_selecter, data: {path: settings_path}
14
- th = cm 'meta2/setting.path'
15
- th = cm 'meta2/setting.name'
16
- th = cm 'meta2/setting.value'
17
- th = cm 'meta2/setting.note'
14
+ th = Meta2::Setting.human_attribute_name(:path)
15
+ th = Meta2::Setting.human_attribute_name(:name)
16
+ th = Meta2::Setting.human_attribute_name(:value)
17
+ th = Meta2::Setting.human_attribute_name(:note)
18
18
  th
19
19
  = render partial: 'record', collection: @settings
@@ -1,3 +1,3 @@
1
1
  module Meta2
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - manabu.oshiro