rusic 1.5.2 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -3
- data/lib/rusic/uploaders/custom_attributes.rb +2 -1
- data/lib/rusic/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ab5769bcb8ad79b2a9baa1b455bb6c880112f00
|
4
|
+
data.tar.gz: c6073f31f9d6fcba57177ce6a6de79fffec504d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4be5d6a7ab1d75d3cc0a945de406937914c178424e5b419bebd13db9839567f6efe70d7d603b03cec6ffa97d916cca2deea3f312be17a9f21001b6d833306fa7
|
7
|
+
data.tar.gz: 1c845a55ba3df62b34ed9558de3c44a8c778e94b285d457e05439e69e8c0dbce6e9e44b3c77bfb3dc8ac1f7a756aa58eed7c17c982eca9b8bb0da26bfdb1b042
|
data/README.md
CHANGED
@@ -114,20 +114,21 @@ $ touch layouts/subdomain.html.liquid # in another process
|
|
114
114
|
Saved layouts/subdomain.html.liquid
|
115
115
|
```
|
116
116
|
|
117
|
-
### Deploy using a `.rusic` file
|
117
|
+
### Deploy using a `.rusic.yml` file
|
118
118
|
|
119
119
|
You can add a `.rusic.yml` file to your project directory and set your environments
|
120
120
|
settings within this file. This file should be valid
|
121
121
|
[YAML](http://www.yaml.org/start.html) and looks like this -
|
122
122
|
|
123
123
|
```yaml
|
124
|
-
#
|
125
124
|
api_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
126
125
|
stage:
|
127
126
|
theme: 2
|
128
127
|
production:
|
129
|
-
api_key: yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
|
130
128
|
theme: 1
|
129
|
+
local:
|
130
|
+
theme: 1
|
131
|
+
api_host: api.rusic.dev
|
131
132
|
```
|
132
133
|
|
133
134
|
To deploy to production you need to run
|
@@ -22,7 +22,8 @@ module Rusic
|
|
22
22
|
params_hash['theme']['custom_attributes_attributes'][i] = {
|
23
23
|
'key' => key,
|
24
24
|
'value' => options.fetch('value'),
|
25
|
-
'help_text' => options.fetch('help_text', '')
|
25
|
+
'help_text' => options.fetch('help_text', ''),
|
26
|
+
'input_type' => options.fetch('type', 'text')
|
26
27
|
}
|
27
28
|
|
28
29
|
if e_attr = existing_attributes[key]
|
data/lib/rusic/version.rb
CHANGED
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.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Mytton
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-
|
14
|
+
date: 2015-06-30 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: thor
|
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
150
|
rubyforge_project:
|
151
|
-
rubygems_version: 2.4.
|
151
|
+
rubygems_version: 2.4.5
|
152
152
|
signing_key:
|
153
153
|
specification_version: 4
|
154
154
|
summary: Generate and deploy themes to Rusic
|