jabysoft-bootstrap_generators 0.1.2 → 0.1.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e41cb06fa67030a5593e2c974b80b00d849f0da
|
4
|
+
data.tar.gz: 81d3dd7500d000a87a013551e087b1be95a9759b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30bdd3903025fbd37e9f684914d0cd8caac538e54025541260baa07969bb36bec2c66ccb07027eee8896e1d7301bb365ded06670dff88a318d77bbc9ece9dc79
|
7
|
+
data.tar.gz: f6a3090d8638c54a9e0d7e9fbbfaa9e3bf9b1a34296b096f1cf02a7f6af65ae2e4fa3a855afe524044246f7f5ef5b2723a17e27fdb6993b4fd24de3263353a32
|
data/README.md
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
# Jabysoft::BootstrapGenerators
|
2
2
|
|
3
3
|
[ ![Codeship Status for jabysoft/jabysoft-bootstrap_generators](https://app.codeship.com/projects/010626d0-a0a9-0134-6f7a-32a482bba10c/status?branch=master)](https://app.codeship.com/projects/189767)
|
4
|
-
[![
|
4
|
+
[![Code Climate](https://codeclimate.com/github/jabysoft/jabysoft-bootstrap_generators/badges/gpa.svg)](https://codeclimate.com/github/jabysoft/jabysoft-bootstrap_generators)
|
5
|
+
[![Test Coverage](https://codeclimate.com/github/jabysoft/jabysoft-bootstrap_generators/badges/coverage.svg)](https://codeclimate.com/github/jabysoft/jabysoft-bootstrap_generators/coverage)
|
6
|
+
[![Issue Count](https://codeclimate.com/github/jabysoft/jabysoft-bootstrap_generators/badges/issue_count.svg)](https://codeclimate.com/github/jabysoft/jabysoft-bootstrap_generators)
|
5
7
|
|
6
8
|
|
7
9
|
## Installation
|
@@ -22,7 +24,7 @@ Or install it yourself as:
|
|
22
24
|
|
23
25
|
## Usage
|
24
26
|
|
25
|
-
|
27
|
+
Write usage instructions here
|
26
28
|
|
27
29
|
## Development
|
28
30
|
|
@@ -1,5 +1,6 @@
|
|
1
1
|
- unless flash.empty?
|
2
2
|
- flash.each do |name, msg|
|
3
|
+
- name = name.eql?('alert') ? 'warning' : name
|
3
4
|
= content_tag :div, class: "alert alert-#{name} alert-dismissible", role: "alert" do
|
4
5
|
%button.close{type: "button", data: {dismiss: "alert"} }
|
5
6
|
%span{aria: {hidden: "true"} } ×
|
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
|
|
34
34
|
spec.add_development_dependency 'rails', '~> 5.0'
|
35
35
|
spec.add_development_dependency 'rspec-rails', '~> 3.5'
|
36
36
|
spec.add_development_dependency 'simplecov', '~> 0.12.0'
|
37
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0'
|
37
38
|
spec.add_development_dependency 'generator_spec', '~> 0.9.3'
|
38
39
|
spec.add_runtime_dependency 'jabysoft-rails_patterns', '~> 0.1'
|
39
|
-
spec.add_runtime_dependency 'codacy-coverage', '~> 1.1'
|
40
40
|
end
|
@@ -28,18 +28,18 @@ module Jabysoft
|
|
28
28
|
application_js_path = 'app/assets/javascripts/application.js'
|
29
29
|
application_sass_path = 'app/assets/stylesheets/application.scss'
|
30
30
|
|
31
|
-
if ::File.
|
31
|
+
if ::File.exist?('app/assets/stylesheets/application.css')
|
32
32
|
css_file = ::File.open('app/assets/stylesheets/application.css')
|
33
33
|
FileUtils.mv css_file, "#{File.dirname(css_file)}/#{File.basename(css_file,'.*')}.scss"
|
34
34
|
end
|
35
35
|
|
36
|
-
if ::File.
|
36
|
+
if ::File.exist?(::File.join(destination_root, application_js_path))
|
37
37
|
inject_into_file application_js_path, before: '//= require_tree' do
|
38
38
|
"//= require jabysoft\n"
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
-
if ::File.
|
42
|
+
if ::File.exist?(::File.join(destination_root, application_sass_path))
|
43
43
|
inject_into_file application_sass_path, after: ' */' do
|
44
44
|
"\n\n@import 'jabysoft'\n"
|
45
45
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jabysoft-bootstrap_generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emerson Xavier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -95,47 +95,47 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 0.12.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: codeclimate-test-reporter
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0
|
103
|
+
version: '1.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0
|
110
|
+
version: '1.0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: generator_spec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
118
|
-
type: :
|
117
|
+
version: 0.9.3
|
118
|
+
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: 0.9.3
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: jabysoft-rails_patterns
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
131
|
+
version: '0.1'
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
138
|
+
version: '0.1'
|
139
139
|
description: BootstrapGenerators will provide your application with great scaffold
|
140
140
|
pages and CRUD functionalities
|
141
141
|
email:
|