bootstrap-dev-preview 0.1.6 → 1.0.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 +4 -4
- data/CHANGELOG.md +2 -5
- data/README.md +13 -20
- data/lib/bootstrap/dev/preview/version.rb +1 -1
- data/lib/bootstrap/dev/preview.rb +7 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cf981d0d919eee02c50fbd49126886ac2e0ed96435e2d9ac7fba7b342e8a753
|
4
|
+
data.tar.gz: 45330d1d0f4871d117bcc68594947c5127ddccdab9e8a22e17e6a5e8bd655228
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68d774128a1ebad5dac8f48e7b03149bdb8e1533bcaf6c45d1642be2441fe8682292d7d60ef8af7b436d069805eb5bb782d2ba2336386cb258f9023bb4010935
|
7
|
+
data.tar.gz: 418cb6c2bc4bf803dfe262eca6953d4ebad531b8157da57493b264fe2ecc0bef305395c07776198fe72f6542236fa55b9e2cc14d0489c4ee6c8dbed87bdf6548
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,34 +1,27 @@
|
|
1
1
|
# Bootstrap::Dev::Preview
|
2
|
-
|
3
|
-
TODO: Delete this and the text below, and describe your gem
|
4
|
-
|
5
|
-
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/dev/preview`. To experiment with that code, run `bin/console` for an interactive prompt.
|
2
|
+
- This Gem Helps Web Developerw using Bootstrap.
|
6
3
|
|
7
4
|
## Installation
|
5
|
+
```ruby
|
6
|
+
gem 'bootstrap-dev-preview'
|
7
|
+
```
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
$ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
14
|
-
|
15
|
-
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
|
-
|
17
|
-
$ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
9
|
+
```bash
|
10
|
+
$ bundle install
|
11
|
+
```
|
18
12
|
|
19
13
|
## Usage
|
20
|
-
|
21
|
-
TODO: Write usage instructions here
|
22
|
-
|
23
14
|
## Development
|
24
15
|
|
25
|
-
|
16
|
+
Add this medhod to your view file.
|
26
17
|
|
27
|
-
|
18
|
+
```erb
|
19
|
+
<%= Bootstrap::Dev::Preview.hi %>
|
20
|
+
```
|
28
21
|
|
29
22
|
## Contributing
|
30
|
-
|
31
|
-
|
23
|
+
- I will be happy to get idea from you!
|
24
|
+
- [Here](https://gitlab.com/share292508/bootstrap-dev-preview/-/issues/new) is issue creation
|
32
25
|
|
33
26
|
## License
|
34
27
|
|
@@ -6,7 +6,13 @@ module Bootstrap
|
|
6
6
|
module Dev
|
7
7
|
module Preview
|
8
8
|
def self.hi
|
9
|
-
|
9
|
+
# bootstrap basic defined colors
|
10
|
+
colors = ['primary','secondary','info','warning','dark','light','white']
|
11
|
+
returned = ""
|
12
|
+
colors.each do |color|
|
13
|
+
returned += "<p class='bg-#{color} p-3'>This is #{color} color</p>"
|
14
|
+
end
|
15
|
+
returned
|
10
16
|
end
|
11
17
|
end
|
12
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-dev-preview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- INK
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Create one view template.
|
14
14
|
email:
|