volt 0.5.6 → 0.5.7

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: 7b8a76f2d758ccc809b63fb8cb7433b1b6e11c54
4
- data.tar.gz: 9ecc4f6a3333af52c492ac2079372beece3c773f
3
+ metadata.gz: dbe6a2f34b95c5f78dbf1bb853b0603d8f05ffa0
4
+ data.tar.gz: 266c25ea54802b4a51a58400e20a229dd877c4ec
5
5
  SHA512:
6
- metadata.gz: f82aa5ff02d08404d6c9ad387bbd60785190aa7aa5741f6e63ee5a5fd5e3b459def0928976db7b2a6ba24425b0b696848a06e0b788679efa5e9ff24123c61ce8
7
- data.tar.gz: 82012fceb2f955f0a0627f16b1d96353fd2e55a7a8f2ccf577a63e407b476d85d42f0783994108cadb6d63bb45d2661d2736fe9ade7ad651e8415e798e46730e
6
+ metadata.gz: 89c335315a5268a518e88fd694c35e944482052cc0354e9f57a92b5d0e49bb2434f72fb3c6b220048504696dada42dc2f48638f1853b23d56d8636cf5d267daf
7
+ data.tar.gz: 9e48482b8bb304a7e39682d6ea3bd43348bffe1b63189f86ade8cccaf71bfbb92bc25894b91d58d89ad938add3d9c15908e64dade7d5b876f0e8f72d31c134a9
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.6
1
+ 0.5.7
@@ -161,6 +161,7 @@ class Page
161
161
  page_obj_str = nil
162
162
 
163
163
  `page_obj_str = sessionStorage.getItem('___page');`
164
+ `console.log(page_obj_str);`
164
165
  `if (page_obj_str) {`
165
166
  `sessionStorage.removeItem('___page');`
166
167
 
@@ -170,6 +171,8 @@ class Page
170
171
  `}`
171
172
  end
172
173
  end
174
+ rescue => e
175
+ puts "Unable to restore: #{e.inspect}"
173
176
  end
174
177
  end
175
178
 
@@ -94,7 +94,7 @@ class Tasks
94
94
  def reload
95
95
  puts "RELOAD"
96
96
  # Stash the current page value
97
- value = JSON.dump($page.page.cur.to_h)
97
+ value = JSON.dump($page.page.cur.to_h.reject {|k,v| v.reactive? })
98
98
 
99
99
  # If this browser supports session storage, store the page, so it will
100
100
  # be in the same state when we reload.
@@ -2,9 +2,18 @@ source 'https://rubygems.org'
2
2
 
3
3
  gem 'volt', '<%= config[:version] %>'
4
4
 
5
+
6
+ # The following gem's are optional for themeing
7
+
5
8
  # Twitter bootstrap
6
9
  gem 'volt-bootstrap'
7
10
 
11
+ # Simple theme for bootstrap, remove to theme yourself.
12
+ gem 'volt-bootstrap-jumbotron-theme'
13
+
14
+
15
+
16
+ #---------------------
8
17
  # Needed at the moment
9
18
  gem 'opal', git: 'https://github.com/opal/opal.git'
10
19
  gem 'opal-jquery', :git => 'https://github.com/opal/opal-jquery.git'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-03 00:00:00.000000000 Z
11
+ date: 2014-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor