strappy 0.0.02
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +22 -0
- data/app/helpers/flash_message_helper.rb +29 -0
- data/lib/generators/strap/install/install_generator.rb +25 -0
- data/lib/generators/strap/install/templates/bootstrap-theme.css +459 -0
- data/lib/generators/strap/install/templates/bootstrap.css +7098 -0
- data/lib/generators/strap/install/templates/bootstrap.js +2002 -0
- data/lib/strappy.rb +5 -0
- data/lib/strappy/bootstrap.rb +2 -0
- data/lib/strappy/engine.rb +13 -0
- data/lib/strappy/version.rb +3 -0
- metadata +120 -0
data/lib/strappy.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'rails'
|
2
|
+
|
3
|
+
require File.dirname(__FILE__) + '/../../app/helpers/flash_message_helper.rb'
|
4
|
+
|
5
|
+
module Strappy
|
6
|
+
class Engine < ::Rails::Engine
|
7
|
+
initializer 'strappy.setup_helpers' do |app|
|
8
|
+
app.config.to_prepare do
|
9
|
+
ActionController::Base.send :helper, FlashMessageHelper
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: strappy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.02
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Tommy Schaefer
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: railties
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '3.1'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.1'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: actionpack
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '3.1'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.1'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rails
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.1'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.1'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: rspec
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :development
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
description: Strappy includes generators and helpers to make Twitter Bootstrap 3.0
|
79
|
+
use simple in Rails 4
|
80
|
+
email:
|
81
|
+
- tommyschaefer@outlook.com
|
82
|
+
executables: []
|
83
|
+
extensions: []
|
84
|
+
extra_rdoc_files: []
|
85
|
+
files:
|
86
|
+
- lib/generators/strap/install/install_generator.rb
|
87
|
+
- lib/generators/strap/install/templates/bootstrap-theme.css
|
88
|
+
- lib/generators/strap/install/templates/bootstrap.css
|
89
|
+
- lib/generators/strap/install/templates/bootstrap.js
|
90
|
+
- lib/strappy/bootstrap.rb
|
91
|
+
- lib/strappy/engine.rb
|
92
|
+
- lib/strappy/version.rb
|
93
|
+
- lib/strappy.rb
|
94
|
+
- app/helpers/flash_message_helper.rb
|
95
|
+
- README.md
|
96
|
+
homepage: https://github.com/tommyschaefer/strapper
|
97
|
+
licenses: []
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options: []
|
100
|
+
require_paths:
|
101
|
+
- lib
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
104
|
+
requirements:
|
105
|
+
- - ! '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
110
|
+
requirements:
|
111
|
+
- - ! '>='
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
114
|
+
requirements: []
|
115
|
+
rubyforge_project:
|
116
|
+
rubygems_version: 1.8.24
|
117
|
+
signing_key:
|
118
|
+
specification_version: 3
|
119
|
+
summary: Rails helpers and generators for easy bootstrapping.
|
120
|
+
test_files: []
|