doge_helper 0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 50b6ad0896e6e77adfda34253eae997306a02d60
4
+ data.tar.gz: 98474b0eee4215a2ac2b188e82eae4f6823d8a8f
5
+ SHA512:
6
+ metadata.gz: b755ccde50e53f0ab0c933db64dc742eae8aab5c8e36a534e4cf9445babaceaa153084eec21f981dc9de99c2f45fb9185c64a71d4da724c441fb0f833934c542
7
+ data.tar.gz: f80c66ca4c56ffb17d68d4bb491218ebf3b2ffbe8d81924c20016fb5f798f44b0cc88ca5a13a4146b8bfbe707dc370527e77cdfcdebdb5faef8c8dec20fb7f6f
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 doge_helper.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 peterlind
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # DogeHelper
2
+
3
+ Access to `doge` and `doge_meta_tag` rails view helpers
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'doge_helper'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install doge_helper
18
+
19
+ ## Usage
20
+
21
+ In your `<head>`
22
+ ```
23
+ <%= doge_meta_tag %>
24
+ ```
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,22 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "doge_helper"
7
+ spec.version = "0.1"
8
+ spec.authors = ["peterlind"]
9
+ spec.email = ["peter@lind.be"]
10
+ spec.description = %q{Wow such gem}
11
+ spec.summary = %q{Much summary, wuff}
12
+ spec.homepage = ""
13
+ spec.license = "MIT"
14
+
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_development_dependency "bundler", "~> 1.3"
21
+ spec.add_development_dependency "rake"
22
+ end
@@ -0,0 +1,2 @@
1
+ require "doge_helper/railtie" if defined? Rails
2
+
@@ -0,0 +1,8 @@
1
+ require 'doge_helper/view_helpers'
2
+ module DogeHelper
3
+ class Railtie < Rails::Railtie
4
+ initializer "doge_helper.view_helpers" do
5
+ ActionView::Base.send :include, ViewHelpers
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,79 @@
1
+ module DogeHelper
2
+ module ViewHelpers
3
+ def doge_meta_tag
4
+ %(<meta name="__DOGE" id="__DOGE" content="#{doge}">).html_safe
5
+ end
6
+ def doge
7
+ "
8
+ .......................................................................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,
9
+ ......................................................................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,
10
+ .....................................................................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,
11
+ .....................................................................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,
12
+ ................................................,...................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,
13
+ ............+...+...+...++,,.=,..+...+.........:??....................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,
14
+ ............+=.++..?+,?+..I=.??.~+:.??.........=I$~...................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,
15
+ ............+?,+=+,+.,+...,?.:+.?~?,?,.........~7Z7:..................................................................................,,,,,,,,,,,,,,,,,,,,,,,,,,
16
+ .............+?+,???.,+,..=?..+:?.+,+..........~7$$7..............................................................................,.,,...,,,,,,,,,,,,,,,,,,,,,,,
17
+ .............++..++:..=+??+...++..++=..........=7Z$$+.......................................................:.........,..,....,,...,.,..,,.,,,,,,,,,,,,,,,,,,,,,
18
+ ...............,.......,.......,...,...........+7OZZ7~..........................................=::=~+++=,,==::=~====~=:=+++:+===+~=~?:,.,.,,,,,,,,,,,,,,,,,,,,,
19
+ ..............................................~?$ZO$77=..........................................~:+~:.,:..==::+:+=~+~,,==~=:::~~=~,~=,.,,,,,,,,,,,,,,,,,,,,,,,,
20
+ .............................................,=?ZOO8OZ$I.............................................,,,............,........,...,......,,,,,,,,,,,,,,,,,,,,,,,,
21
+ .............................................~?78877IIIII?+,..............~+I$$7=..............................................,....,,,,,,,,,,,,,,,,,,,,,,,,,,,,
22
+ ............................................:?I$$$$$777II???+:.........=I77????7I.................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
23
+ ........................................,:=+===+??I7$$$$77II?++??+,,+77$I??????I=.................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
24
+ ......................................:~~~==+==+?II7$$$$7$$777I??II7ZOZI???II7??:...................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,
25
+ .....................................:~+++++++??III77$7$$$$$$77777$DO$7I7$ZO$I++..................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
26
+ ....................................,~++++??+??I?II$$$$$ZZ7777III7$$8$I7ZOO$7?=:..................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
27
+ ..................................,,~++????II??II77$77$ZZ$7777?I77$$7$$IOZ$7?+~,...,,..,...,,.,,.,..,,,,..,,...,,...............,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
28
+ ..................................,~=+??777I?=+?7777$ZZO$$Z7$ZI7III7IZ?Z?Z??+++:?.I~?=?:?,?:?~=:I+,.?+?:+:+,:=~~?,................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
29
+ .................................,~=???II$Z$ZOZZ$777$Z8ZO$$$7$I$?IIIII?+??77I,=,?,=..?~,?::,I+:,I+:,+?~,?+,,,+:,~.................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
30
+ ................................,,~===?++??IDNMZO$$$ZZOZZ77$7$II7I??III$ZI$$I,+~,,:...~~..:,~.~=..~~~~:.~,~=,,~~:,.........,,.....,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
31
+ ................................,:==~~:==+??ZNONNO$ZZZZZ$7$$Z7$$$7IIIIII7$$=.,~...................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
32
+ ...............................,:=?=~~+=+?II7$8DZ$7$ZZ$$7I??7II?I777I77?II?.....................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
33
+ ...............................,~=++=++=?I7$$$$7?I$ZZ$$$Z8NMIMZ777777III???,....................................................,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
34
+ ..............................,~~=+?===++==++??+?I7$77I$ONMDO8N8$7777III++?:.............................................,.,.,,,..,,,.,,,,,,,,,,,,,,,,,,,,,,,,,,
35
+ ..............................:~===+?==+=:~~====?II?II7Z$$Z8D$???7I7II???++~,...........................................,:==:=.~==~,~,,,,,,,,,,,,,,,,,,,,,,,,,,,
36
+ ..............................,~+~=+??==~=:==+=+I????I7ZIIII?????++?+??++++~,.............................................,,,..,,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
37
+ ..............................:=++==+??+==~:~~=+III7I77$7IIII??+==~+===++++~,..................................................,..,.,,,,,,,,,,,,,,,,,,,,,,,,,,,,
38
+ .............................,~+?+==+++=+~~+ZO=I7I++?IIII?+======~~~~==++==++II??+===~~::,:,,,,......................................,,,,,,,,,,,,,,,,,,,,,,,,,,,
39
+ ............................,:~???+=++?+==~Z8NNNDNZ==?I?=~~~~~~~~~~~~~===?+=+?I????++++++++===~~~~:...............................,,..,,,,,,,,,,,,,,,,,,,,,,,,,,
40
+ ............................,:=?7I+==++?++?OMNNNMDO?=???~~::~~~~~~~~~===??+++?II??+++?+========~~~~~~~:,..............................,,,,,,,,,,,,,,,,,,,,,,,,,,
41
+ ............................,~+I7I?+=++?=?7$ODD8DO+==+?=::::~~~~~~~~===+?+??++?II+?++++=+====++=====~~=~~:............................,,,,,,,,,,,,,,,,,,,,,,,,,,
42
+ ...........................,:=?7$III+=+++7I$$ZOZ$?===~=~=~~:~~~~~~~~==++?II+?=+?I?++++++=+=~==+==========~~,..........................,,,,,,,,,,,,,,,,,,,,,,,,,,
43
+ ...........................,:=?I$7I77+++?++?7O8$$?+==~I+~:~~~~~~~~~==+???I7I+==+?I?++===++====++============~:............................,,,,,,,,,,,,,,,,,,,,,,
44
+ ...........................,:=?I$$$777I++++==+?++$IIII=~~~~~~~~~~===+??7I?II?+++??I++===+++===++=~========+==~:...........................,,,,,,,,,,,,,,,,,,,,,,
45
+ ...........................,~=+?7$$$7$$7???+=====~====~~~~~~~~~~==+??III?I77I?=++???======+?==+===~=======++==~=:............................,,,,,,,,,,,,,,,,,,,
46
+ ...........................:~=+?I7$Z$$$$77??++====~==~~~~~~~~~~=+?I77I??I7777?+=+??+======++++============+++=~~~~~,......,....,....,,.,,...,.,,,,,,,,,,,,,,,,,,
47
+ ...........................::~=+?I$$$Z$$777I??+====~~~~~==++=+?I7$7??+++IZ7III++=+++====+==+++=++==========++==~~~=I==~,?~=?.,?.:+=~I:~+?I.??..,,,,,,,,,,,,,,,,,
48
+ ...........................,~~==+?III77$77III?+++======+IIIIIII777?++++?$$IIII?+++++=~======++==++=====+===+=+==~~~====?.,~+,.?.:.?,+::??,=~,,...,,,,,,,,,,,,,,,
49
+ ...........................,~=====+??I7III?+?+=+++++++???III?II?????++I777IIII?++=++====++==++==?==~~====++==+?+=~~~~~,,.........,.......,...........,,,,,,,,,,,
50
+ ..........................,~+=~=~====+???++++++===+=+++????+?+++++++?7$77I?III?++==+=====+===++=++~~:=~==++++?+++=~=~~~:,,.............................,,,,,,,,,
51
+ .......................?,,=7+?I?=+=7I++I=??I?++I===++=++++++++++==+I7IIIIII???I?+++==========+===+=~~~~~==+=+++=+=====~~:,,.................................,,,,
52
+ .......................II.I??II?==I=II=I=I7?+=?=====+++++=+=++++?III???III?I??I???+====~==+=======+~:::~==+??+++===+++++=:,,................................,,,,
53
+ ..........................=++III?======+======?====+==++===+++++?II????????I????+====~~~=+==~+===??=~::::~==+???I++???????=:,...................................
54
+ .........................,==+?????===++==========+==+===+=++++??++++++???I?II??I++==~========+===+I=~::::::~==++?+++++++????=,..................................
55
+ ........................,=+++??????+=+============+++++++++??+++++++++?I??IIII??+===~~====~=======7?==~:::::~~~=====+?++??I??=,.................................
56
+ ........................:+?II?????????+++=====+==++=+++++??++?++++++??I777777???+=~==~==~~~~======$7+=~~~~~~~~=~==~~=++=++??+?++:...............................
57
+ ........................~I7777IIII???I???++++++=+++++++??????+++I???I7$Z$$Z$$$7I?+===~~~~=~~======7$7?==~~~~~===~~~~~~~~~==++++++=:,............................
58
+ ........................+$OO8D8Z$77I7IIII??++++++++++???I?????????I7ZZOOODZ8DZ$8?8IZO?8IO$+======+?$O$$+?++++?+===~~~~~~~~~~=+=~==~~=++~,.......................
59
+ ........................+?II7$$O8$777I7IIIII???????+??IIIII?IIIII7$ZOOZZ$$$7II$II+?8~~~~~O~=====++++?I7IZ$I==?$Z?===~~~~~~:~~~~=~~~~~~===~:::,,,,...............
60
+ .......................:?+=?I7$$Z8$$7IIIIIIII????????II7II777$ZZOOOOOZZZ$$7I7II???+?+~~~~~=====+++++??I7::=OO??+$7I?+====~~~~~~===+++++=~~~::,,,::?,............
61
+ .......................~?==II$ZZ$O8$777777IIII???I??II7777OOZZZZOZ$$$$$Z$777IIIIII?++=~=~=+=++?+?I????I?::=$ZII8I$7I?++==~~::,,,..+7I++~=~=::::~:~+8,...........
62
+ .......................,=~+?I7$$$$DDZ$$777IIIIIII7III$I7OOZZ$7$$$7$7$$77I7IIIIII7I???+~=+??+??777$ZO8DDZ::8888=$IIII??+===========+?I7ZI=~====~=+$ZZ............
63
+ ........................=?+I77I$Z77$8OZZ$$$77777I77I7$$$Z$7777777777$7IIII?II?IIIIIII+=+++==~~::,,,..,..:+I$OO7?+:,,.,,..,..........,...~$+?++ZZIDI:............
64
+ .......................~++?IIIII7III$O8ZZZZZ$$$77$$77$$$7I7III7$7III?I????????IIIIIII=~~:,,,............+?7$O$I=,.............................:~++=~,...........
65
+ ....................,::~=++???II7I?I$8DD888888OZI+=?I77I??+???7$777?IIIIIII??????I?I++:,........................................................................
66
+ ..................,:,~+~~~=+=+?+?IIII77777$$$$++==+++++=+++++I$$$???+?????I??I??III7I+~,........................................................................
67
+ .................,,,:+=::~+:~=?O++++?????????=~~I?=~++=~~=++?I77I???+?+???I?II?+=:,,,...........................................................................
68
+ ................:I::=+,,:~7=++??+~::~~~===++?::==~~=~+:~~=+?77$77I?+++==~:::,,,,,,,,............................................................................
69
+ .................=7III++=+++8+?=:,,:::::~~=O+==7===~I$?==+7I??+=:::,,,,,,,,,,,..................................................................................
70
+ ................:IOO$7D8OZ$8O=,,,,,,,,,::~~=7II$$Z77?O8Z++:,,,,,,,,,,,,.........................................................................................
71
+ ..................::,~=~:,....,,,,,,,,,,,,,:=7ZO8DD8$?~,,,,,....................................................................................................
72
+ ....................................,,,....,,,,...,..,..........................................................................................................
73
+ ................................................................................................................................................................
74
+ ................................................................................................................................................................
75
+ ................................................................................................................................................................
76
+ "
77
+ end
78
+ end
79
+ end
metadata ADDED
@@ -0,0 +1,81 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: doge_helper
3
+ version: !ruby/object:Gem::Version
4
+ version: '0.1'
5
+ platform: ruby
6
+ authors:
7
+ - peterlind
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-02-12 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.3'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Wow such gem
42
+ email:
43
+ - peter@lind.be
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - .gitignore
49
+ - Gemfile
50
+ - LICENSE.txt
51
+ - README.md
52
+ - Rakefile
53
+ - doge_helper.gemspec
54
+ - lib/doge_helper.rb
55
+ - lib/doge_helper/railtie.rb
56
+ - lib/doge_helper/view_helpers.rb
57
+ homepage: ''
58
+ licenses:
59
+ - MIT
60
+ metadata: {}
61
+ post_install_message:
62
+ rdoc_options: []
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - '>='
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ requirements: []
76
+ rubyforge_project:
77
+ rubygems_version: 2.0.3
78
+ signing_key:
79
+ specification_version: 4
80
+ summary: Much summary, wuff
81
+ test_files: []