cyborg 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cyborg.gemspec +18 -19
- data/lib/cyborg/command/scaffold.rb +1 -8
- data/lib/cyborg/version.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccb81174b95a4d0422e0d1699b924b64ca66fdbb
|
4
|
+
data.tar.gz: cfaa28b609ed472f01ea92101cebc3c12ccc371f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b89a6be74f6b37e2d6f7b4278a5ebcd86967e891805745df690d82fc6c41f516a566ffd30b274d9fc5ac6082ae05c710e11eefdc9d8684b9e2095c6d2eee1f9
|
7
|
+
data.tar.gz: c0d0d838203e84065de7f42cca54a8d6531f378931aed57f424aef2f4ac7f6fe02d365af14d6146b24f8d1b015d80c788e437a02de47426b82bfc0a31e4e3d1a
|
data/cyborg.gemspec
CHANGED
@@ -1,34 +1,33 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
$:.push File.expand_path(
|
2
|
+
$:.push File.expand_path('../lib', __FILE__)
|
3
3
|
require 'cyborg/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name =
|
6
|
+
spec.name = 'cyborg'
|
7
7
|
spec.version = Cyborg::VERSION
|
8
|
-
spec.authors = [
|
9
|
-
spec.email = [
|
8
|
+
spec.authors = ['Brandon Mathis']
|
9
|
+
spec.email = ['brandon@imathis.com']
|
10
10
|
|
11
11
|
spec.summary = %q{Build a great style-guide for Rails (and humans).}
|
12
12
|
spec.description = %q{This is a tool for creating powerufl style guides using rails engines and awesomeness.}
|
13
|
-
spec.homepage =
|
14
|
-
spec.license =
|
13
|
+
spec.homepage = 'https://github.com/compose-ui/cyborg'
|
14
|
+
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
-
spec.bindir =
|
17
|
+
spec.bindir = 'bin'
|
18
18
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
-
spec.require_paths = [
|
19
|
+
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_runtime_dependency
|
22
|
-
spec.add_runtime_dependency
|
23
|
-
spec.add_runtime_dependency
|
21
|
+
spec.add_runtime_dependency 'sass', '~> 3.4'
|
22
|
+
spec.add_runtime_dependency 'esvg', '~> 2.9'
|
23
|
+
spec.add_runtime_dependency 'listen', '~> 3.0.0'
|
24
24
|
spec.add_runtime_dependency 'block_helpers', '~> 0.3'
|
25
|
-
spec.add_runtime_dependency 'colorize',
|
26
|
-
spec.add_runtime_dependency
|
27
|
-
spec.add_runtime_dependency
|
28
|
-
spec.add_runtime_dependency 'rack-cors',
|
25
|
+
spec.add_runtime_dependency 'colorize', '~> 0.8'
|
26
|
+
spec.add_runtime_dependency 'bundler', '~> 1.10'
|
27
|
+
spec.add_runtime_dependency 'autoprefixer-rails', '~> 6.4'
|
28
|
+
spec.add_runtime_dependency 'rack-cors', '~> 0.4'
|
29
|
+
spec.add_runtime_dependency 'rails', '>= 4.2', '< 6'
|
29
30
|
|
30
|
-
spec.
|
31
|
-
|
32
|
-
spec.add_development_dependency "bundler", "~> 1.11"
|
33
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
31
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
32
|
+
spec.add_development_dependency 'pry-byebug'
|
34
33
|
end
|
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'fileutils'
|
2
|
+
require 'pry-byebug'
|
2
3
|
|
3
4
|
module Cyborg
|
4
5
|
class Scaffold
|
@@ -17,8 +18,6 @@ module Cyborg
|
|
17
18
|
@gemspec_path = new_gem
|
18
19
|
@path = File.expand_path(File.dirname(@gemspec_path))
|
19
20
|
|
20
|
-
fix_gemspec_files
|
21
|
-
|
22
21
|
@spec = Gem::Specification.load(@gemspec_path)
|
23
22
|
|
24
23
|
bootstrap_gem
|
@@ -42,12 +41,6 @@ module Cyborg
|
|
42
41
|
end
|
43
42
|
end
|
44
43
|
|
45
|
-
# First remove scaffold spec.files (which rely on git) to avoid errors
|
46
|
-
# when loading the spec
|
47
|
-
def fix_gemspec_files
|
48
|
-
write_file(gemspec_path, File.read(gemspec_path).gsub(/^.+spec\.files.+$/,''))
|
49
|
-
end
|
50
|
-
|
51
44
|
def bootstrap_gem
|
52
45
|
|
53
46
|
# Remove unnecessary bin dir
|
data/lib/cyborg/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cyborg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '1.
|
89
|
+
version: '1.10'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '1.
|
96
|
+
version: '1.10'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: autoprefixer-rails
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,33 +143,33 @@ dependencies:
|
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: '6'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
146
|
+
name: rake
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
148
148
|
requirements:
|
149
149
|
- - "~>"
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: '
|
151
|
+
version: '10.0'
|
152
152
|
type: :development
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '
|
158
|
+
version: '10.0'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
|
-
name:
|
160
|
+
name: pry-byebug
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
|
-
- - "
|
163
|
+
- - ">="
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version: '
|
165
|
+
version: '0'
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
|
-
- - "
|
170
|
+
- - ">="
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: '
|
172
|
+
version: '0'
|
173
173
|
description: This is a tool for creating powerufl style guides using rails engines
|
174
174
|
and awesomeness.
|
175
175
|
email:
|