unirer-bootstrap 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1999217d153e8eb5c35f2703867a6c1e7c22a33c
4
- data.tar.gz: 1ae66f70b9c2d7de6e8c2b39a65a68c3bf3238c2
3
+ metadata.gz: 9ceb76346c53617fa6906eb86dd6af2e45ea170f
4
+ data.tar.gz: 1af49fcbdf89e80c75d68a9ab2c1569dd16f85a1
5
5
  SHA512:
6
- metadata.gz: c2f79afb95fbc89ac31c2fbb37f725f98c67ec984f32ad86093a55286796c1cca7de562abc2a613921191b4685f82087b8a95c44dab2ea0699c7468d860341c6
7
- data.tar.gz: 5f45d120fb087b085cbfae4729ada9cecbcdba6964066b542562fda8d8632e6241a03399c0c78b8aff5c1e1fa07abaaa74f4f08f452876dabba9b36a3cdb7d75
6
+ metadata.gz: 2aed5e6db75c440852012ecb5dc380a5f0616bd9995a21d00618e5c48a056d04aa09d185a64bd0ba76c38f25add347345837253124161788a45da69e02b7f791
7
+ data.tar.gz: f85efa36bf26a68831835c07a3d9ece9c2375ea5ce7292a44d7063d9216f43073479c7d2d585654216fa137b12dac9d73531d92866499d175e2e3be154519262
data/README.md CHANGED
@@ -1,6 +1,7 @@
1
1
  # Unirer Bootstrap
2
2
 
3
3
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](http://opensource.org/licenses/MIT)
4
+ [![Gem Version](https://badge.fury.io/rb/unirer-bootstrap.svg)](https://badge.fury.io/rb/unirer-bootstrap)
4
5
 
5
6
  Unirer (UNIfied Resource Representation) is a series of resource representation engines. The Bootstrap resource representation engine includes Bootstrap-based resource representation templates & snippets.
6
7
  Unirer (统一资源表现)是一系列的资源表现引擎。Bootstrap 资源表现引擎包括基于Bootstrap的资源表现模版和片段。
@@ -12,6 +13,7 @@ gem 'unirer-bootstrap'
12
13
 
13
14
  ## Include the Concern in Controllers & Respond the Calls:
14
15
  ```erb
16
+ <%= render partial: 'unirer/bootstrap/meta' %>
15
17
  <%= render partial: 'unirer/bootstrap/script' %>
16
18
  <%= render partial: 'unirer/bootstrap/style' %>
17
19
  <%= render partial: 'unirer/bootstrap/form_field', locals: { model: model, form: f, name: :phone_number, type: :tel_field } %>
@@ -0,0 +1,6 @@
1
+ <meta charset="UTF-8" />
2
+ <meta name="format-detection" content="telephone=no" />
3
+ <meta name="msapplication-tap-highlight" content="no" />
4
+ <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height" />
5
+ <meta name="renderer" content="webkit" />
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
@@ -1,5 +1,5 @@
1
1
  module Unirer
2
2
  module Bootstrap
3
- VERSION = '0.1'.freeze
3
+ VERSION = '0.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unirer-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.1'
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Topbit Du
@@ -42,6 +42,7 @@ files:
42
42
  - app/helpers/unirer/bootstrap/application_helper.rb
43
43
  - app/views/layouts/unirer/bootstrap/application.html.erb
44
44
  - app/views/unirer/bootstrap/_form_field.html.erb
45
+ - app/views/unirer/bootstrap/_meta.html.erb
45
46
  - app/views/unirer/bootstrap/_script.html.erb
46
47
  - app/views/unirer/bootstrap/_style.html.erb
47
48
  - config/routes.rb