bootstrap_ui_helper 0.3.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.
@@ -0,0 +1,160 @@
1
+ # Valid Font Awesome Icons
2
+
3
+ module ValidIcons
4
+ VALID_ICONS = %w(fa-glass fa-music fa-search fa-envelope-o fa-heart fa-star
5
+ fa-star-o fa-user fa-film fa-th-large fa-th fa-th-list
6
+ fa-check fa-remove fa-close fa-times fa-search-plus
7
+ fa-search-minus fa-power-off fa-signal fa-gear fa-cog
8
+ fa-trash-o fa-home fa-file-o fa-clock-o fa-road fa-download
9
+ fa-arrow-circle-o-down fa-arrow-circle-o-up fa-inbox
10
+ fa-play-circle-o fa-rotate-right fa-repeat fa-refresh
11
+ fa-list-alt fa-lock fa-flag fa-headphones fa-volume-off
12
+ fa-volume-down fa-volume-up fa-qrcode fa-barcode fa-tag
13
+ fa-tags fa-book fa-bookmark fa-print fa-camera fa-font
14
+ fa-bold fa-italic fa-text-height fa-text-width fa-align-left
15
+ fa-align-center fa-align-right fa-align-justify fa-list
16
+ fa-dedent fa-outdent fa-indent fa-video-camera fa-photo
17
+ fa-image fa-picture-o fa-pencil fa-map-marker fa-adjust
18
+ fa-tint fa-edit fa-pencil-square-o fa-share-square-o
19
+ fa-check-square-o fa-arrows fa-step-backward fa-fast-backward
20
+ fa-backward fa-play fa-pause fa-stop fa-forward
21
+ fa-fast-forward fa-step-forward fa-eject fa-chevron-left
22
+ fa-chevron-right fa-plus-circle fa-minus-circle
23
+ fa-times-circle fa-check-circle fa-question-circle
24
+ fa-info-circle fa-crosshairs fa-times-circle-o
25
+ fa-check-circle-o fa-ban fa-arrow-left fa-arrow-right
26
+ fa-arrow-up fa-arrow-down fa-mail-forward fa-share fa-expand
27
+ fa-compress fa-plus fa-minus fa-asterisk
28
+ fa-exclamation-circle fa-gift fa-leaf fa-fire fa-eye
29
+ fa-eye-slash fa-warning fa-exclamation-triangle fa-plane
30
+ fa-calendar fa-random fa-comment fa-magnet fa-chevron-up
31
+ fa-chevron-down fa-retweet fa-shopping-cart fa-folder
32
+ fa-folder-open fa-arrows-v fa-arrows-h fa-bar-chart-o
33
+ fa-bar-chart fa-twitter-square fa-facebook-square
34
+ fa-camera-retro fa-key fa-gears fa-cogs fa-comments
35
+ fa-thumbs-o-up fa-thumbs-o-down fa-star-half fa-heart-o
36
+ fa-sign-out fa-linkedin-square fa-thumb-tack fa-external-link
37
+ fa-sign-in fa-trophy fa-github-square fa-upload fa-lemon-o
38
+ fa-phone fa-square-o fa-bookmark-o fa-phone-square fa-twitter
39
+ fa-facebook-f fa-facebook fa-github fa-unlock fa-credit-card
40
+ fa-feed fa-rss fa-hdd-o fa-bullhorn fa-bell fa-certificate
41
+ fa-hand-o-right fa-hand-o-left fa-hand-o-up fa-hand-o-down
42
+ fa-arrow-circle-left fa-arrow-circle-right fa-arrow-circle-up
43
+ fa-arrow-circle-down fa-globe fa-wrench fa-tasks fa-filter
44
+ fa-briefcase fa-arrows-alt fa-group fa-users fa-chain fa-link
45
+ fa-cloud fa-flask fa-cut fa-scissors fa-copy fa-files-o
46
+ fa-paperclip fa-save fa-floppy-o fa-square fa-navicon
47
+ fa-reorder fa-bars fa-list-ul fa-list-ol fa-strikethrough
48
+ fa-underline fa-table fa-magic fa-truck fa-pinterest
49
+ fa-pinterest-square fa-google-plus-square fa-google-plus
50
+ fa-money fa-caret-down fa-caret-up fa-caret-left
51
+ fa-caret-right fa-columns fa-unsorted fa-sort fa-sort-down
52
+ fa-sort-desc fa-sort-up fa-sort-asc fa-envelope fa-linkedin
53
+ fa-rotate-left fa-undo fa-legal fa-gavel fa-dashboard
54
+ fa-tachometer fa-comment-o fa-comments-o fa-flash fa-bolt
55
+ fa-sitemap fa-umbrella fa-paste fa-clipboard fa-lightbulb-o
56
+ fa-exchange fa-cloud-download fa-cloud-upload fa-user-md
57
+ fa-stethoscope fa-suitcase fa-bell-o fa-coffee fa-cutlery
58
+ fa-file-text-o fa-building-o fa-hospital-o fa-ambulance
59
+ fa-medkit fa-fighter-jet fa-beer fa-h-square fa-plus-square
60
+ fa-angle-double-left fa-angle-double-right fa-angle-double-up
61
+ fa-angle-double-down fa-angle-left fa-angle-right fa-angle-up
62
+ fa-angle-down fa-desktop fa-laptop fa-tablet fa-mobile-phone
63
+ fa-mobile fa-circle-o fa-quote-left fa-quote-right fa-spinner
64
+ fa-circle fa-mail-reply fa-reply fa-github-alt fa-folder-o
65
+ fa-folder-open-o fa-smile-o fa-frown-o fa-meh-o fa-gamepad
66
+ fa-keyboard-o fa-flag-o fa-flag-checkered fa-terminal fa-code
67
+ fa-mail-reply-all fa-reply-all fa-star-half-empty
68
+ fa-star-half-full fa-star-half-o fa-location-arrow fa-crop
69
+ fa-code-fork fa-unlink fa-chain-broken fa-question fa-info
70
+ fa-exclamation fa-superscript fa-subscript fa-eraser
71
+ fa-puzzle-piece fa-microphone fa-microphone-slash fa-shield
72
+ fa-calendar-o fa-fire-extinguisher fa-rocket fa-maxcdn
73
+ fa-chevron-circle-left fa-chevron-circle-right
74
+ fa-chevron-circle-up fa-chevron-circle-down fa-html5 fa-css3
75
+ fa-anchor fa-unlock-alt fa-bullseye fa-ellipsis-h
76
+ fa-ellipsis-v fa-rss-square fa-play-circle fa-ticket
77
+ fa-minus-square fa-minus-square-o fa-level-up fa-level-down
78
+ fa-check-square fa-pencil-square fa-external-link-square
79
+ fa-share-square fa-compass fa-toggle-down
80
+ fa-caret-square-o-down fa-toggle-up fa-caret-square-o-up
81
+ fa-toggle-right fa-caret-square-o-right fa-euro fa-eur fa-gbp
82
+ fa-dollar fa-usd fa-rupee fa-inr fa-cny fa-rmb fa-yen fa-jpy
83
+ fa-ruble fa-rouble fa-rub fa-won fa-krw fa-bitcoin fa-btc
84
+ fa-file fa-file-text fa-sort-alpha-asc fa-sort-alpha-desc
85
+ fa-sort-amount-asc fa-sort-amount-desc fa-sort-numeric-asc
86
+ fa-sort-numeric-desc fa-thumbs-up fa-thumbs-down
87
+ fa-youtube-square fa-youtube fa-xing fa-xing-square
88
+ fa-youtube-play fa-dropbox fa-stack-overflow fa-instagram
89
+ fa-flickr fa-adn fa-bitbucket fa-bitbucket-square fa-tumblr
90
+ fa-tumblr-square fa-long-arrow-down fa-long-arrow-up
91
+ fa-long-arrow-left fa-long-arrow-right fa-apple fa-windows
92
+ fa-android fa-linux fa-dribbble fa-skype fa-foursquare
93
+ fa-trello fa-female fa-male fa-gittip fa-gratipay fa-sun-o
94
+ fa-moon-o fa-archive fa-bug fa-vk fa-weibo fa-renren
95
+ fa-pagelines fa-stack-exchange fa-arrow-circle-o-right
96
+ fa-arrow-circle-o-left fa-toggle-left fa-caret-square-o-left
97
+ fa-dot-circle-o fa-wheelchair fa-vimeo-square fa-turkish-lira
98
+ fa-try fa-plus-square-o fa-space-shuttle fa-slack
99
+ fa-envelope-square fa-wordpress fa-openid fa-institution
100
+ fa-bank fa-university fa-mortar-board fa-graduation-cap
101
+ fa-yahoo fa-google fa-reddit fa-reddit-square
102
+ fa-stumbleupon-circle fa-stumbleupon fa-delicious fa-digg
103
+ fa-pied-piper fa-pied-piper-alt fa-drupal fa-joomla
104
+ fa-language fa-fax fa-building fa-child fa-paw fa-spoon
105
+ fa-cube fa-cubes fa-behance fa-behance-square fa-steam
106
+ fa-steam-square fa-recycle fa-automobile fa-car fa-cab
107
+ fa-taxi fa-tree fa-spotify fa-deviantart fa-soundcloud
108
+ fa-database fa-file-pdf-o fa-file-word-o fa-file-excel-o
109
+ fa-file-powerpoint-o fa-file-photo-o fa-file-picture-o
110
+ fa-file-image-o fa-file-zip-o fa-file-archive-o
111
+ fa-file-sound-o fa-file-audio-o fa-file-movie-o
112
+ fa-file-video-o fa-file-code-o fa-vine fa-codepen
113
+ fa-jsfiddle fa-life-bouy fa-life-buoy fa-life-saver
114
+ fa-support fa-life-ring fa-circle-o-notch fa-ra fa-rebel
115
+ fa-ge fa-empire fa-git-square fa-git fa-y-combinator-square
116
+ fa-yc-square fa-hacker-news fa-tencent-weibo fa-qq fa-wechat
117
+ fa-weixin fa-send fa-paper-plane fa-send-o fa-paper-plane-o
118
+ fa-history fa-circle-thin fa-header fa-paragraph fa-sliders
119
+ fa-share-alt fa-share-alt-square fa-bomb fa-soccer-ball-o
120
+ fa-futbol-o fa-tty fa-binoculars fa-plug fa-slideshare
121
+ fa-twitch fa-yelp fa-newspaper-o fa-wifi fa-calculator
122
+ fa-paypal fa-google-wallet fa-cc-visa fa-cc-mastercard
123
+ fa-cc-discover fa-cc-amex fa-cc-paypal fa-cc-stripe
124
+ fa-bell-slash fa-bell-slash-o fa-trash fa-copyright fa-at
125
+ fa-eyedropper fa-paint-brush fa-birthday-cake fa-area-chart
126
+ fa-pie-chart fa-line-chart fa-lastfm fa-lastfm-square
127
+ fa-toggle-off fa-toggle-on fa-bicycle fa-bus fa-ioxhost
128
+ fa-angellist fa-cc fa-shekel fa-sheqel fa-ils fa-meanpath
129
+ fa-buysellads fa-connectdevelop fa-dashcube fa-forumbee
130
+ fa-leanpub fa-sellsy fa-shirtsinbulk fa-simplybuilt
131
+ fa-skyatlas fa-cart-plus fa-cart-arrow-down fa-diamond
132
+ fa-ship fa-user-secret fa-motorcycle fa-street-view
133
+ fa-heartbeat fa-venus fa-mars fa-mercury fa-intersex
134
+ fa-transgender fa-transgender-alt fa-venus-double
135
+ fa-mars-double fa-venus-mars fa-mars-stroke fa-mars-stroke-v
136
+ fa-mars-stroke-h fa-neuter fa-genderless fa-facebook-official
137
+ fa-pinterest-p fa-whatsapp fa-server fa-user-plus
138
+ fa-user-times fa-hotel fa-bed fa-viacoin fa-train fa-subway
139
+ fa-medium fa-yc fa-y-combinator fa-optin-monster fa-opencart
140
+ fa-expeditedssl fa-battery-4 fa-battery-full fa-battery-3
141
+ fa-battery-three-quarters fa-battery-2 fa-battery-half
142
+ fa-battery-1 fa-battery-quarter fa-battery-0 fa-battery-empty
143
+ fa-mouse-pointer fa-i-cursor fa-object-group
144
+ fa-object-ungroup fa-sticky-note fa-sticky-note-o fa-cc-jcb
145
+ fa-cc-diners-club fa-clone fa-balance-scale fa-hourglass-o
146
+ fa-hourglass-1 fa-hourglass-start fa-hourglass-2
147
+ fa-hourglass-half fa-hourglass-3 fa-hourglass-end
148
+ fa-hourglass fa-hand-grab-o fa-hand-rock-o fa-hand-stop-o
149
+ fa-hand-paper-o fa-hand-scissors-o fa-hand-lizard-o
150
+ fa-hand-spock-o fa-hand-pointer-o fa-hand-peace-o
151
+ fa-trademark fa-registered fa-creative-commons fa-gg
152
+ fa-gg-circle fa-tripadvisor fa-odnoklassniki
153
+ fa-odnoklassniki-square fa-get-pocket fa-wikipedia-w
154
+ fa-safari fa-chrome fa-firefox fa-opera fa-internet-explorer
155
+ fa-tv fa-television fa-contao fa-500px fa-amazon
156
+ fa-calendar-plus-o fa-calendar-minus-o fa-calendar-times-o
157
+ fa-calendar-check-o fa-industry fa-map-pin fa-map-signs
158
+ fa-map-o fa-map fa-commenting fa-commenting-o fa-houzz
159
+ fa-vimeo fa-black-tie fa-fonticons)
160
+ end
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'bootstrap_ui_helper/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'bootstrap_ui_helper'
8
+ spec.version = BootstrapUiHelper::VERSION
9
+ spec.authors = ['Sen Zhang']
10
+ spec.email = ['solowolf21@gmail.com']
11
+ spec.summary = %q{Bootstrap UI Helper}
12
+ spec.description = %q{Bootstrap UI Helper Engine}
13
+ spec.homepage = 'https://github.com/Sen-Zhang/bootstrap_ui_helper'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_development_dependency 'bundler', '~> 1.7'
22
+ spec.add_development_dependency 'rake', '~> 10.0'
23
+ end
data/codeclimate.yml ADDED
@@ -0,0 +1,58 @@
1
+ # This is a sample .codeclimate.yml configured for Engine analysis on Code
2
+ # Climate Platform. For an overview of the Code Climate Platform, see here:
3
+ # http://docs.codeclimate.com/article/300-the-codeclimate-platform
4
+
5
+ # Under the engines key, you can configure which engines will analyze your repo.
6
+ # Each key is an engine name. For each value, you need to specify enabled: true
7
+ # to enable the engine as well as any other engines-specific configuration.
8
+
9
+ # For more details, see here:
10
+ # http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml#platform
11
+
12
+ # For a list of all available engines, see here:
13
+ # http://docs.codeclimate.com/article/296-engines-available-engines
14
+
15
+ engines:
16
+ # to turn on an engine, add it here and set enabled to `true`
17
+ # to turn off an engine, set enabled to `false` or remove it
18
+ rubocop:
19
+ enabled: true
20
+ checks:
21
+ Rubocop/Metrics/LineLength:
22
+ enabled: false
23
+ Rubocop/Style/CaseIndentation:
24
+ enabled: false
25
+ Rubocop/Style/SpaceAroundEqualsInParameterDefault:
26
+ enabled: false
27
+ Rubocop/Style/Documentation:
28
+ enabled: false
29
+ eslint:
30
+ enabled: true
31
+ checks:
32
+ no-multi-spaces:
33
+ enabled: false
34
+ csslint:
35
+ enabled: true
36
+
37
+ # Engines can analyze files and report issues on them, but you can separately
38
+ # decide which files will receive ratings based on those issues. This is
39
+ # specified by path patterns under the ratings key.
40
+
41
+ # For more details see here:
42
+ # http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml#platform
43
+
44
+ # Note: If the ratings key is not specified, this will result in a 0.0 GPA on your dashboard.
45
+
46
+ # ratings:
47
+ # paths:
48
+ # - app/**
49
+ # - lib/**
50
+ # - "**.rb"
51
+ # - "**.go"
52
+
53
+ # You can globally exclude files from being analyzed by any engine using the
54
+ # exclude_paths key.
55
+
56
+ #exclude_paths:
57
+ #- spec/**/*
58
+ #- vendor/**/*
@@ -0,0 +1,6 @@
1
+ require 'bootstrap_ui_helper/version'
2
+
3
+ module BootstrapUiHelper
4
+ class Engine < ::Rails::Engine
5
+ end
6
+ end
@@ -0,0 +1,3 @@
1
+ module BootstrapUiHelper
2
+ VERSION = '0.3.0'
3
+ end
metadata ADDED
@@ -0,0 +1,103 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bootstrap_ui_helper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Sen Zhang
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-10-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Bootstrap UI Helper Engine
42
+ email:
43
+ - solowolf21@gmail.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - Gemfile
50
+ - LICENSE.txt
51
+ - README.md
52
+ - Rakefile
53
+ - app/assets/javascripts/bootstrap_ui_helper.js
54
+ - app/assets/stylesheets/bootstrap_ui_helper.css
55
+ - app/helpers/alert_box_helper.rb
56
+ - app/helpers/badge_helper.rb
57
+ - app/helpers/bootstrap_form_helper.rb
58
+ - app/helpers/bootstrap_form_options_helper.rb
59
+ - app/helpers/breadcrumb_helper.rb
60
+ - app/helpers/button_helper.rb
61
+ - app/helpers/button_to_helper.rb
62
+ - app/helpers/dropdown_helper.rb
63
+ - app/helpers/format_helper.rb
64
+ - app/helpers/icon_helper.rb
65
+ - app/helpers/label_helper.rb
66
+ - app/helpers/link_helper.rb
67
+ - app/helpers/modal_helper.rb
68
+ - app/helpers/nav_helper.rb
69
+ - app/helpers/navbar_helper.rb
70
+ - app/helpers/panel_helper.rb
71
+ - app/helpers/panel_row_helper.rb
72
+ - app/helpers/progress_bar_helper.rb
73
+ - app/helpers/valid_icons.rb
74
+ - bootstrap_ui_helper.gemspec
75
+ - codeclimate.yml
76
+ - lib/bootstrap_ui_helper.rb
77
+ - lib/bootstrap_ui_helper/version.rb
78
+ homepage: https://github.com/Sen-Zhang/bootstrap_ui_helper
79
+ licenses:
80
+ - MIT
81
+ metadata: {}
82
+ post_install_message:
83
+ rdoc_options: []
84
+ require_paths:
85
+ - lib
86
+ required_ruby_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ requirements: []
97
+ rubyforge_project:
98
+ rubygems_version: 2.4.4
99
+ signing_key:
100
+ specification_version: 4
101
+ summary: Bootstrap UI Helper
102
+ test_files: []
103
+ has_rdoc: