nostalgic 0.6.3 → 0.6.5

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
  SHA256:
3
- metadata.gz: 8b19162a7943a04255456261aa294e001505a0daccf55f5fcf1034efc9f2928f
4
- data.tar.gz: 528096921bce4cefe27bef1f53cbff5fcf06566e3b9831418f494cb6fbe4398d
3
+ metadata.gz: 57e9356ca965a79bc3980d47c2a77375e1bdc1821d83b537004c52764cead8ea
4
+ data.tar.gz: e3fd4ed11bb21e6ba99372422b644e7c1e3ccaa2e91f80343985ee5f9e88a082
5
5
  SHA512:
6
- metadata.gz: f70e7430113e432e3ba263476496fcc22d209ea6b9427e161d371ba846b56ac834b259273892c1cbb0d7e15545dfee25a9e1f06e5468e127732de8dfe8b13db8
7
- data.tar.gz: aefae66857449cb5a092e988c7d9fa36707f6c479b8f550575313b80e7504b1d2948462b23869d1e3166b57e36f19b00dd664ad028f0d678f256035d73a758fc
6
+ metadata.gz: bd124c4a4e56b36381adf70440c8b15a56bfb97f68da5a5cf5ebbab9214b8b8cfe85bb699aa37c5ae0d2ea4696c8a8dfe97a6fc895e2e62c40d2c8faf3c1f18d
7
+ data.tar.gz: d866cbb4d1900ed2208f79abe61e1e1dcbb1e54efdce48f4978a49e7ea1f4c3397b9a4e4e12427914a350d092786b81247f750ac62a2d92863ee153448d52005
@@ -0,0 +1,2 @@
1
+ //= link_tree ../images/nostalgic
2
+ //= link_directory ../stylesheets/nostalgic .css
@@ -1,5 +1,9 @@
1
1
  module Nostalgic
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace Nostalgic
4
+
5
+ initializer 'nostalgic.assets.precompile' do |app|
6
+ app.config.assets.precompile += %w[nostalgic_manifest.js]
7
+ end
4
8
  end
5
9
  end
@@ -28,8 +28,8 @@ module Nostalgic
28
28
  effective_at = self.__send__("#{attr}_effective_at")
29
29
  next unless effective_at.present?
30
30
 
31
- na = Nostalgic::Attr.where(:model_type => self.class.name, :model_id => self.id, :name => attr, :effective_at => effective_at).first
32
- na ||= Nostalgic::Attr.new(:model_type => self.class.name, :model_id => self.id, :name => attr, :effective_at => effective_at)
31
+ na = Nostalgic::Attr.where(model_type: self.class.name, model_id: self.id, name: attr, effective_at: effective_at).first
32
+ na ||= Nostalgic::Attr.new(model_type: self.class.name, model_id: self.id, name: attr, effective_at: effective_at)
33
33
  na.value = self.__send__(attr)
34
34
  na.save!
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module Nostalgic
2
- VERSION = '0.6.3'
2
+ VERSION = '0.6.5'
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nostalgic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rails
@@ -75,7 +74,7 @@ extra_rdoc_files: []
75
74
  files:
76
75
  - README.md
77
76
  - Rakefile
78
- - app/assets/config/nostalgic.js
77
+ - app/assets/config/nostalgic_manifest.js
79
78
  - app/assets/images/nostalgic/calendar.gif
80
79
  - app/assets/images/nostalgic/list.png
81
80
  - app/assets/images/nostalgic/minus.png
@@ -107,7 +106,6 @@ homepage: https://github.com/ichylinux/nostalgic
107
106
  licenses:
108
107
  - MIT
109
108
  metadata: {}
110
- post_install_message:
111
109
  rdoc_options: []
112
110
  require_paths:
113
111
  - lib
@@ -122,8 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
120
  - !ruby/object:Gem::Version
123
121
  version: '0'
124
122
  requirements: []
125
- rubygems_version: 3.4.22
126
- signing_key:
123
+ rubygems_version: 3.7.2
127
124
  specification_version: 4
128
125
  summary: column versioning utility
129
126
  test_files: []
@@ -1,3 +0,0 @@
1
- //= link_tree ../images
2
- //= link_directory ../javascripts/nostalgic .js
3
- //= link_directory ../stylesheets/nostalgic .css