ribbonit 0.1.0 → 0.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 92cd42e89e6bc423c4cb348864a63d84e6391756
4
- data.tar.gz: 86fcc204946e0b49b779fc26551de84476568af1
3
+ metadata.gz: 2b6a0ded118838cf368fd225c19878bca1c1eb0c
4
+ data.tar.gz: bb1f19446f65b7a98541de0fa5bd254013fd8fa2
5
5
  SHA512:
6
- metadata.gz: b3d7e825e6930c5fb50f53b6b30456da2a2522873f6c9db9e2b57e46c034f36699d5fddd216d94f95d94862c3e6e0fad3a958cc2a264d46f061c3a2c987ee920
7
- data.tar.gz: 025e6c3130034094c042b3725f67673703ddf28c01e12820c05afb1f9133a288c22b2d39d06d03f9c17f045e0b21f535b0af7e3de1d537fc0547a8b00891a8a7
6
+ metadata.gz: 624b4345796372affc606edcd0db49a865293d72e501a12186b4a94e9566958a0068bac2ebce69b9a311e296f55dbd9b2b393e0303a57cff785689a29bfcf150
7
+ data.tar.gz: 1b1b3787c21fd1a2b4d054c1e0e04fb8d49e8b86a244c5bea102392372c426edaf8f5d0c3fd21710b260d5627db6db2d1290b2c970ab4fad012e0a26ca919568
@@ -0,0 +1 @@
1
+ exclude-labels="duplicate,question,invalid,wontfix,feature"
data/.gitignore CHANGED
@@ -10,3 +10,4 @@
10
10
 
11
11
  .rubocop-http*
12
12
  !bin
13
+ coverage
@@ -0,0 +1,10 @@
1
+ require 'codacy-coverage'
2
+
3
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
4
+ SimpleCov::Formatter::HTMLFormatter,
5
+ Codacy::Formatter
6
+ ])
7
+
8
+ SimpleCov.start do
9
+ add_group 'lib', 'lib'
10
+ end
@@ -6,11 +6,9 @@ rvm:
6
6
  cache:
7
7
  bundler: true
8
8
 
9
- before_install:
10
- - gem install bundler -v 1.14.6
11
-
12
9
  script:
13
- - bin/rubocop
10
+ - bundle exec bin/rspec
11
+ - bundle exec bin/rubocop
14
12
 
15
13
  notifications:
16
14
  email: false
@@ -0,0 +1,41 @@
1
+ # Change Log
2
+
3
+ ## [Unreleased](https://github.com/anthony-robin/Ribbonit/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/anthony-robin/Ribbonit/compare/v0.1.0...HEAD)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - REFACTOR style using BEM syntax [\#19](https://github.com/anthony-robin/Ribbonit/pull/19) ([anthony-robin](https://github.com/anthony-robin))
10
+ - ADD 'root\_link' option that wraps ribbon [\#18](https://github.com/anthony-robin/Ribbonit/pull/18) ([anthony-robin](https://github.com/anthony-robin))
11
+ - ADD Changelog file [\#17](https://github.com/anthony-robin/Ribbonit/pull/17) ([anthony-robin](https://github.com/anthony-robin))
12
+ - ADD 'git\_branch' option [\#14](https://github.com/anthony-robin/Ribbonit/pull/14) ([anthony-robin](https://github.com/anthony-robin))
13
+ - ADD 'sticky' option [\#13](https://github.com/anthony-robin/Ribbonit/pull/13) ([anthony-robin](https://github.com/anthony-robin))
14
+ - USE Array for infos [\#12](https://github.com/anthony-robin/Ribbonit/pull/12) ([anthony-robin](https://github.com/anthony-robin))
15
+ - REPLACE 'minitest' by 'rspec' [\#8](https://github.com/anthony-robin/Ribbonit/pull/8) ([anthony-robin](https://github.com/anthony-robin))
16
+ - ADD Codacy badges [\#5](https://github.com/anthony-robin/Ribbonit/pull/5) ([anthony-robin](https://github.com/anthony-robin))
17
+ - ADD Gemnasium badge [\#4](https://github.com/anthony-robin/Ribbonit/pull/4) ([anthony-robin](https://github.com/anthony-robin))
18
+ - ADD badge displaying 'gem' version [\#3](https://github.com/anthony-robin/Ribbonit/pull/3) ([anthony-robin](https://github.com/anthony-robin))
19
+
20
+ **Fixed bugs:**
21
+
22
+ - RUN specs with Travis [\#7](https://github.com/anthony-robin/Ribbonit/pull/7) ([anthony-robin](https://github.com/anthony-robin))
23
+
24
+ **Closed issues:**
25
+
26
+ - ADD 'git\_branch' option to Ribbon displayed informations [\#16](https://github.com/anthony-robin/Ribbonit/issues/16)
27
+ - CREATE a 'CHANGELOG' file [\#11](https://github.com/anthony-robin/Ribbonit/issues/11)
28
+ - ADD 'sticky' option to Ribbon configuration [\#10](https://github.com/anthony-robin/Ribbonit/issues/10)
29
+
30
+ ## [v0.1.0](https://github.com/anthony-robin/Ribbonit/tree/v0.1.0) (2017-05-21)
31
+ **Implemented enhancements:**
32
+
33
+ - UPDATE travis instructions, FIX rubocop offenses [\#1](https://github.com/anthony-robin/Ribbonit/pull/1) ([anthony-robin](https://github.com/anthony-robin))
34
+
35
+ **Fixed bugs:**
36
+
37
+ - ADD 'line-height' css property [\#2](https://github.com/anthony-robin/Ribbonit/pull/2) ([anthony-robin](https://github.com/anthony-robin))
38
+
39
+
40
+
41
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/README.md CHANGED
@@ -4,7 +4,11 @@
4
4
 
5
5
  It is completely inspired from the Github 'fork me' ribbon.
6
6
 
7
- ![Travis CI](https://travis-ci.org/anthony-robin/Ribbonit.svg?branch=master)
7
+ [![Gem Version](https://badge.fury.io/rb/ribbonit.svg)](https://rubygems.org/gems/ribbonit)
8
+ [![Travis CI](https://travis-ci.org/anthony-robin/Ribbonit.svg?branch=master)](https://travis-ci.org/anthony-robin/Ribbonit)
9
+ [![Codacy Badge Grade](https://api.codacy.com/project/badge/Grade/521429a8cf91432aba574c69f1385aa2)](https://www.codacy.com/app/anthony-robin/Ribbonit)
10
+ [![Codacy Badge Coverage](https://api.codacy.com/project/badge/Coverage/521429a8cf91432aba574c69f1385aa2)](https://www.codacy.com/app/anthony-robin/Ribbonit)
11
+ [![Dependency Status](https://gemnasium.com/badges/github.com/anthony-robin/Ribbonit.svg)](https://gemnasium.com/github.com/anthony-robin/Ribbonit)
8
12
 
9
13
  ## Installation
10
14
 
@@ -54,11 +58,16 @@ You can customize some options through the initializer. Here are the defaults op
54
58
  ```ruby
55
59
  # config/initializers/ribbonit.rb
56
60
 
57
- display_rails_version = true
58
- display_ruby_version = true
61
+ # rails_version: Version of Ruby on Rails
62
+ # ruby_version: Version of Ruby
63
+ # git_branch: Current git branch (only displayed in development)
64
+ config.infos_to_display = %i[rails_version ruby_version git_branch]
65
+
66
+ config.root_link = false # Wrap ribbon with root_url link ?
59
67
 
60
68
  hide_for_small = true # Display ribbon in small devices ?
61
69
  position = 'top-left' # top-right, bottom-left, bottom-right
70
+ sticky = true # stick to page corner ?
62
71
 
63
72
  # Available colors:
64
73
  # orange, blue, green, red, purple, black, white
@@ -79,19 +88,15 @@ staging_name = 'staging'
79
88
  <td><img src="vendor/assets/images/colors/blue.png" width="100"></td>
80
89
  <td><img src="vendor/assets/images/colors/green.png" width="100"></td>
81
90
  <td><img src="vendor/assets/images/colors/red.png" width="100"></td>
91
+ <td><img src="vendor/assets/images/colors/purple.png" width="100"></td>
92
+ <td><img src="vendor/assets/images/colors/black.png" width="100"></td>
93
+ <td><img src="vendor/assets/images/colors/white.png" width="100"></td>
82
94
  </tr>
83
95
  <tr>
84
96
  <td>Orange</td>
85
97
  <td>Blue</td>
86
98
  <td>Green</td>
87
99
  <td>Red</td>
88
- </tr>
89
- <tr>
90
- <td><img src="vendor/assets/images/colors/purple.png" width="100"></td>
91
- <td><img src="vendor/assets/images/colors/black.png" width="100"></td>
92
- <td><img src="vendor/assets/images/colors/white.png" width="100"></td>
93
- </tr>
94
- <tr>
95
100
  <td>Purple</td>
96
101
  <td>Black</td>
97
102
  <td>White</td>
@@ -126,6 +131,16 @@ staging_name = 'staging'
126
131
  </tr>
127
132
  </table>
128
133
 
134
+ ### Additional informations
135
+ <table>
136
+ <tr>
137
+ <td><img src="vendor/assets/images/git/branch.png" width="100"></td>
138
+ </tr>
139
+ <tr>
140
+ <td>Git branch</td>
141
+ </tr>
142
+ </table>
143
+
129
144
  ## Contributing
130
145
  1. Fork it
131
146
  2. Create your feature branch (`git checkout -b my-new-feature`)
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env ruby
2
+ require 'pathname'
3
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
4
+ Pathname.new(__FILE__).realpath)
5
+
6
+ require 'rubygems'
7
+ require 'bundler/setup'
8
+
9
+ load Gem.bin_path('rspec-core', 'rspec')
@@ -0,0 +1,17 @@
1
+ <span class="ribbon__container__environment"><%= Rails.env.capitalize %></span>
2
+
3
+ <span class="ribbon__container__version">
4
+ <% if config.infos_to_display.include?(:rails_version) %>
5
+ Rails: <strong><%= Rails.version %></strong>
6
+ <% end %>
7
+
8
+ <% if config.infos_to_display.include?(:ruby_version) %>
9
+ Ruby: <strong><%= RUBY_VERSION %></strong>
10
+ <% end %>
11
+ </span>
12
+
13
+ <% if config.infos_to_display.include?(:git_branch) && Rails.env.development? %>
14
+ <span class="ribbon__container__git">
15
+ Branch: <strong><%= branch_name %></strong>
16
+ </span>
17
+ <% end %>
@@ -2,19 +2,15 @@
2
2
 
3
3
  <% if Rails.env.development? || Rails.env.send("#{config.staging_name}?") %>
4
4
 
5
- <div id="ribbon" class="ribbon <%= config.position %> <%= config.hide_for_small ? 'hide-for-small' : '' %>">
6
- <div class="ribbon-container <%= config.themes[Rails.env.to_sym] %>">
7
- <span class="env"><%= Rails.env.capitalize %></span>
8
-
9
- <span class="version">
10
- <% if config.display_rails_version %>
11
- Rails: <strong><%= Rails.version %></strong>
12
- <% end %>
13
-
14
- <% if config.display_ruby_version %>
15
- Ruby: <strong><%= RUBY_VERSION %></strong>
5
+ <div id="ribbon" class="ribbon ribbon--<%= config.position %> <%= config.hide_for_small ? 'ribbon--hide-for-small' : '' %> <%= config.sticky ? 'ribbon--sticky' : '' %> ribbon--<%= line_count %>-lines">
6
+ <div class="ribbon__container ribbon__container--<%= config.themes[Rails.env.to_sym] %>">
7
+ <% if config.root_link %>
8
+ <%= link_to root_url do %>
9
+ <%= render '/lines', config: config %>
16
10
  <% end %>
17
- </span>
11
+ <% else %>
12
+ <%= render '/lines', config: config %>
13
+ <% end %>
18
14
  </div>
19
15
  </div>
20
16
 
@@ -2,8 +2,17 @@ Ribbonit.configure do |config|
2
2
  ###
3
3
  # Displayed informations
4
4
  #
5
- config.display_rails_version = true
6
- config.display_ruby_version = true
5
+ # Available options:
6
+ # - rails_version: Version of Ruby on Rails
7
+ # - ruby_version: Version of Ruby
8
+ # - git_branch: Current git branch (only displayed in development)
9
+ #
10
+ config.infos_to_display = %i[rails_version ruby_version git_branch]
11
+
12
+ ###
13
+ # Wrap ribbon with link that goes to root_url ?
14
+ #
15
+ config.root_link = false
7
16
 
8
17
  ###
9
18
  # Display on small devices ?
@@ -11,14 +20,23 @@ Ribbonit.configure do |config|
11
20
  config.hide_for_small = true
12
21
 
13
22
  ###
14
- # Position - available positions are:
15
- # 'top-left', 'top-right', 'bottom-left', 'bottom-right'
23
+ # Position
24
+ #
25
+ # Available options:
26
+ # top-left, top-right, bottom-left, bottom-right
16
27
  #
17
28
  config.position = 'top-left'
18
29
 
19
30
  ###
20
- # Themes - available options are:
21
- # 'orange', 'blue', 'green', 'red', 'purple', 'black', 'white'
31
+ # Stick ribbon to page on scroll ?
32
+ #
33
+ config.sticky = true
34
+
35
+ ###
36
+ # Themes
37
+ #
38
+ # Available options:
39
+ # orange, blue, green, red, purple, black, white
22
40
  #
23
41
  config.themes = {
24
42
  development: 'black',
@@ -13,13 +13,16 @@ end
13
13
  class Ribbonit::Configuration
14
14
  include ActiveSupport::Configurable
15
15
 
16
- config_accessor(:display_rails_version) { true }
17
- config_accessor(:display_ruby_version) { true }
16
+ config_accessor(:infos_to_display) do
17
+ %i[rails_version ruby_version]
18
+ end
19
+ config_accessor(:root_link) { false }
18
20
  config_accessor(:hide_for_small) { true }
19
21
  config_accessor(:position) { 'top-left' }
22
+ config_accessor(:sticky) { true }
20
23
  config_accessor(:themes) do
21
24
  {
22
- development: 'orange',
25
+ development: 'black',
23
26
  staging: 'blue'
24
27
  }
25
28
  end
@@ -1,3 +1,3 @@
1
1
  module Ribbonit
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  end
@@ -2,4 +2,16 @@ module Ribbonit::ViewHelpers
2
2
  def ribbonit
3
3
  render '/ribbon'
4
4
  end
5
+
6
+ def branch_name
7
+ `git rev-parse --abbrev-ref HEAD`.gsub('feature/', '')
8
+ end
9
+
10
+ def line_count
11
+ height = 1
12
+ items = Ribbonit.configuration.infos_to_display
13
+ height += 1 if items.include?(:ruby_version) || items.include?(:rails_version)
14
+ height += 1 if items.include?(:git_branch) && Rails.env.development?
15
+ height
16
+ end
5
17
  end
@@ -11,19 +11,21 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = 'Display Ribbon with Rails env'
13
13
  spec.description = 'Display an elegant Github like ribbon to your Rails application showing environment informations (Rails environment, Ruby version, Rails version, ...)'
14
- spec.homepage = 'https://github.com/anthony-robin'
14
+ spec.homepage = 'https://github.com/anthony-robin/ribbonit'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
17
  spec.bindir = 'exe'
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_development_dependency 'bundler', '~> 1.12'
22
- spec.add_development_dependency 'rake', '~> 10.0'
23
- spec.add_development_dependency 'minitest', '~> 5.0'
24
- spec.add_development_dependency 'byebug'
25
- spec.add_development_dependency 'rubocop'
26
-
27
21
  spec.add_dependency 'rails'
28
22
  spec.add_dependency 'sassc-rails'
23
+
24
+ spec.add_development_dependency 'bundler', '~> 1.14'
25
+ spec.add_development_dependency 'rake', '~> 12.0'
26
+ spec.add_development_dependency 'rspec', '~> 3.6'
27
+ spec.add_development_dependency 'byebug'
28
+ spec.add_development_dependency 'rubocop'
29
+ spec.add_development_dependency 'simplecov'
30
+ spec.add_development_dependency 'codacy-coverage', '~> 1.1'
29
31
  end
@@ -1,11 +1,12 @@
1
1
  $ribbon_width: 165px
2
2
  $ribbon_height: 165px
3
3
 
4
- $top: 36px
5
- $left: -60px
4
+ $top: 33px
5
+ $left: -66px
6
+ $offset: -5px
6
7
 
7
8
  .ribbon
8
- position: fixed
9
+ position: absolute
9
10
  top: 0
10
11
  left: 0
11
12
  z-index: 1001
@@ -17,37 +18,8 @@ $left: -60px
17
18
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif
18
19
  line-height: 1rem
19
20
 
20
- // Position
21
- &.top-right
22
- right: 0
23
- left: inherit
24
- .ribbon-container
25
- right: $left
26
- left: inherit
27
- transform: rotate(45deg)
28
-
29
- &.bottom-left
30
- top: inherit
31
- bottom: 0
32
- .ribbon-container
33
- top: inherit
34
- bottom: $top
35
- transform: rotate(45deg)
36
-
37
- &.bottom-right
38
- top: inherit
39
- right: 0
40
- bottom: 0
41
- left: inherit
42
- .ribbon-container
43
- top: inherit
44
- right: $left
45
- bottom: $top
46
- left: inherit
47
- transform: rotate(-45deg)
48
-
49
21
  // Container
50
- .ribbon-container
22
+ &__container
51
23
  position: absolute
52
24
  top: $top
53
25
  left: $left
@@ -60,6 +32,10 @@ $left: -60px
60
32
  text-decoration: none
61
33
  font-size: 1rem
62
34
  transform: rotate(-45deg)
35
+ a
36
+ display: block
37
+ color: inherit
38
+ text-decoration: none
63
39
 
64
40
  &::before, &::after
65
41
  position: absolute
@@ -76,31 +52,84 @@ $left: -60px
76
52
  bottom: 1px
77
53
 
78
54
  // Colors
79
- &.orange
55
+ &--orange
80
56
  background: #f80
81
- &.blue
57
+ &--blue
82
58
  background: #49a
83
- &.green
59
+ &--green
84
60
  background: #090
85
- &.red
61
+ &--red
86
62
  background: #a00
87
- &.purple
63
+ &--purple
88
64
  background: #551a8b
89
- &.black
65
+ &--black
90
66
  background: #333
91
- &.white
67
+ &--white
92
68
  background: #fff
93
69
  color: #333
70
+ a
71
+ color: #333
94
72
 
95
73
  // Displayed informations
96
- .env
97
- margin-bottom: 0
74
+ &__environment
75
+ display: block
98
76
  text-transform: uppercase
99
77
 
100
- .version
78
+ &__version, &__git
101
79
  display: block
102
80
  font-size: 11px
103
81
 
82
+ // Sticky
83
+ &--sticky
84
+ position: fixed
85
+
86
+ // Position
87
+ &--top-right
88
+ right: 0
89
+ left: inherit
90
+ .ribbon__container
91
+ right: $left
92
+ left: inherit
93
+ transform: rotate(45deg)
94
+
95
+ &--bottom-left
96
+ top: inherit
97
+ bottom: 0
98
+ .ribbon__container
99
+ top: inherit
100
+ bottom: $top
101
+ transform: rotate(45deg)
102
+
103
+ &--bottom-right
104
+ top: inherit
105
+ right: 0
106
+ bottom: 0
107
+ left: inherit
108
+ .ribbon__container
109
+ top: inherit
110
+ right: $left
111
+ bottom: $top
112
+ left: inherit
113
+ transform: rotate(-45deg)
114
+
115
+ // Ribbon size depending of displayed options
116
+ &--3-lines
117
+ width: $ribbon_width + 15px
118
+ height: $ribbon_height + 15px
119
+ &--top-left
120
+ top: $offset
121
+ left: $offset
122
+ &--top-right
123
+ top: $offset
124
+ right: $offset
125
+ &--bottom-left
126
+ bottom: $offset
127
+ left: $offset
128
+ &--bottom-right
129
+ right: $offset
130
+ bottom: $offset
131
+
104
132
  @media only screen and (max-width: 40em)
105
- .ribbon.hide-for-small
106
- display: none
133
+ .ribbon
134
+ &--hide-for-small
135
+ display: none
metadata CHANGED
@@ -1,57 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ribbonit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Robin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-21 00:00:00.000000000 Z
11
+ date: 2017-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: sassc-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
13
41
  - !ruby/object:Gem::Dependency
14
42
  name: bundler
15
43
  requirement: !ruby/object:Gem::Requirement
16
44
  requirements:
17
45
  - - "~>"
18
46
  - !ruby/object:Gem::Version
19
- version: '1.12'
47
+ version: '1.14'
20
48
  type: :development
21
49
  prerelease: false
22
50
  version_requirements: !ruby/object:Gem::Requirement
23
51
  requirements:
24
52
  - - "~>"
25
53
  - !ruby/object:Gem::Version
26
- version: '1.12'
54
+ version: '1.14'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: rake
29
57
  requirement: !ruby/object:Gem::Requirement
30
58
  requirements:
31
59
  - - "~>"
32
60
  - !ruby/object:Gem::Version
33
- version: '10.0'
61
+ version: '12.0'
34
62
  type: :development
35
63
  prerelease: false
36
64
  version_requirements: !ruby/object:Gem::Requirement
37
65
  requirements:
38
66
  - - "~>"
39
67
  - !ruby/object:Gem::Version
40
- version: '10.0'
68
+ version: '12.0'
41
69
  - !ruby/object:Gem::Dependency
42
- name: minitest
70
+ name: rspec
43
71
  requirement: !ruby/object:Gem::Requirement
44
72
  requirements:
45
73
  - - "~>"
46
74
  - !ruby/object:Gem::Version
47
- version: '5.0'
75
+ version: '3.6'
48
76
  type: :development
49
77
  prerelease: false
50
78
  version_requirements: !ruby/object:Gem::Requirement
51
79
  requirements:
52
80
  - - "~>"
53
81
  - !ruby/object:Gem::Version
54
- version: '5.0'
82
+ version: '3.6'
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: byebug
57
85
  requirement: !ruby/object:Gem::Requirement
@@ -81,13 +109,13 @@ dependencies:
81
109
  - !ruby/object:Gem::Version
82
110
  version: '0'
83
111
  - !ruby/object:Gem::Dependency
84
- name: rails
112
+ name: simplecov
85
113
  requirement: !ruby/object:Gem::Requirement
86
114
  requirements:
87
115
  - - ">="
88
116
  - !ruby/object:Gem::Version
89
117
  version: '0'
90
- type: :runtime
118
+ type: :development
91
119
  prerelease: false
92
120
  version_requirements: !ruby/object:Gem::Requirement
93
121
  requirements:
@@ -95,19 +123,19 @@ dependencies:
95
123
  - !ruby/object:Gem::Version
96
124
  version: '0'
97
125
  - !ruby/object:Gem::Dependency
98
- name: sassc-rails
126
+ name: codacy-coverage
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
- - - ">="
129
+ - - "~>"
102
130
  - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :runtime
131
+ version: '1.1'
132
+ type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
- - - ">="
136
+ - - "~>"
109
137
  - !ruby/object:Gem::Version
110
- version: '0'
138
+ version: '1.1'
111
139
  description: Display an elegant Github like ribbon to your Rails application showing
112
140
  environment informations (Rails environment, Ruby version, Rails version, ...)
113
141
  email:
@@ -116,15 +144,20 @@ executables: []
116
144
  extensions: []
117
145
  extra_rdoc_files: []
118
146
  files:
147
+ - ".github_changelog_generator"
119
148
  - ".gitignore"
120
149
  - ".rubocop.yml"
150
+ - ".simplecov"
121
151
  - ".travis.yml"
152
+ - CHANGELOG.md
122
153
  - Gemfile
123
154
  - README.md
124
155
  - Rakefile
125
156
  - bin/console
157
+ - bin/rspec
126
158
  - bin/rubocop
127
159
  - bin/setup
160
+ - lib/app/views/partials/_lines.html.erb
128
161
  - lib/app/views/partials/_ribbon.html.erb
129
162
  - lib/generators/ribbonit/install_generator.rb
130
163
  - lib/generators/ribbonit/templates/ribbonit.rb
@@ -142,11 +175,12 @@ files:
142
175
  - vendor/assets/images/colors/red.png
143
176
  - vendor/assets/images/colors/white.png
144
177
  - vendor/assets/images/environments/staging.png
178
+ - vendor/assets/images/git/branch.png
145
179
  - vendor/assets/images/positions/bottom-left.png
146
180
  - vendor/assets/images/positions/bottom-right.png
147
181
  - vendor/assets/images/positions/top-right.png
148
182
  - vendor/assets/stylesheets/_ribbon.sass
149
- homepage: https://github.com/anthony-robin
183
+ homepage: https://github.com/anthony-robin/ribbonit
150
184
  licenses: []
151
185
  metadata: {}
152
186
  post_install_message: