agnostic-frontend 0.0.1.rc1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in agnostic-frontend.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,69 @@
1
+ Copyright (c) 2007 - 2010 blueprintcss.org
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ ----------
25
+
26
+ Copyright (c) 2008 Nathan Smith, http://960.gs/
27
+
28
+ Permission is hereby granted, free of charge, to any person obtaining
29
+ a copy of this software and associated documentation files (the
30
+ "Software"), to deal in the Software without restriction, including
31
+ without limitation the rights to use, copy, modify, merge, publish,
32
+ distribute, sublicense, and/or sell copies of the Software, and to
33
+ permit persons to whom the Software is furnished to do so, subject to
34
+ the following conditions:
35
+
36
+ The above copyright notice and this permission notice shall be
37
+ included in all copies or substantial portions of the Software.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
42
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
43
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
44
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
45
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
46
+ ---------
47
+
48
+ Copyright (c) 2012 Han Kang
49
+
50
+ MIT License
51
+
52
+ Permission is hereby granted, free of charge, to any person obtaining
53
+ a copy of this software and associated documentation files (the
54
+ "Software"), to deal in the Software without restriction, including
55
+ without limitation the rights to use, copy, modify, merge, publish,
56
+ distribute, sublicense, and/or sell copies of the Software, and to
57
+ permit persons to whom the Software is furnished to do so, subject to
58
+ the following conditions:
59
+
60
+ The above copyright notice and this permission notice shall be
61
+ included in all copies or substantial portions of the Software.
62
+
63
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
64
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
65
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
66
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
67
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
68
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
69
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,88 @@
1
+ # Agnostic::Frontend
2
+
3
+ Because in the absence of evidence, one should never assume.
4
+
5
+ ## Purpose
6
+
7
+ The primary purpose of this gem is to make available, in a single gem, various css tools (i.e. resets/grids) and some cookie-cutter javascripts for the Rails asset pipeline. It kinda just seems to make sense that we should really leverage the power of the asset pipeline which we're already using for getting rid of some fairly mundane and monotonous tasks.
8
+
9
+ ## Included CSS Resets
10
+
11
+ These files are nested under the path 'reset', so if you want to include the a reset, do so with the following sprocket directive:
12
+
13
+ /*
14
+ *= require reset/#{name_of_file}
15
+ */
16
+
17
+ - Blueprint
18
+ *= require reset/blueprint
19
+ - Twitter Bootstrap (only their reset portion of their css, in case you're strapped into the system)
20
+ *= require reset/bootstrap
21
+ *= require reset/bootstrap.min
22
+ - Eric Meyer
23
+ *= require reset/eric-meyer
24
+ *= require reset/eric-meyer.min
25
+ - HTML5 doctor
26
+ *= require reset/eric-meyer
27
+ *= require reset/eric-meyer.min
28
+ - Normalize
29
+ *= require reset/normalize
30
+ *= require reset/normalize.min
31
+ - Yahoo YUI3
32
+ *= require reset/yui3
33
+ *= require reset/yui3.min
34
+
35
+ ## Included Grid Systems
36
+
37
+ These files are nested under the path 'grid', so if you want to include the a reset, do so with the following sprocket directive:
38
+
39
+ //= require grid/#{name_of_file}
40
+ - Blueprint
41
+ //= require grid/blueprint #for convenience this will package up blueprint's forms/grid/ie/print/typography files
42
+ # If, hypothetically, you decide to completely ignore and punish people for using internet explorer,
43
+ # then you're in luck, as I have left you the option of including the blueprint files individually, say:
44
+ //= require grid/blueprint/grid
45
+ //= require grid/blueprint/print
46
+ //= require grid/blueprint/forms
47
+ //= require grid/blueprint/typography
48
+ # thus forgoing the blueprint i.e. file:
49
+ //= require grid/blueprint/ie
50
+ - Grid 960
51
+ //= require grid/960
52
+ //= require grid/960_rtl
53
+ //= require grid/960_12_col
54
+ //= require grid/960_12_col_rtl
55
+ //= require grid/960_16_col
56
+ //= require grid/960_16_col_rtl
57
+ //= require grid/960_24_col
58
+ //= require grid/960_24_col_rtl
59
+
60
+ ... or really any of the ones you would normally find in their download
61
+ - Intuit (i.e. an elastic spin off of Grid960. caveat: this one includes it's own reset)
62
+ - Fluid 960
63
+
64
+ ## Installation
65
+
66
+ Add this line to your application's Gemfile:
67
+
68
+ gem 'agnostic-frontend'
69
+
70
+ And then execute:
71
+
72
+ $ bundle
73
+
74
+ Or install it yourself as:
75
+
76
+ $ gem install agnostic-frontend
77
+
78
+
79
+
80
+
81
+
82
+ ## Contributing
83
+
84
+ 1. Fork it
85
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
86
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
87
+ 4. Push to the branch (`git push origin my-new-feature`)
88
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,19 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'agnostic-frontend/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "agnostic-frontend"
8
+ gem.version = Agnostic::Frontend::VERSION
9
+ gem.authors = ["Han"]
10
+ gem.email = ["han@therubyists.org"]
11
+ gem.description = %q{ Leveraging the asset pipeline to ease the pain of bootstrapping frontend development. Basically includes a varienty of css resets/ grid systems / basic javascripts which you can then include in your manifest files }
12
+ gem.summary = %q{ Basically includes a varienty of css resets/ grid systems / basic javascripts which you can then include in your manifest files. }
13
+ gem.homepage = ""
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib", "vendor"]
19
+ end
@@ -0,0 +1,5 @@
1
+ module Agnostic
2
+ module Frontend
3
+ VERSION = "0.0.1.rc1"
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ if defined? Rails && Rails::VERSION::MAJOR == 3 && Rails::VERSION::MINOR >= 1
2
+ require 'agnostic-frontend/engine'
3
+ end
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: agnostic-frontend
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.rc1
5
+ prerelease: 6
6
+ platform: ruby
7
+ authors:
8
+ - Han
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-09-04 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: ! ' Leveraging the asset pipeline to ease the pain of bootstrapping frontend
15
+ development. Basically includes a varienty of css resets/ grid systems / basic javascripts
16
+ which you can then include in your manifest files '
17
+ email:
18
+ - han@therubyists.org
19
+ executables: []
20
+ extensions: []
21
+ extra_rdoc_files: []
22
+ files:
23
+ - .gitignore
24
+ - Gemfile
25
+ - LICENSE.txt
26
+ - README.md
27
+ - Rakefile
28
+ - agnostic-frontend.gemspec
29
+ - lib/agnostic-frontend.rb
30
+ - lib/agnostic-frontend/version.rb
31
+ homepage: ''
32
+ licenses: []
33
+ post_install_message:
34
+ rdoc_options: []
35
+ require_paths:
36
+ - lib
37
+ - vendor
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ required_rubygems_version: !ruby/object:Gem::Requirement
45
+ none: false
46
+ requirements:
47
+ - - ! '>'
48
+ - !ruby/object:Gem::Version
49
+ version: 1.3.1
50
+ requirements: []
51
+ rubyforge_project:
52
+ rubygems_version: 1.8.5
53
+ signing_key:
54
+ specification_version: 3
55
+ summary: Basically includes a varienty of css resets/ grid systems / basic javascripts
56
+ which you can then include in your manifest files.
57
+ test_files: []
58
+ has_rdoc: