spontaneous 0.2.0.beta2 → 0.2.0.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis/gemfiles/Gemfile.empty +1 -1
- data/lib/spontaneous/field/image.rb +0 -3
- data/lib/spontaneous/generators/site/assets/css/site.scss +1 -2
- data/lib/spontaneous/generators/site/assets/js/site.js +1 -1
- data/lib/spontaneous/schema/uid.rb +1 -1
- data/lib/spontaneous/version.rb +1 -1
- data/spontaneous.gemspec +0 -1
- data/test/unit/test_schema.rb +4 -0
- metadata +2 -17
- data/lib/spontaneous/generators/site/schema/.map +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d327e71c9f7ef6a229475b92d7a9c24ad7a77ccf
|
4
|
+
data.tar.gz: 9f6803a4470abd5de575fb5b318774a444b8ac3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e87bc4e0fad263152412de36f2e62f218b962744404ca9aa1110150f528851f8c94e601a42cb8dc4dcb24fbe02e4d0a3bd32bc2920b791a807362958ecba193
|
7
|
+
data.tar.gz: 8ae23b7eacbfb56dd35336c59c6ddb2a0a4b25ce48c691bff5661e06fd8b2af5393cf639a4a37e64411d09fb08edc3e375e62c626e1902defdb521d18f4a0dce
|
@@ -1,10 +1,8 @@
|
|
1
1
|
# encoding: UTF-8
|
2
2
|
|
3
3
|
require 'tempfile'
|
4
|
-
require 'mini_magick'
|
5
4
|
require 'delegate'
|
6
5
|
|
7
|
-
|
8
6
|
module Spontaneous::Field
|
9
7
|
class Image < File
|
10
8
|
autoload :Size, 'spontaneous/field/image/size'
|
@@ -143,4 +141,3 @@ module Spontaneous::Field
|
|
143
141
|
self.register(:image, :photo)
|
144
142
|
end
|
145
143
|
end
|
146
|
-
|
data/lib/spontaneous/version.rb
CHANGED
data/spontaneous.gemspec
CHANGED
@@ -36,7 +36,6 @@ Gem::Specification.new do |s|
|
|
36
36
|
s.add_dependency('foreman', ['~> 0.60.2'])
|
37
37
|
s.add_dependency('kramdown', ['~> 0.14.0'])
|
38
38
|
s.add_dependency('launchy', ['~> 2.1.2'])
|
39
|
-
s.add_dependency('mini_magick', ['~> 3.3'])
|
40
39
|
s.add_dependency('nokogiri', ['~> 1.5.0'])
|
41
40
|
s.add_dependency('posix-spawn', ['~> 0.3.6'])
|
42
41
|
s.add_dependency('public_suffix', ['~> 1.0'])
|
data/test/unit/test_schema.rb
CHANGED
@@ -144,6 +144,10 @@ describe "Schema" do
|
|
144
144
|
@instance.layout.schema_id.must_equal @uids["llllllllllll"]
|
145
145
|
end
|
146
146
|
|
147
|
+
it "should encode to JSON" do
|
148
|
+
@uids["llllllllllll"].to_json.must_equal '"llllllllllll"'
|
149
|
+
end
|
150
|
+
|
147
151
|
describe "lookups" do
|
148
152
|
it "return classes" do
|
149
153
|
Site.schema.to_class("xxxxxxxxxxxx").must_equal SchemaClass
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spontaneous
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garry Hill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-10-
|
11
|
+
date: 2013-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -150,20 +150,6 @@ dependencies:
|
|
150
150
|
- - ~>
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 2.1.2
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: mini_magick
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ~>
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '3.3'
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ~>
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '3.3'
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: nokogiri
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -734,7 +720,6 @@ files:
|
|
734
720
|
- lib/spontaneous/generators/site/public/README.md
|
735
721
|
- lib/spontaneous/generators/site/public/favicon.ico
|
736
722
|
- lib/spontaneous/generators/site/public/robots.txt
|
737
|
-
- lib/spontaneous/generators/site/schema/.map
|
738
723
|
- lib/spontaneous/generators/site/schema/box.rb.tt
|
739
724
|
- lib/spontaneous/generators/site/schema/page.rb.tt
|
740
725
|
- lib/spontaneous/generators/site/schema/piece.rb.tt
|
@@ -1 +0,0 @@
|
|
1
|
-
# TODO: create template for schema map
|