rusic 0.0.4 → 1.0.0.beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.ruby-version +1 -0
- data/README.md +103 -17
- data/Rakefile +0 -4
- data/bin/rusic +1 -1
- data/lib/rusic/cli.rb +28 -10
- data/lib/rusic/deployer.rb +15 -0
- data/lib/rusic/generators/theme.rb +53 -0
- data/lib/rusic/templates/README.md +3 -0
- data/lib/rusic/templates/assets/bootstrap.css +5789 -0
- data/lib/rusic/templates/assets/bootstrap.js +1951 -0
- data/lib/rusic/templates/assets/cover.css +161 -0
- data/lib/rusic/templates/assets/glyphicons-halflings-regular.eot +0 -0
- data/lib/rusic/templates/assets/glyphicons-halflings-regular.svg +229 -0
- data/lib/rusic/templates/assets/glyphicons-halflings-regular.ttf +0 -0
- data/lib/rusic/templates/assets/glyphicons-halflings-regular.woff +0 -0
- data/lib/rusic/templates/ideas/edit.html.liquid +42 -0
- data/lib/rusic/templates/ideas/index.html.liquid +26 -14
- data/lib/rusic/templates/ideas/new.html.liquid +52 -0
- data/lib/rusic/templates/ideas/show.html.liquid +27 -0
- data/lib/rusic/templates/layouts/subdomain.html.liquid +57 -38
- data/lib/rusic/templates/pages/about.html.liquid +20 -0
- data/lib/rusic/theme_file.rb +43 -0
- data/lib/rusic/uploaders/asset.rb +40 -0
- data/lib/rusic/uploaders/editable_asset.rb +47 -0
- data/lib/rusic/uploaders/template.rb +40 -0
- data/lib/rusic/version.rb +1 -1
- data/lib/rusic.rb +10 -5
- data/rusic.gemspec +23 -23
- metadata +75 -86
- data/.rvmrc +0 -1
- data/TODO.md +0 -33
- data/features/rusic.feature +0 -16
- data/features/support/env.rb +0 -5
- data/lib/rusic/generators.rb +0 -59
- data/lib/rusic/idea.rb +0 -8
- data/lib/rusic/server.rb +0 -35
- data/lib/rusic/templates/rusic.yml +0 -6
- data/spec/rusic_spec.rb +0 -21
@@ -0,0 +1,27 @@
|
|
1
|
+
<!--
|
2
|
+
ideas/show.html.liquid
|
3
|
+
|
4
|
+
This is template that shows an individual idea. You can link to this using the
|
5
|
+
URL from calling `idea.link`.
|
6
|
+
|
7
|
+
The contents of this template are rendered where `content_for_layout` is
|
8
|
+
called within layouts/subdomain.html.liquid. See http://developer.rusic.com/
|
9
|
+
for more details.
|
10
|
+
-->
|
11
|
+
<div class="inner cover">
|
12
|
+
<h1 class="cover-heading">{{ idea.title }}</h1>
|
13
|
+
<div class="lead">
|
14
|
+
<!-- Hint: use the `markdown` filter to format plain text into safe HTML -->
|
15
|
+
{{ idea.content | markdown }}
|
16
|
+
</div>
|
17
|
+
<div class="images">
|
18
|
+
{% for image in idea.images %}
|
19
|
+
<span class="thumbnail">
|
20
|
+
<img src="{{ image.medium_square }}" alt="Image for {{ idea.title }}" />
|
21
|
+
</span>
|
22
|
+
{% end %}
|
23
|
+
</div>
|
24
|
+
<p class="lead">
|
25
|
+
<a href="{{ space.permalink }}" class="btn btn-lg btn-default">Back to all ideas</a>
|
26
|
+
</p>
|
27
|
+
</div>
|
@@ -1,51 +1,70 @@
|
|
1
|
-
<!
|
2
|
-
<!--
|
3
|
-
|
4
|
-
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
|
5
|
-
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
6
|
-
<head>
|
7
|
-
<meta charset="utf-8">
|
8
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!--
|
3
|
+
layouts/subdomain.html.liquid
|
9
4
|
|
10
|
-
|
11
|
-
|
12
|
-
|
5
|
+
This is your main layout file. It wraps all other templates and is where you
|
6
|
+
should put your main HTML head and body. Other templates (for ideas or pages)
|
7
|
+
are rendered by the `content_for_layout` tag. See http://developer.rusic.com/
|
8
|
+
for more details.
|
9
|
+
-->
|
10
|
+
<html lang="en">
|
11
|
+
<head>
|
12
|
+
<meta charset="utf-8">
|
13
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
14
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
13
15
|
|
14
|
-
|
16
|
+
<!-- Hint: use the `asset_url` to reference uploaded assets -->
|
17
|
+
<link rel="shortcut icon" href="{{ 'favicon.ico' | asset_url }}">
|
15
18
|
|
16
|
-
|
17
|
-
{{include_stylesheets}}
|
19
|
+
<title>Rusic theme</title>
|
18
20
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
21
|
+
<!--
|
22
|
+
Hint: use the `stylesheet_url` or `stylesheet_tag` filters for referencing
|
23
|
+
stylesheets. You can use liquid within stylesheets for referencing other
|
24
|
+
assets (images or fonts for example).
|
25
|
+
-->
|
26
|
+
<link href="{{ 'bootstrap.css' | stylesheet_url }}" rel="stylesheet" />
|
27
|
+
<link href="{{ 'cover.css' | stylesheet_url }}" rel="stylesheet" />
|
28
|
+
</head>
|
23
29
|
|
24
|
-
|
30
|
+
<body>
|
31
|
+
<div class="site-wrapper">
|
32
|
+
<div class="site-wrapper-inner">
|
33
|
+
<div class="cover-container">
|
25
34
|
|
26
|
-
<
|
35
|
+
<div class="masthead clearfix">
|
36
|
+
<div class="inner">
|
37
|
+
<h3 class="masthead-brand">Rusic theme</h3>
|
38
|
+
<ul class="nav masthead-nav">
|
39
|
+
<li class="active"><a href="{{ space.permalink }}">All ideas</a></li>
|
40
|
+
<li><a href="{{ space.permalink }}/pages/about">About</a></li>
|
41
|
+
</ul>
|
42
|
+
</div>
|
43
|
+
</div>
|
27
44
|
|
28
|
-
|
29
|
-
|
45
|
+
<!--
|
46
|
+
Hint: use `content_for_layout` to render the relevant content
|
47
|
+
from the ideas or page template
|
48
|
+
-->
|
49
|
+
{{ content_for_layout }}
|
30
50
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
51
|
+
<div class="mastfoot">
|
52
|
+
<div class="inner">
|
53
|
+
<p>Cover template for <a href="http://getbootstrap.com">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>
|
54
|
+
</div>
|
55
|
+
</div>
|
36
56
|
|
57
|
+
</div>
|
58
|
+
</div>
|
37
59
|
</div>
|
38
|
-
<footer>
|
39
|
-
|
40
|
-
</footer>
|
41
|
-
</div> <!-- eo #container -->
|
42
60
|
|
43
|
-
|
44
|
-
var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]]; // Change UA-XXXXX-X to be your site's ID
|
45
|
-
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
|
46
|
-
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
|
47
|
-
s.parentNode.insertBefore(g,s)}(document,"script"));
|
48
|
-
</script>
|
61
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
|
49
62
|
|
50
|
-
|
63
|
+
<!--
|
64
|
+
Hint: use the `javascript_url` or `script_tag` filters for referencing
|
65
|
+
JavaScript files. You can use liquid within js files for referencing other
|
66
|
+
assets (images or fonts for example).
|
67
|
+
-->
|
68
|
+
<script src="{{ 'bootstrap.js' | javascript_url }}"></script>
|
69
|
+
</body>
|
51
70
|
</html>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!--
|
2
|
+
pages/about.html.liquid
|
3
|
+
|
4
|
+
This template is a custom page. It has all the same liquid functionality of
|
5
|
+
the other templates but you can create as many of them as you want. They're
|
6
|
+
great for things like "about us", "terms & conditions" or "privacy policy".
|
7
|
+
|
8
|
+
The contents of this template are rendered where `content_for_layout` is
|
9
|
+
called within layouts/subdomain.html.liquid. See http://developer.rusic.com/
|
10
|
+
for more details.
|
11
|
+
-->
|
12
|
+
<div class="inner cover">
|
13
|
+
<h1 class="cover-heading">About us</h1>
|
14
|
+
<p class="lead">
|
15
|
+
Find out more about us on this page.
|
16
|
+
</p>
|
17
|
+
<p class="lead">
|
18
|
+
<a href="{{ space.permalink }}" class="btn btn-lg btn-default">Back to the ideas</a>
|
19
|
+
</p>
|
20
|
+
</div>
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require 'pathname'
|
2
|
+
|
3
|
+
module Rusic
|
4
|
+
class ThemeFile
|
5
|
+
attr_reader :file
|
6
|
+
|
7
|
+
def initialize(file)
|
8
|
+
@file = file
|
9
|
+
end
|
10
|
+
|
11
|
+
def uploader
|
12
|
+
case dirname.to_s
|
13
|
+
when 'layouts', 'ideas', 'pages'
|
14
|
+
uploader = Uploaders::Template.new(self)
|
15
|
+
when 'assets'
|
16
|
+
case extname
|
17
|
+
when '.css', '.js'
|
18
|
+
uploader = Uploaders::EditableAsset.new(self)
|
19
|
+
else
|
20
|
+
uploader = Uploaders::Asset.new(self)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
uploader
|
25
|
+
end
|
26
|
+
|
27
|
+
def dirname
|
28
|
+
pathname.dirname
|
29
|
+
end
|
30
|
+
|
31
|
+
def filename
|
32
|
+
pathname.basename
|
33
|
+
end
|
34
|
+
|
35
|
+
def extname
|
36
|
+
pathname.extname
|
37
|
+
end
|
38
|
+
|
39
|
+
def pathname
|
40
|
+
Pathname.new(file)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Rusic
|
2
|
+
module Uploaders
|
3
|
+
class Asset
|
4
|
+
attr_accessor :file, :api_key, :theme, :api_host
|
5
|
+
|
6
|
+
def initialize(file)
|
7
|
+
@file = file
|
8
|
+
end
|
9
|
+
|
10
|
+
def upload_file(options = {})
|
11
|
+
@api_key = options.fetch('api_key')
|
12
|
+
@api_host = options.fetch('api_host')
|
13
|
+
@theme = options.fetch('theme')
|
14
|
+
|
15
|
+
client["themes/#{theme}/assets/#{file.filename}"].put(params)
|
16
|
+
|
17
|
+
puts "Saved assets/#{file.filename}"
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def params
|
23
|
+
{ asset: { image: image } }
|
24
|
+
end
|
25
|
+
|
26
|
+
def image
|
27
|
+
File.open(file.pathname.to_s, 'rb')
|
28
|
+
end
|
29
|
+
|
30
|
+
def client
|
31
|
+
headers = {
|
32
|
+
'X-API-Key' => api_key,
|
33
|
+
'Accept' => 'application/vnd.rusic.v1+json'
|
34
|
+
}
|
35
|
+
|
36
|
+
@client ||= RestClient::Resource.new("http://#{api_host}", headers: headers)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
module Rusic
|
2
|
+
module Uploaders
|
3
|
+
class EditableAsset
|
4
|
+
attr_accessor :file, :api_key, :theme, :api_host
|
5
|
+
|
6
|
+
def initialize(file)
|
7
|
+
@file = file
|
8
|
+
end
|
9
|
+
|
10
|
+
def upload_file(options = {})
|
11
|
+
@api_key = options.fetch('api_key')
|
12
|
+
@api_host = options.fetch('api_host')
|
13
|
+
@theme = options.fetch('theme')
|
14
|
+
|
15
|
+
case file.extname
|
16
|
+
when '.css'
|
17
|
+
client["themes/#{theme}/stylesheets/#{file.filename}"].put(params)
|
18
|
+
|
19
|
+
when '.js'
|
20
|
+
client["themes/#{theme}/javascripts/#{file.filename}"].put(params)
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
puts "Saved assets/#{file.filename}"
|
25
|
+
end
|
26
|
+
|
27
|
+
private
|
28
|
+
|
29
|
+
def params
|
30
|
+
{ asset: { body: body} }
|
31
|
+
end
|
32
|
+
|
33
|
+
def body
|
34
|
+
File.read(file.pathname.to_s)
|
35
|
+
end
|
36
|
+
|
37
|
+
def client
|
38
|
+
headers = {
|
39
|
+
'X-API-Key' => api_key,
|
40
|
+
'Accept' => 'application/vnd.rusic.v1+json'
|
41
|
+
}
|
42
|
+
|
43
|
+
@client ||= RestClient::Resource.new("http://#{api_host}", headers: headers)
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Rusic
|
2
|
+
module Uploaders
|
3
|
+
class Template
|
4
|
+
attr_accessor :file, :api_key, :theme, :api_host
|
5
|
+
|
6
|
+
def initialize(file)
|
7
|
+
@file = file
|
8
|
+
end
|
9
|
+
|
10
|
+
def upload_file(options = {})
|
11
|
+
@api_key = options.fetch('api_key')
|
12
|
+
@api_host = options.fetch('api_host')
|
13
|
+
@theme = options.fetch('theme')
|
14
|
+
|
15
|
+
client["themes/#{theme}/templates/#{file.dirname}/#{file.filename}"].put(params)
|
16
|
+
|
17
|
+
puts "Saved #{file.dirname}/#{file.filename}"
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def params
|
23
|
+
{ template: { body: body} }
|
24
|
+
end
|
25
|
+
|
26
|
+
def body
|
27
|
+
File.read(file.pathname.to_s)
|
28
|
+
end
|
29
|
+
|
30
|
+
def client
|
31
|
+
headers = {
|
32
|
+
'X-API-Key' => api_key,
|
33
|
+
'Accept' => 'application/vnd.rusic.v1+json'
|
34
|
+
}
|
35
|
+
|
36
|
+
@client ||= RestClient::Resource.new("http://#{api_host}", headers: headers)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
data/lib/rusic/version.rb
CHANGED
data/lib/rusic.rb
CHANGED
@@ -1,8 +1,13 @@
|
|
1
|
-
require
|
1
|
+
require 'rusic/version'
|
2
|
+
|
3
|
+
require 'rest_client'
|
2
4
|
|
3
5
|
module Rusic
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
6
|
+
require 'rusic/cli'
|
7
|
+
require 'rusic/deployer'
|
8
|
+
require 'rusic/theme_file'
|
9
|
+
require 'rusic/generators/theme'
|
10
|
+
require 'rusic/uploaders/asset'
|
11
|
+
require 'rusic/uploaders/editable_asset'
|
12
|
+
require 'rusic/uploaders/template'
|
8
13
|
end
|
data/rusic.gemspec
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
#
|
2
|
-
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rusic/version'
|
3
5
|
|
4
|
-
Gem::Specification.new do |
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "rusic"
|
8
|
+
spec.version = Rusic::VERSION
|
9
|
+
spec.authors = ['Chris Mytton', 'Paul Springett']
|
10
|
+
spec.email = ['self@hecticjeff.net', 'paul@simpleweb.co.uk']
|
11
|
+
spec.description = 'Theme creation and deployment'
|
12
|
+
spec.summary = 'Generate and deploy themes to Rusic'
|
13
|
+
spec.homepage = 'http://developer.rusic.com/'
|
14
|
+
spec.license = "MIT"
|
10
15
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
15
20
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
gem.add_development_dependency 'cucumber', '~> 1.0'
|
20
|
-
gem.add_development_dependency 'aruba', '~> 0.4.3'
|
21
|
+
spec.add_runtime_dependency 'thor', '~> 0.14.6'
|
22
|
+
spec.add_runtime_dependency 'rest-client', '~> 1.6'
|
23
|
+
spec.add_runtime_dependency 'filewatcher', '~> 0.3'
|
21
24
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
gem.name = "rusic"
|
26
|
-
gem.require_paths = ['lib']
|
27
|
-
gem.version = Rusic::VERSION
|
25
|
+
spec.add_development_dependency 'rake', '~> 0.9.0'
|
26
|
+
spec.add_development_dependency 'rspec', '~> 2.6.0'
|
27
|
+
spec.add_development_dependency 'rack-test', '~> 0.6'
|
28
28
|
end
|
metadata
CHANGED
@@ -1,173 +1,162 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rusic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0.beta1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Chris Mytton
|
8
|
+
- Paul Springett
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-04-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement:
|
17
|
-
none: false
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
18
17
|
requirements:
|
19
|
-
- - ~>
|
18
|
+
- - "~>"
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: 0.14.6
|
22
21
|
type: :runtime
|
23
22
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: sinatra
|
27
|
-
requirement: &2153400400 !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
29
24
|
requirements:
|
30
|
-
- - ~>
|
25
|
+
- - "~>"
|
31
26
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
33
|
-
type: :runtime
|
34
|
-
prerelease: false
|
35
|
-
version_requirements: *2153400400
|
27
|
+
version: 0.14.6
|
36
28
|
- !ruby/object:Gem::Dependency
|
37
|
-
name:
|
38
|
-
requirement:
|
39
|
-
none: false
|
29
|
+
name: rest-client
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
40
31
|
requirements:
|
41
|
-
- - ~>
|
32
|
+
- - "~>"
|
42
33
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.
|
34
|
+
version: '1.6'
|
44
35
|
type: :runtime
|
45
36
|
prerelease: false
|
46
|
-
version_requirements:
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.6'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
49
|
-
requirement:
|
50
|
-
none: false
|
43
|
+
name: filewatcher
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
51
45
|
requirements:
|
52
|
-
- - ~>
|
46
|
+
- - "~>"
|
53
47
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
48
|
+
version: '0.3'
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
|
-
version_requirements:
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0.3'
|
58
56
|
- !ruby/object:Gem::Dependency
|
59
57
|
name: rake
|
60
|
-
requirement:
|
61
|
-
none: false
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
62
59
|
requirements:
|
63
|
-
- - ~>
|
60
|
+
- - "~>"
|
64
61
|
- !ruby/object:Gem::Version
|
65
62
|
version: 0.9.0
|
66
63
|
type: :development
|
67
64
|
prerelease: false
|
68
|
-
version_requirements:
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 0.9.0
|
69
70
|
- !ruby/object:Gem::Dependency
|
70
71
|
name: rspec
|
71
|
-
requirement:
|
72
|
-
none: false
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - ~>
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 2.6.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements:
|
80
|
-
- !ruby/object:Gem::Dependency
|
81
|
-
name: rack-test
|
82
|
-
requirement: &2153421900 !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
80
|
requirements:
|
85
|
-
- - ~>
|
81
|
+
- - "~>"
|
86
82
|
- !ruby/object:Gem::Version
|
87
|
-
version:
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: *2153421900
|
83
|
+
version: 2.6.0
|
91
84
|
- !ruby/object:Gem::Dependency
|
92
|
-
name:
|
93
|
-
requirement:
|
94
|
-
none: false
|
85
|
+
name: rack-test
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
95
87
|
requirements:
|
96
|
-
- - ~>
|
88
|
+
- - "~>"
|
97
89
|
- !ruby/object:Gem::Version
|
98
|
-
version: '
|
90
|
+
version: '0.6'
|
99
91
|
type: :development
|
100
92
|
prerelease: false
|
101
|
-
version_requirements:
|
102
|
-
- !ruby/object:Gem::Dependency
|
103
|
-
name: aruba
|
104
|
-
requirement: &2153420980 !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
94
|
requirements:
|
107
|
-
- - ~>
|
95
|
+
- - "~>"
|
108
96
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
110
|
-
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: *2153420980
|
113
|
-
description: Theming tool for rusic.com
|
97
|
+
version: '0.6'
|
98
|
+
description: Theme creation and deployment
|
114
99
|
email:
|
115
100
|
- self@hecticjeff.net
|
101
|
+
- paul@simpleweb.co.uk
|
116
102
|
executables:
|
117
103
|
- rusic
|
118
104
|
extensions: []
|
119
105
|
extra_rdoc_files: []
|
120
106
|
files:
|
121
|
-
- .gitignore
|
122
|
-
- .
|
107
|
+
- ".gitignore"
|
108
|
+
- ".ruby-version"
|
123
109
|
- Gemfile
|
124
110
|
- MIT-LICENCE
|
125
111
|
- README.md
|
126
112
|
- Rakefile
|
127
|
-
- TODO.md
|
128
113
|
- bin/rusic
|
129
|
-
- features/rusic.feature
|
130
|
-
- features/support/env.rb
|
131
114
|
- lib/rusic.rb
|
132
115
|
- lib/rusic/cli.rb
|
133
|
-
- lib/rusic/
|
134
|
-
- lib/rusic/
|
135
|
-
- lib/rusic/
|
116
|
+
- lib/rusic/deployer.rb
|
117
|
+
- lib/rusic/generators/theme.rb
|
118
|
+
- lib/rusic/templates/README.md
|
119
|
+
- lib/rusic/templates/assets/bootstrap.css
|
120
|
+
- lib/rusic/templates/assets/bootstrap.js
|
121
|
+
- lib/rusic/templates/assets/cover.css
|
122
|
+
- lib/rusic/templates/assets/glyphicons-halflings-regular.eot
|
123
|
+
- lib/rusic/templates/assets/glyphicons-halflings-regular.svg
|
124
|
+
- lib/rusic/templates/assets/glyphicons-halflings-regular.ttf
|
125
|
+
- lib/rusic/templates/assets/glyphicons-halflings-regular.woff
|
136
126
|
- lib/rusic/templates/ideas/edit.html.liquid
|
137
127
|
- lib/rusic/templates/ideas/index.html.liquid
|
138
128
|
- lib/rusic/templates/ideas/new.html.liquid
|
139
129
|
- lib/rusic/templates/ideas/show.html.liquid
|
140
130
|
- lib/rusic/templates/layouts/subdomain.html.liquid
|
141
|
-
- lib/rusic/templates/
|
131
|
+
- lib/rusic/templates/pages/about.html.liquid
|
132
|
+
- lib/rusic/theme_file.rb
|
133
|
+
- lib/rusic/uploaders/asset.rb
|
134
|
+
- lib/rusic/uploaders/editable_asset.rb
|
135
|
+
- lib/rusic/uploaders/template.rb
|
142
136
|
- lib/rusic/version.rb
|
143
137
|
- rusic.gemspec
|
144
|
-
|
145
|
-
|
146
|
-
|
138
|
+
homepage: http://developer.rusic.com/
|
139
|
+
licenses:
|
140
|
+
- MIT
|
141
|
+
metadata: {}
|
147
142
|
post_install_message:
|
148
143
|
rdoc_options: []
|
149
144
|
require_paths:
|
150
145
|
- lib
|
151
146
|
required_ruby_version: !ruby/object:Gem::Requirement
|
152
|
-
none: false
|
153
147
|
requirements:
|
154
|
-
- -
|
148
|
+
- - ">="
|
155
149
|
- !ruby/object:Gem::Version
|
156
150
|
version: '0'
|
157
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
|
-
none: false
|
159
152
|
requirements:
|
160
|
-
- -
|
153
|
+
- - ">"
|
161
154
|
- !ruby/object:Gem::Version
|
162
|
-
version:
|
155
|
+
version: 1.3.1
|
163
156
|
requirements: []
|
164
157
|
rubyforge_project:
|
165
|
-
rubygems_version:
|
158
|
+
rubygems_version: 2.2.2
|
166
159
|
signing_key:
|
167
|
-
specification_version:
|
168
|
-
summary: Generate and
|
169
|
-
|
170
|
-
test_files:
|
171
|
-
- features/rusic.feature
|
172
|
-
- features/support/env.rb
|
173
|
-
- spec/rusic_spec.rb
|
160
|
+
specification_version: 4
|
161
|
+
summary: Generate and deploy themes to Rusic
|
162
|
+
test_files: []
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm use 1.9.2@rusic-gem --create
|