effective_style_guide 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9149afce56b383e2c309f80b1403bb6ebef2a47
4
- data.tar.gz: 592d1863760e934cb5a40d1839cc5e7a6ef83fe2
3
+ metadata.gz: d24a4d856695248b04d97fb9259742bb4fbf1647
4
+ data.tar.gz: 0e6081a373ec6b5b9c44e68bdb38603fd551ff7c
5
5
  SHA512:
6
- metadata.gz: 077831c36cc00bbe7001f47dac589ce190d1c439aafdfc2cf95a27c7eece22633cc3880661d9d86529a05207de8bfd20d2a2f4c1c52e90958ebcd71114fb9b17
7
- data.tar.gz: 51f6f3e44ea5b82f1d0f8c83749f58a9d22179850280b80315c2a05694667e37a04fc62f6707c111acfd466713022d615da375d66bcb09cffb4099c5083b45b1
6
+ metadata.gz: 64965adf79bd62d76f7bd4bcf632172d2e2d376f0efafe37fe1be7cf3fc84909a31f3a4ee1bd298eb9e00bce67df14e319a005b015d8ffd9125a694a8701bbbe
7
+ data.tar.gz: 34bbe57d6672082fe91aaa811c1d3a1d1d0bed65681117b7e1a2d7216b50b699c80eb40c7d73ce3fe3152742b6b1162594d0275899ed669645987a1b3ad75711
@@ -1,5 +1,6 @@
1
1
  module Effective
2
- class StyleGuide < ActiveRecord::Base
2
+ class StyleGuide
3
+ include ActiveModel::Model
3
4
 
4
5
  if defined?(EffectiveAssets)
5
6
  acts_as_asset_box files: 1..6
@@ -15,28 +16,10 @@ module Effective
15
16
  attr_accessor *ATTRIBUTES
16
17
  validates *ATTRIBUTES, presence: true
17
18
 
18
- def initialize(*args)
19
- super
20
-
21
- self.color = 'black'
22
- end
23
-
24
19
  def id
25
20
  object_id
26
21
  end
27
22
 
28
- def self.columns
29
- @columns ||= []
30
- end
31
-
32
- def self.column_defaults
33
- {}
34
- end
35
-
36
- def self.has_attribute?(*args)
37
- false
38
- end
39
-
40
23
  def static_text
41
24
  'some static text'
42
25
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveStyleGuide
2
- VERSION = '2.0.2'.freeze
2
+ VERSION = '2.0.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_style_guide
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-16 00:00:00.000000000 Z
11
+ date: 2018-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails