pixelpress 0.3.2 → 0.3.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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cc5425ba75f2b3d99b63622b074e34922e734bd6fba94306a94cd84088e882e
|
4
|
+
data.tar.gz: 1907176157c4a6fa50f77c9479cc39c36f37fe74ed73d81633d812703fe483bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ce2a0d492ab4376ddc0d50f132d0e91515fc927f8d67487fcb34935e6ee93b8fb9f0f98df40e571bfb43a9663b020a1d62bd9e69930b5950a7ff2d5f046a59b
|
7
|
+
data.tar.gz: 7303ace72f3b012e4162ce976494b199dc5c0fdae59d0825ed01f5d0de21b943ddf72073b390fe3ac3dd911d73ff3217bfa9328d97648d6ce9c4c247e4384229
|
@@ -1,2 +1,2 @@
|
|
1
|
-
Rails.application.config.autoload_paths << Rails.root.join('app
|
2
|
-
Rails.application.config.autoload_paths << Rails.root.join('spec
|
1
|
+
Rails.application.config.autoload_paths << Rails.root.join('app/printers')
|
2
|
+
Rails.application.config.autoload_paths << Rails.root.join('spec/printers/previews') if Rails.env.development?
|
data/lib/pixelpress/preview.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Pixelpress
|
2
2
|
class Preview
|
3
3
|
def self.all
|
4
|
-
Dir[Rails.root.join('spec
|
4
|
+
Dir[Rails.root.join('spec/printers/previews/**/*_preview.rb')].map do |file|
|
5
5
|
require_dependency file
|
6
6
|
file.split('printers/previews/').last.sub('.rb', '').classify.constantize.new
|
7
7
|
end
|
data/lib/pixelpress/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pixelpress
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|