rusic 1.4.1 → 1.5.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: 74dd7129a6758f0547d6081a7322184182003a0d
4
- data.tar.gz: 6605fdefb973ec65f0163c91f7f20b82e2cbdf92
3
+ metadata.gz: 11ae358c8e74cccf799ecddcf48ee88da75de04f
4
+ data.tar.gz: b9cfb83e3ef489d00f9285410c9df2c98582989b
5
5
  SHA512:
6
- metadata.gz: dc70609d14b2b4dd816b71fa7fbbc99c84b71721c9c995518ad688e54aa7413bb8dd543747e1ba9b9975d55f9267fb27b5b5e22a0cee14365e8b0fb51575ae52
7
- data.tar.gz: c6a925c3af9c122ce20c7cdc5318453a03956e4648685e5fcf7dbf8b8cc12ea9240adf2403801244d1027e4e94f2a4739d8a2bf83fa323a2e09c02c8e8d848f0
6
+ metadata.gz: 25f9a1f6d8650ceb871051df43d14e73e029d5b4020b97b87b77e16577b40be1e6a5b68c03e7cc31b23cd0f8e3fdcf1a01824daac0cea18cf6f63bd57de735fd
7
+ data.tar.gz: 6e4cf9636be8221d7d70f2ecfbcaac730a334d21d64ee00ce873ecb6b93e3b1e7527976f6482d42e74545143769ead018667bf9d5562c8d86cac9a953a0a690b
data/Gemfile CHANGED
@@ -2,3 +2,8 @@ source 'http://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in rusic.gemspec
4
4
  gemspec
5
+
6
+ group :development do
7
+ gem 'guard'
8
+ gem 'guard-shell'
9
+ end
data/Guardfile ADDED
@@ -0,0 +1,9 @@
1
+ require './lib/rusic/version'
2
+
3
+ guard :shell do
4
+ watch(%r{lib/.*}) {
5
+ `gem build ./rusic.gemspec`
6
+ `gem install rusic-#{Rusic::VERSION}.gem`
7
+ `rm rusic-#{Rusic::VERSION}.gem`
8
+ }
9
+ end
data/lib/rusic/cli.rb CHANGED
@@ -20,13 +20,13 @@ module Rusic
20
20
  path = Pathname.new(Dir.pwd)
21
21
  files = []
22
22
 
23
- files << Dir.glob(path.join('{layouts,ideas,pages}', '*.liquid'))
23
+ files << Dir.glob(path.join('{layouts,ideas,pages,participant}', '*.liquid'))
24
24
  files << Dir.glob(path.join('assets', '*.*'))
25
25
  files << Dir.glob(path.join('attributes.{yml,yaml}'))
26
26
 
27
27
  files.flatten!
28
28
  if options['watch']
29
- FileWatcher.new(%w[layouts/ ideas/ pages/ assets/]).watch(0.5) do |file, event|
29
+ FileWatcher.new(%w[layouts/ ideas/ pages/ assets/ participant/]).watch(0.5) do |file, event|
30
30
  unless event == :delete
31
31
  deployer = Rusic::Deployer.new(file)
32
32
  deployer.upload_files(deploy_options_for(env))
@@ -10,7 +10,7 @@ module Rusic
10
10
 
11
11
  def uploader
12
12
  case "#{dirname.basename}"
13
- when 'layouts', 'ideas', 'pages'
13
+ when 'layouts', 'ideas', 'pages', 'participant'
14
14
  uploader = Uploaders::Template.new(self)
15
15
  when 'assets'
16
16
  case extname
data/lib/rusic/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rusic
2
- VERSION = "1.4.1"
2
+ VERSION = "1.5.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.4.1
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Mytton
@@ -11,76 +11,76 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-09-18 00:00:00.000000000 Z
14
+ date: 2014-10-27 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - ~>
20
+ - - "~>"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '0.14'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ~>
27
+ - - "~>"
28
28
  - !ruby/object:Gem::Version
29
29
  version: '0.14'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rest-client
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ~>
34
+ - - "~>"
35
35
  - !ruby/object:Gem::Version
36
36
  version: '1.6'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ~>
41
+ - - "~>"
42
42
  - !ruby/object:Gem::Version
43
43
  version: '1.6'
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: filewatcher
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - ~>
48
+ - - "~>"
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0.3'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - ~>
55
+ - - "~>"
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0.3'
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: command_line_reporter
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - ~>
62
+ - - "~>"
63
63
  - !ruby/object:Gem::Version
64
64
  version: '3.3'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - ~>
69
+ - - "~>"
70
70
  - !ruby/object:Gem::Version
71
71
  version: '3.3'
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: rake
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - '>='
76
+ - - ">="
77
77
  - !ruby/object:Gem::Version
78
78
  version: '0'
79
79
  type: :development
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - '>='
83
+ - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  description: Theme creation and deployment for the Rusic platform
@@ -94,8 +94,9 @@ executables:
94
94
  extensions: []
95
95
  extra_rdoc_files: []
96
96
  files:
97
- - .gitignore
97
+ - ".gitignore"
98
98
  - Gemfile
99
+ - Guardfile
99
100
  - MIT-LICENCE
100
101
  - README.md
101
102
  - Rakefile
@@ -137,17 +138,17 @@ require_paths:
137
138
  - lib
138
139
  required_ruby_version: !ruby/object:Gem::Requirement
139
140
  requirements:
140
- - - '>='
141
+ - - ">="
141
142
  - !ruby/object:Gem::Version
142
143
  version: '0'
143
144
  required_rubygems_version: !ruby/object:Gem::Requirement
144
145
  requirements:
145
- - - '>='
146
+ - - ">="
146
147
  - !ruby/object:Gem::Version
147
148
  version: '0'
148
149
  requirements: []
149
150
  rubyforge_project:
150
- rubygems_version: 2.3.0
151
+ rubygems_version: 2.2.2
151
152
  signing_key:
152
153
  specification_version: 4
153
154
  summary: Generate and deploy themes to Rusic