slds_on_rails 0.2.4 → 1.0.0

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: 217ca23c820befbdb0c1f919bbd73575644d016a
4
- data.tar.gz: a3a70548330289e1a39db9948d198234ff851191
3
+ metadata.gz: a4990a25da9b00fcf5de0fce0473d87d24563de8
4
+ data.tar.gz: 5b9def6677ebf1c9af4be04e49ee9b26923e1ff3
5
5
  SHA512:
6
- metadata.gz: d44a66e0ca3ea40f1005a196ced0302087dd785b576758c5e5c929eb8615836eb8e51645f21499c0a27889a7f8c14b9b4b54ddd37aede29139bbf676d868a43d
7
- data.tar.gz: 4eb95d49d0d632cf26231e7b0c786acfe8cfbc1d1a34ba0cd136317743808e40b6ebdc8188859fe4cf75817cf1f1dbfd25183fb653869779f82e3aeaed83dad4
6
+ metadata.gz: 458db637ff111a84404798e6e06c325f62ff5cb892d4b2561c3d3c65781fd77bdf653949b10ac350cf3ab333327a6434281964f655d8d479eb9e115bf9143b85
7
+ data.tar.gz: 9723b95f969156d5df0dabc1146dcb2434340c57a5bff8342a9a4d24872f7a3878343d5c430a9fe9c3ecb8856697ddaee92624edf97982a248cb254bc6aa2595
data/README.md CHANGED
@@ -39,7 +39,7 @@ end
39
39
 
40
40
  ```erb
41
41
  # uses relative path: `/slds/images/spinners/slds_spinner.gif`
42
- <%= image_tag slds_asset_path('images/spinners/slds_spinner.gif') %>
42
+ <%= image_tag slds_assets_path('images/spinners/slds_spinner.gif') %>
43
43
 
44
44
  # uses absolute url: `https://unpkg.com/@salesforce-ux/design-system@2.3.1/assets/images/spinners/slds_spinner.gif'
45
45
  <%= image_tag slds_asset_url('images/spinners/slds_spinner.gif') %>
@@ -1,5 +1,6 @@
1
1
  module Slds
2
- class SldsController < ApplicationController
2
+ class SldsController < ActionController::Base
3
+
3
4
  rescue_from StandardError, with: :render_error
4
5
  layout false
5
6
 
@@ -1,3 +1,3 @@
1
1
  module Slds
2
- VERSION = '0.2.4'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slds_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Eden
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-18 00:00:00.000000000 Z
11
+ date: 2017-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails