rusic 1.1.0 → 1.2.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: 4435399b3b0c8a26207b40f14759edc40f43835e
4
- data.tar.gz: 4340a4b75be80974cc16549a9681af24ead95817
3
+ metadata.gz: e67035adba925d6a05bf05337ff09e64dda3293f
4
+ data.tar.gz: 55fb06922d39f4cf2bbd02aaff7af47bca7696a6
5
5
  SHA512:
6
- metadata.gz: 155096bef9b8956b9b5e1b670892eabd2f75bbde751d81d970fd6afb2ee6d8c87626d10e300365f0b8491170b9bf168b451939b3094d2c2cc087af6576735fd0
7
- data.tar.gz: 2ee8eec016a52581859c039a3c339ad590f434b388914ff797ddb9461e20f5e0719fc90c3ad1f94a3d26e3b362da2bacd5767f00a809940745e194753a1610da
6
+ metadata.gz: d72164b58b68aeb4f42938d70436afd7962ca0c35e8cdc8eb6f407ff05b2bb701452072e516f45a5f249f1c565664d8dba1e25267fd932a7c82716f8473a6c8f
7
+ data.tar.gz: a2efe8851ac942c3868371a0309259966c423ba7e0b069db465245cc6a107b408039208b3938003ea4f54b875055a894baffca4a3410160de8270fde28117982
@@ -24,6 +24,6 @@
24
24
  <h4 class="list-group-item-heading">{{ idea.title }}</h4>
25
25
  <p class="list-group-item-text">{{ idea.content | truncate: 100 | markdown }}</p>
26
26
  </a>
27
- {% end %}
27
+ {% endfor %}
28
28
  </div>
29
29
  </div>
@@ -19,7 +19,7 @@
19
19
  <span class="thumbnail">
20
20
  <img src="{{ image.medium_square }}" alt="Image for {{ idea.title }}" />
21
21
  </span>
22
- {% end %}
22
+ {% endfor %}
23
23
  </div>
24
24
  <p class="lead">
25
25
  <a href="{{ space.permalink }}" class="btn btn-lg btn-default">Back to all ideas</a>
@@ -8,10 +8,10 @@ module Rusic
8
8
  private
9
9
 
10
10
  def params
11
- { asset: { image: image } }
11
+ { asset: { file: asset } }
12
12
  end
13
13
 
14
- def image
14
+ def asset
15
15
  File.open(file.pathname.to_s, 'rb')
16
16
  end
17
17
  end
data/lib/rusic/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rusic
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rusic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Mytton
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-04-08 00:00:00.000000000 Z
12
+ date: 2014-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor