bootstrap-dev-preview 0.1.7 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82ea27e9ecf549525e5514badb466da6e5f729797958aba975d41df241da737c
4
- data.tar.gz: 9df26b31619d244f655a572b7be1a58e33da6c63ccc06ceb2030e45a49babdae
3
+ metadata.gz: 4cf981d0d919eee02c50fbd49126886ac2e0ed96435e2d9ac7fba7b342e8a753
4
+ data.tar.gz: 45330d1d0f4871d117bcc68594947c5127ddccdab9e8a22e17e6a5e8bd655228
5
5
  SHA512:
6
- metadata.gz: 5c09e0b27a321bde334c7cd2cb72b424b8214f74be2aa398beb93669cc017b3bcfb774142d9e567e32f95b58cbf00c9fdeda6bedf746655149f4d19d195cd0c3
7
- data.tar.gz: bcd2800528cb75bbed7f61b4bf650ca34a57c8684976358feacd0969d6345df66ed91e82e384c297dedc5bd0fa978f441a42fc5015d2ab2d1a035882a46e288b
6
+ metadata.gz: 68d774128a1ebad5dac8f48e7b03149bdb8e1533bcaf6c45d1642be2441fe8682292d7d60ef8af7b436d069805eb5bb782d2ba2336386cb258f9023bb4010935
7
+ data.tar.gz: 418cb6c2bc4bf803dfe262eca6953d4ebad531b8157da57493b264fe2ecc0bef305395c07776198fe72f6542236fa55b9e2cc14d0489c4ee6c8dbed87bdf6548
data/CHANGELOG.md CHANGED
@@ -1,5 +1,2 @@
1
- ## [Unreleased]
2
-
3
- ## [0.1.0] - 2024-05-11
4
-
5
- - Initial release
1
+ ## [1.0.0] - 2024-05-14
2
+ - Add one method rendering Bootstrap Basic Defined colors.
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
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
- Install the gem and add to the application's Gemfile by executing:
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
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
16
+ Add this medhod to your view file.
26
17
 
27
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
18
+ ```erb
19
+ <%= Bootstrap::Dev::Preview.hi %>
20
+ ```
28
21
 
29
22
  ## Contributing
30
-
31
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bootstrap-dev-preview.
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
 
@@ -3,7 +3,7 @@
3
3
  module Bootstrap
4
4
  module Dev
5
5
  module Preview
6
- VERSION = "0.1.7"
6
+ VERSION = "1.0.0"
7
7
  end
8
8
  end
9
9
  end
@@ -6,7 +6,13 @@ module Bootstrap
6
6
  module Dev
7
7
  module Preview
8
8
  def self.hi
9
- "Nice to meet you, I am INO..."
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.1.7
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-12 00:00:00.000000000 Z
11
+ date: 2024-05-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Create one view template.
14
14
  email: