graph_starter 0.14.3 → 0.14.4

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: 2b264704e785df780eded4d2a2ca3a240f96d6a3
4
- data.tar.gz: 90bf2dec7c514d16f3c90b362e1774cc2848028a
3
+ metadata.gz: e23e0cd5cdc075a30c59357492c76f0e7d5ca1cc
4
+ data.tar.gz: 6019a2f8591acace4cc1de9b022f45833b19073b
5
5
  SHA512:
6
- metadata.gz: c78263a3282cb46a91786226927ba6b892daf9a78f207a99313e94e0be13707d71903fb2b6ac4b47bc894ebe87bfff52a05630bf2bbe829390f74c3c706f908d
7
- data.tar.gz: 3351e58f9e6717bce20e224a8b3df6b3be0a98a712b5d7a852e97d58af9a1a92db85134f5da79abb24550c4840d21ba983edc9ba5ccd5f482049d63fdd41b35c
6
+ metadata.gz: dc2548709d4b119db5030c01be2264df51116c3b1b6507f29252cb75cc35cc5046e93888578027e6d1a634a0465964d7d21cb3f34f0dca12414a46c98766605b
7
+ data.tar.gz: 22f3c5f06047ec9f429f7f44044190402b063a598607a14f055214f8f16d07be5f69ca4bcccf3b3de8174aadd8d710a219c04317e291a4b34b75aae42671a5e9
@@ -80,7 +80,6 @@ module GraphStarter
80
80
  if @asset.persisted?
81
81
  redirect_to action: :show, id: @asset.id
82
82
  else
83
- puts '@asset.errors.messages', @asset.errors.messages.inspect
84
83
  flash[:error] = @asset.errors.messages.to_a.map {|pair| pair.join(' ') }.join(' / ')
85
84
  redirect_to :back
86
85
  end
@@ -36,6 +36,10 @@ html
36
36
  p.ui.yellow.message
37
37
  i.close.icon
38
38
  = alert
39
+ - if flash[:error].present?
40
+ p.ui.red.message
41
+ i.close.icon
42
+ = flash[:error]
39
43
 
40
44
 
41
45
  = yield
@@ -1,3 +1,3 @@
1
1
  module GraphStarter
2
- VERSION = "0.14.3"
2
+ VERSION = "0.14.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graph_starter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.3
4
+ version: 0.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Underwood
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-30 00:00:00.000000000 Z
11
+ date: 2015-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails