bootstrap_bux 0.1.2 → 0.1.4

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
  SHA256:
3
- metadata.gz: 452a88ff1e344da14b73025070e83c7782f6ba4218acd42bacded0d0b2645498
4
- data.tar.gz: 4336facd8b9fb65efc3b929cad80bcf4c27400c44ad31d6c2e185d21cbb91619
3
+ metadata.gz: c7849c4205285c9e8f673b365e735fa97074b89f22f0bf0407ed3a9d6f06b3ae
4
+ data.tar.gz: 9c02baaeba68d689e2d0eb4e85c5814d53958af744fde2d17bc1a9e259dd40d7
5
5
  SHA512:
6
- metadata.gz: 8a981fc2c5f39a5f58c3a38842668c3365650ff57d4dc2b637f077a3112ee3677bf414b55145c4b069e51881830535f2a3a78fc74807b33372f2bf2b3bb05183
7
- data.tar.gz: bd9ab1fd284a6ecda457d2561182e1a70f903d64cfe1591159c1a31c73e14e62b80b33a6b9fa9a959c94719541ccb09db85198d8ddc84b4a154d0921889a9f5a
6
+ metadata.gz: f6df4ff51f6401cfb97cc4369dff9cd346c3a38843f98b9e40fbafc6009d43299a2c4e76ca373825fcebfd5a4ebf6e6d584b2cfd35bda158488496f91886a070
7
+ data.tar.gz: c96ebdc61857b0b98a63ab70c72f4e267fed1521141d2783b67fab30ddbeef4efdc1c193400320b4b0a0069b13c7a1edf9123e815ce81ff76a42c0b02fcce600
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # BootstrapBux
2
2
 
3
- Bootstrap Bux is a Rails-y way of including the mandatory OSU headers and footers to any website, using the basic BUX color scheme and fonts, while still allowing you to use the Bootstrap (5.3+) framework.
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bootstrap_bux`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
4
6
 
5
7
  ## Installation
6
8
 
@@ -14,50 +16,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
14
16
 
15
17
  ## Usage
16
18
 
17
- Once the gem is installed, place a configuration file at `config/initializers/bootstrap_bux.rb` with the following contents:
18
-
19
- BootstrapBux.configure do |config|
20
- # update these configuration options with your actual departmental info
21
- config.department_name = "My Office"
22
- config.building_room = "100 Building Name"
23
- config.address = "1 Oval Mall"
24
- config.email = "email@osu.edu"
25
- config.phone = "614-292-OHIO"
26
- config.fax = "614-555-5555"
27
-
28
- # only add urls for these if your application/lab/department actually has a presence on the platform
29
- config.facebook = nil
30
- config.twitter = nil
31
- config.instagram = nil
32
- config.linkedin = nil
33
- config.youtube = nil
34
- config.tiktok = nil
35
- end
36
-
37
-
38
- Editing the options in this file will allow you to change the contents of the footer to reflect actual departmental info. Note that if you do not enter URLs for the social media sites those items will be omitted from the footer, but you must include values for all other contact attributes.
39
-
40
- Within your Rails application, rendering headers and footers is simple.
41
-
42
- In your CSS/SCSS file:
43
-
44
- @import "bootstrap_bux/application";
45
-
46
- In your view (most likely in the application layout):
47
-
48
- = render 'bootstrap_bux/osu_header'
49
-
50
- and
51
-
52
- = render 'bootstrap_bux/osu_header_dark'
53
-
54
- or
55
-
56
- = render 'bootstrap_bux/osu_header_light'
57
-
58
- or
59
-
60
- = render 'bootstrap_bux/osu_header_white'
19
+ TODO: Write usage instructions here
61
20
 
62
21
  ## Development
63
22
 
@@ -67,7 +26,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
67
26
 
68
27
  ## Contributing
69
28
 
70
- Bug reports and pull requests are welcome on GitHub at https://code.osu.edu/asctech/bootstrap_bux_gem. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://code.osu.edu/asctech/bootstrap_bux_gem/blob/main/CODE_OF_CONDUCT.md).
29
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bootstrap_bux. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/bootstrap_bux/blob/main/CODE_OF_CONDUCT.md).
71
30
 
72
31
  ## License
73
32
 
@@ -75,4 +34,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
75
34
 
76
35
  ## Code of Conduct
77
36
 
78
- Everyone interacting in the BootstrapBux project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://code.osu.edu/asctech/bootstrap_bux_gem/blob/main/CODE_OF_CONDUCT.md).
37
+ Everyone interacting in the BootstrapBux project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/bootstrap_bux/blob/main/CODE_OF_CONDUCT.md).
@@ -1,14 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "rails"
4
- require "sprockets/railtie"
5
-
6
3
  module BootstrapBux
7
- # make css assets available to any app using the gem
8
4
  class Engine < ::Rails::Engine
9
5
  isolate_namespace BootstrapBux
10
- initializer "bootstrap_bux.assets" do |app|
11
- app.config.assets.paths << root.join("app", "assets", "stylesheets", "bootstrap_bux").to_s
6
+ initializer 'bootstrap_bux.assets' do |app|
7
+ app.config.assets.paths << root.join('app', 'assets', 'stylesheets', 'bootstrap_bux').to_s
12
8
  end
13
9
  end
14
10
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BootstrapBux
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.4"
5
5
  end
data/lib/bootstrap_bux.rb CHANGED
@@ -10,8 +10,7 @@ module BootstrapBux
10
10
  attr_accessor :configuration
11
11
 
12
12
  if defined?(::Sprockets)
13
- Sprockets.append_path(File.join((File.expand_path "..", File.dirname(__FILE__)), "assets", "stylesheets",
14
- "bootstrap_bux"))
13
+ Sprockets.append_path(File.join (File.expand_path '..', File.dirname(__FILE__)), 'assets', 'stylesheets', 'bootstrap_bux')
15
14
  end
16
15
  end
17
16
 
@@ -25,18 +24,20 @@ module BootstrapBux
25
24
  attr_accessor :department_name, :building_room, :address, :email, :phone, :fax, :facebook, :twitter, :instagram,
26
25
  :linkedin, :youtube, :tiktok
27
26
 
28
- @department_name = "My Office"
29
- @building_room = "100 Building Name"
30
- @address = "1 Oval Mall"
31
- @email = "email@osu.edu"
32
- @phone = "614-292-OHIO"
33
- @fax = "614-555-5555"
34
-
35
- @facebook = nil
36
- @twitter = nil
37
- @instagram = nil
38
- @linkedin = nil
39
- @youtube = nil
40
- @tiktok = nil
27
+ def initialize
28
+ @department_name = 'My Office'
29
+ @building_room = '100 Building Name'
30
+ @address = '1 Oval Mall'
31
+ @email = 'email@osu.edu'
32
+ @phone = '614-292-OHIO'
33
+ @fax = '614-555-5555'
34
+
35
+ @facebook = nil
36
+ @twitter = nil
37
+ @instagram = nil
38
+ @linkedin = nil
39
+ @youtube = nil
40
+ @tiktok = nil
41
+ end
41
42
  end
42
43
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_bux
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alison Furlong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-03 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '7.0'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 7.0.4
42
+ version: 7.0.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,14 +49,14 @@ dependencies:
49
49
  version: '7.0'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 7.0.4
52
+ version: 7.0.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: sprockets-rails
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '2.3'
59
+ version: 2.3.0
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: 2.3.2
@@ -66,38 +66,24 @@ dependencies:
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.3'
69
+ version: 2.3.0
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: 2.3.2
73
73
  - !ruby/object:Gem::Dependency
74
- name: railties
75
- requirement: !ruby/object:Gem::Requirement
76
- requirements:
77
- - - "~>"
78
- - !ruby/object:Gem::Version
79
- version: 7.0.4
80
- type: :runtime
81
- prerelease: false
82
- version_requirements: !ruby/object:Gem::Requirement
83
- requirements:
84
- - - "~>"
85
- - !ruby/object:Gem::Version
86
- version: 7.0.4
87
- - !ruby/object:Gem::Dependency
88
- name: rails-controller-testing
74
+ name: rubocop
89
75
  requirement: !ruby/object:Gem::Requirement
90
76
  requirements:
91
77
  - - "~>"
92
78
  - !ruby/object:Gem::Version
93
- version: 1.0.5
79
+ version: '1.64'
94
80
  type: :development
95
81
  prerelease: false
96
82
  version_requirements: !ruby/object:Gem::Requirement
97
83
  requirements:
98
84
  - - "~>"
99
85
  - !ruby/object:Gem::Version
100
- version: 1.0.5
86
+ version: '1.64'
101
87
  - !ruby/object:Gem::Dependency
102
88
  name: rspec-rails
103
89
  requirement: !ruby/object:Gem::Requirement
@@ -118,34 +104,6 @@ dependencies:
118
104
  - - ">="
119
105
  - !ruby/object:Gem::Version
120
106
  version: 6.1.2
121
- - !ruby/object:Gem::Dependency
122
- name: rubocop
123
- requirement: !ruby/object:Gem::Requirement
124
- requirements:
125
- - - "~>"
126
- - !ruby/object:Gem::Version
127
- version: '1.64'
128
- type: :development
129
- prerelease: false
130
- version_requirements: !ruby/object:Gem::Requirement
131
- requirements:
132
- - - "~>"
133
- - !ruby/object:Gem::Version
134
- version: '1.64'
135
- - !ruby/object:Gem::Dependency
136
- name: sqlite3
137
- requirement: !ruby/object:Gem::Requirement
138
- requirements:
139
- - - "~>"
140
- - !ruby/object:Gem::Version
141
- version: '1.4'
142
- type: :development
143
- prerelease: false
144
- version_requirements: !ruby/object:Gem::Requirement
145
- requirements:
146
- - - "~>"
147
- - !ruby/object:Gem::Version
148
- version: '1.4'
149
107
  description: A Rails-y way to install minimal Bux w/Bootstrap and generate OSU headers
150
108
  and footers
151
109
  email:
@@ -168,17 +126,19 @@ files:
168
126
  - lib/bootstrap_bux.rb
169
127
  - lib/bootstrap_bux/engine.rb
170
128
  - lib/bootstrap_bux/version.rb
171
- homepage: https://code.osu.edu/asctech/bootstrap_bux_gem
129
+ homepage: https://code.osu.edu/asctech/bootstrap_bux
172
130
  licenses:
173
131
  - MIT
174
132
  metadata:
175
- homepage_uri: https://code.osu.edu/asctech/bootstrap_bux_gem
176
- source_code_uri: https://code.osu.edu/asctech/bootstrap_bux_gem
177
- changelog_uri: https://code.osu.edu/asctech/bootstrap_bux_gem/CHANGELOG.md
133
+ homepage_uri: https://code.osu.edu/asctech/bootstrap_bux
134
+ source_code_uri: https://code.osu.edu/asctech/bootstrap_bux
135
+ changelog_uri: https://code.osu.edu/asctech/bootstrap_bux/CHANGELOG.md
178
136
  post_install_message:
179
137
  rdoc_options: []
180
138
  require_paths:
181
139
  - lib
140
+ - app
141
+ - config
182
142
  required_ruby_version: !ruby/object:Gem::Requirement
183
143
  requirements:
184
144
  - - ">="