rorschach 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/rorschach.rb +43 -0
- metadata +45 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fadb3a1b0c57b966ec9490b4a1e8e1ce02425157
|
4
|
+
data.tar.gz: a482918b175c22ef78fb9bbf5c9fff3095371e29
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 45da40a1d80526006271bfb5e6f5e1c9d5ee92e6e98e0c450fc0f5e7acde4bd98d55a80db4387fe4a92c4dfa0a9713bba17bf4ade936f352051cd6e154a2412c
|
7
|
+
data.tar.gz: 8a4cc92254f84b83c6db4703492ed70efc6c7a3a49b4684b719b7159daa5c4a1f1d300f2dfd0708120f3e109c877fededc5dc1ff0702ed87c86d30303ec57883
|
data/lib/rorschach.rb
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# require 'psd'
|
2
|
+
# require 'pp'
|
3
|
+
|
4
|
+
# require_relative 'rorschach/helpers'
|
5
|
+
# require_relative 'rorschach/warning'
|
6
|
+
# require_relative 'rorschach/info'
|
7
|
+
|
8
|
+
class Rorschach
|
9
|
+
|
10
|
+
# def initialize(psd_file_location)
|
11
|
+
# PSD.open(psd_file_location) do |psd|
|
12
|
+
# # It's mega messy in here :/
|
13
|
+
# psd = psd.tree
|
14
|
+
|
15
|
+
# warnings = Rorschsch::Warning.new(psd)
|
16
|
+
# info = Rorschsch::Info.new(psd)
|
17
|
+
|
18
|
+
# puts '**************'
|
19
|
+
# puts psd_file_location
|
20
|
+
|
21
|
+
# puts '**************'
|
22
|
+
# puts 'FONTS'
|
23
|
+
# puts info.fonts
|
24
|
+
|
25
|
+
# puts '**************'
|
26
|
+
# puts 'WARNINGS'
|
27
|
+
|
28
|
+
# puts warnings.blend_modes
|
29
|
+
|
30
|
+
# end
|
31
|
+
# end
|
32
|
+
|
33
|
+
def self.hi
|
34
|
+
puts "hello world"
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
38
|
+
|
39
|
+
# Kick it off by creating new instance of Rorschsch for each PSD
|
40
|
+
# psd_locations = ARGV
|
41
|
+
# psd_locations.each do |psd_file_location|
|
42
|
+
# rorschsch = Rorschsch.new(psd_file_location)
|
43
|
+
# end
|
metadata
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rorschach
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Bradley Kenyon
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-05-21 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: An opiniated PSD analyzer for front-end web development built on top
|
14
|
+
of PSD.rb.
|
15
|
+
email:
|
16
|
+
- bradley@digital-telepathy.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- lib/rorschach.rb
|
22
|
+
homepage:
|
23
|
+
licenses: []
|
24
|
+
metadata: {}
|
25
|
+
post_install_message:
|
26
|
+
rdoc_options: []
|
27
|
+
require_paths:
|
28
|
+
- lib
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
requirements: []
|
40
|
+
rubyforge_project:
|
41
|
+
rubygems_version: 2.2.2
|
42
|
+
signing_key:
|
43
|
+
specification_version: 4
|
44
|
+
summary: A gem to provide insight into an analyzed PSD
|
45
|
+
test_files: []
|