gitpartyguest 0.0.1

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.
Files changed (94) hide show
  1. data/.gitignore +16 -0
  2. data/.idea/.generators +8 -0
  3. data/.idea/.name +1 -0
  4. data/.idea/.rakeTasks +7 -0
  5. data/.idea/encodings.xml +5 -0
  6. data/.idea/misc.xml +8 -0
  7. data/.idea/modules.xml +9 -0
  8. data/.idea/scopes/scope_settings.xml +5 -0
  9. data/.idea/sf_frontend_site.iml +66 -0
  10. data/.idea/vcs.xml +7 -0
  11. data/.idea/workspace.xml +890 -0
  12. data/Gemfile +41 -0
  13. data/Gemfile.lock +134 -0
  14. data/README.md +4 -0
  15. data/README.rdoc +261 -0
  16. data/Rakefile +7 -0
  17. data/app/assets/images/rails.png +0 -0
  18. data/app/assets/javascripts/application.js +15 -0
  19. data/app/assets/stylesheets/application.css +13 -0
  20. data/app/controllers/application_controller.rb +3 -0
  21. data/app/controllers/update_controller.rb +24 -0
  22. data/app/helpers/application_helper.rb +2 -0
  23. data/app/mailers/.gitkeep +0 -0
  24. data/app/models/.gitkeep +0 -0
  25. data/app/models/git_party_guest.rb +41 -0
  26. data/app/views/layouts/application.html.erb +14 -0
  27. data/app/views/update/index.html.erb +2 -0
  28. data/app/views/update/show.html.erb +2 -0
  29. data/config.ru +4 -0
  30. data/config/application.rb +62 -0
  31. data/config/boot.rb +6 -0
  32. data/config/database.yml +25 -0
  33. data/config/environment.rb +5 -0
  34. data/config/environments/development.rb +37 -0
  35. data/config/environments/production.rb +67 -0
  36. data/config/environments/test.rb +37 -0
  37. data/config/initializers/backtrace_silencers.rb +7 -0
  38. data/config/initializers/inflections.rb +15 -0
  39. data/config/initializers/mime_types.rb +5 -0
  40. data/config/initializers/repo_init.rb +11 -0
  41. data/config/initializers/secret_token.rb +7 -0
  42. data/config/initializers/session_store.rb +8 -0
  43. data/config/initializers/wrap_parameters.rb +14 -0
  44. data/config/locales/en.yml +5 -0
  45. data/config/routes.rb +61 -0
  46. data/db/seeds.rb +7 -0
  47. data/doc/README_FOR_APP +2 -0
  48. data/gitpartyguest/.gitignore +17 -0
  49. data/gitpartyguest/Gemfile +6 -0
  50. data/gitpartyguest/LICENSE +22 -0
  51. data/gitpartyguest/README.md +29 -0
  52. data/gitpartyguest/Rakefile +2 -0
  53. data/gitpartyguest/config/initalizers/repo_init.rb +11 -0
  54. data/gitpartyguest/config/routes.rb +3 -0
  55. data/gitpartyguest/gitpartyguest.gemspec +18 -0
  56. data/gitpartyguest/lib/gitpartyguest.rb +42 -0
  57. data/gitpartyguest/lib/gitpartyguest/version.rb +3 -0
  58. data/lib/assets/.gitkeep +0 -0
  59. data/lib/tasks/.gitkeep +0 -0
  60. data/log/.gitkeep +0 -0
  61. data/public/2012/07/11/1342023312-blah/index.html +61 -0
  62. data/public/2012/07/11/1342023388-post2/index.html +61 -0
  63. data/public/2012/07/11/1342023521-title_goes_here/index.html +61 -0
  64. data/public/2012/07/11/1342031212-title_goes_here/index.html +61 -0
  65. data/public/2012/07/11/1342031484-ok_now/index.html +61 -0
  66. data/public/401.html +26 -0
  67. data/public/404.html +26 -0
  68. data/public/422.html +26 -0
  69. data/public/500.html +25 -0
  70. data/public/Posts/index.html +150 -0
  71. data/public/Preview/index.html +158 -0
  72. data/public/README.md +4 -0
  73. data/public/css/preview_style.css +52 -0
  74. data/public/css/style.css +23 -0
  75. data/public/favicon.ico +0 -0
  76. data/public/home/index.html +34 -0
  77. data/public/index.html +28 -0
  78. data/public/media/SFbloghdrAS.png +0 -0
  79. data/public/media/banner.jpg +0 -0
  80. data/public/media/bikes.jpg +0 -0
  81. data/public/media/bridge.jpg +0 -0
  82. data/public/media/wing.jpg +0 -0
  83. data/public/robots.txt +5 -0
  84. data/script/rails +6 -0
  85. data/test/fixtures/.gitkeep +0 -0
  86. data/test/functional/.gitkeep +0 -0
  87. data/test/integration/.gitkeep +0 -0
  88. data/test/performance/browsing_test.rb +12 -0
  89. data/test/test_helper.rb +13 -0
  90. data/test/unit/.gitkeep +0 -0
  91. data/vendor/assets/javascripts/.gitkeep +0 -0
  92. data/vendor/assets/stylesheets/.gitkeep +0 -0
  93. data/vendor/plugins/.gitkeep +0 -0
  94. metadata +147 -0
data/public/README.md ADDED
@@ -0,0 +1,4 @@
1
+ SFBlogRepo
2
+ ==========
3
+
4
+ This repo contains the blog site information
@@ -0,0 +1,52 @@
1
+ html, body { background:#eee; color:#222;font-family:"Helvetica", sans-serif;margin:0;padding:0; }
2
+
3
+ div#contextual-toolbar { margin-left:20px; margin-top:-10px; padding:10px;width:200px;float:right; }
4
+
5
+
6
+ ul { margin: 0; padding: 0;}
7
+ a {color: #555; text-decoration: none; }
8
+
9
+ a:hover {color: #933;text-decoration: underline;}
10
+
11
+ #main {width: 960px;margin: 0 auto;background: #eee}
12
+ header {padding: 0px;overflow: hidden;background: #eee;text-align: center;}
13
+ h1 {margin: 0;}
14
+ h4 {margin: 0;font-size: .2em;}
15
+ p {font-size: .75em;}
16
+
17
+
18
+ .content {padding: 10px;background-color:#eee; border-right:220px solid #eee;}
19
+ .sidebar_content{margin-top: 10px; padding: 2px; background-color: #fff;-moz-box-shadow: 0 0 30px #aaa; box-shadow: 0 0 30px #aaa; }
20
+
21
+ div#footer {background-color: #919491; color:#ddd; border-top:3px solid #f0f0f0;clear:left;text-align: center; }
22
+ div#recent-posts { background-color: #eee}
23
+ div#post{background-color: #fff; padding:1em; -moz-box-shadow: 0 0 30px #aaa; box-shadow: 0 0 30px #aaa;}
24
+
25
+ div#user_nav{text-align:right;font-size: 1em;background-color: #eee; color:#fff; width: 100%;}
26
+ div#user_nav a{color: #eee;}
27
+ div#user_nav a:hover{background-color: #Af0A09;color: #2f0808;}
28
+ div#login-header{padding-right: 15px;}
29
+
30
+ ul.dashboard{ font: normal .85em Helvetica;
31
+ border-bottom-left-radius:15px; border-bottom-right-radius:15px;border: 2px solid black;
32
+ background-image: -moz-linear-gradient(bottom, rgb(110,110,110) 0%, rgb(50,50,50) 85%, rgb(13,13,13) 100%);
33
+ background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, rgb(110,110,110)),color-stop(0.85, rgb(50,50,50)),color-stop(1, rgb(13,13,13)));
34
+ padding: 5px 0 5px 0; margin-top: -4px;text-align: left; }
35
+ ul.dashboard li{ display: inline; }
36
+ ul.dashboard li a{color:black; padding: 6px 8px 6px 8px; margin-right: 7px; margin-left: 7px; text-decoration: none; }
37
+ ul.dashboard li a:hover, ul.dashboard li a.selected{ color:#ccc;
38
+ border-bottom-left-radius:15px; border-bottom-right-radius:15px;
39
+ background-image: -moz-linear-gradient(bottom, rgba(161,34,38,.2) 48%, rgba(201,56,61,.5) 70%, rgba(222,98,104,1) 85%);
40
+ background-image: -webkit-gradient(
41
+ linear,
42
+ left bottom,
43
+ left top,
44
+ color-stop(0.48, rgba(161,34,38,.20)),
45
+ color-stop(0.7, rgba(201,56,61,.50)),
46
+ color-stop(0.85, rgba(222,98,104,1))
47
+ );
48
+ -moz-box-shadow: 0 0 5px #595959; /* CSS3 box shadows */
49
+ box-shadow: 0 0 5px #595959;
50
+ padding-top: 12px; /* large padding to get menu item to protrude upwards */
51
+ padding-bottom: 10px; /* large padding to get menu item to protrude downwards */
52
+ }
@@ -0,0 +1,23 @@
1
+ html, body { background:#eee; color:#222;font-family:"Helvetica", sans-serif;margin:0;padding:0; }
2
+
3
+ div#contextual-toolbar { margin-left:20px; margin-top:-10px; padding:10px;width:200px;float:right; }
4
+
5
+
6
+ ul { margin: 0; padding: 0;}
7
+ a {color: #555; text-decoration: none; }
8
+
9
+ a:hover {color: #933;text-decoration: underline;}
10
+
11
+ #main {width: 960px;margin: 0 auto;background: #eee}
12
+ header {padding: 0px;overflow: hidden;background: #eee;text-align: center;}
13
+ h1 {margin: 0;}
14
+ h4 {margin: 0;font-size: .2em;}
15
+ p {font-size: .75em;}
16
+
17
+
18
+ .content {padding: 10px;background-color:#eee; border-right:220px solid #eee;}
19
+ .sidebar_content{margin-top: 10px; padding: 2px; background-color: #fff;-moz-box-shadow: 0 0 30px #aaa; box-shadow: 0 0 30px #aaa; }
20
+
21
+ div#footer {background-color: #919491; color:#ddd; border-top:3px solid #f0f0f0;clear:left;text-align: center; }
22
+ div#recent-posts { background-color: #eee}
23
+ div#post{background-color: #fff; padding:1em; -moz-box-shadow: 0 0 30px #aaa; box-shadow: 0 0 30px #aaa;}
File without changes
@@ -0,0 +1,34 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset=utf_8 />
5
+ <title> Login | Sourcefire blog application </title>
6
+ <link rel="stylesheet" href="/css/style.css" />
7
+ </head>
8
+
9
+ <body>
10
+ <div id="main">
11
+ <header>
12
+ <img alt="Sourcefire Corporate Blog" height="158px; " id="Header1_headerimg" src="/media/SFbloghdrAS.png" width="960px; "/>
13
+ </header>
14
+
15
+
16
+ <section role="banner">
17
+ <img src="/media/banner.jpg" />
18
+ </section>
19
+
20
+ <section class="content">
21
+ <p>
22
+ Welcome to Sourcefire bloggggggg! Please, check out my <a href="/portfolio/">Portfolio</a> to see my work.
23
+ </p>
24
+ </section>
25
+
26
+ <div style="clear:right;">&nbsp;</div>
27
+ <div id="footer">
28
+
29
+ <p>&copy; SourceFire Inc. test blog app 2011 | all rights reserved. </p>
30
+ </div> <!-- end id="footer" -->
31
+
32
+ </div> <!-- end id="main" -->
33
+ </body>
34
+ </html>
data/public/index.html ADDED
@@ -0,0 +1,28 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset=utf_8 />
5
+ <title> Sourcefire blog application </title>
6
+ <link rel="stylesheet" href="/css/style.css" />
7
+ </head>
8
+
9
+ <body>
10
+ <div id="main">
11
+ <header>
12
+ <img alt="Sourcefire Corporate Blog" height="158px; " id="Header1_headerimg" src="/media/SFbloghdrAS.png" width="960px; "/>
13
+ </header>
14
+
15
+
16
+ <br>
17
+ <br>
18
+ <br>
19
+
20
+ <div style="clear:right;">&nbsp;</div>
21
+ <div id="footer">
22
+
23
+ <p>&copy; SourceFire Inc. test blog app 2011 | all rights reserved. </p>
24
+ </div> <!-- end id="footer" -->
25
+
26
+ </div> <!-- end id="main" -->
27
+ </body>
28
+ </html>
Binary file
Binary file
Binary file
Binary file
Binary file
data/public/robots.txt ADDED
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
data/script/rails ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
File without changes
File without changes
File without changes
@@ -0,0 +1,12 @@
1
+ require 'test_helper'
2
+ require 'rails/performance_test_help'
3
+
4
+ class BrowsingTest < ActionDispatch::PerformanceTest
5
+ # Refer to the documentation for all available options
6
+ # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
7
+ # :output => 'tmp/performance', :formats => [:flat] }
8
+
9
+ def test_homepage
10
+ get '/'
11
+ end
12
+ end
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
File without changes
File without changes
File without changes
File without changes
metadata ADDED
@@ -0,0 +1,147 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gitpartyguest
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Sf-ApiUser
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-07-18 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: ! 'This gem is used to synch with a branch in git and create a website '
15
+ email:
16
+ - Sf-ApiUser@sourcefire.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - .gitignore
22
+ - .idea/.generators
23
+ - .idea/.name
24
+ - .idea/.rakeTasks
25
+ - .idea/encodings.xml
26
+ - .idea/misc.xml
27
+ - .idea/modules.xml
28
+ - .idea/scopes/scope_settings.xml
29
+ - .idea/sf_frontend_site.iml
30
+ - .idea/vcs.xml
31
+ - .idea/workspace.xml
32
+ - Gemfile
33
+ - Gemfile.lock
34
+ - README.md
35
+ - README.rdoc
36
+ - Rakefile
37
+ - app/assets/images/rails.png
38
+ - app/assets/javascripts/application.js
39
+ - app/assets/stylesheets/application.css
40
+ - app/controllers/application_controller.rb
41
+ - app/controllers/update_controller.rb
42
+ - app/helpers/application_helper.rb
43
+ - app/mailers/.gitkeep
44
+ - app/models/.gitkeep
45
+ - app/models/git_party_guest.rb
46
+ - app/views/layouts/application.html.erb
47
+ - app/views/update/index.html.erb
48
+ - app/views/update/show.html.erb
49
+ - config.ru
50
+ - config/application.rb
51
+ - config/boot.rb
52
+ - config/database.yml
53
+ - config/environment.rb
54
+ - config/environments/development.rb
55
+ - config/environments/production.rb
56
+ - config/environments/test.rb
57
+ - config/initializers/backtrace_silencers.rb
58
+ - config/initializers/inflections.rb
59
+ - config/initializers/mime_types.rb
60
+ - config/initializers/repo_init.rb
61
+ - config/initializers/secret_token.rb
62
+ - config/initializers/session_store.rb
63
+ - config/initializers/wrap_parameters.rb
64
+ - config/locales/en.yml
65
+ - config/routes.rb
66
+ - db/seeds.rb
67
+ - doc/README_FOR_APP
68
+ - gitpartyguest-0.0.1.gem
69
+ - gitpartyguest/.gitignore
70
+ - gitpartyguest/Gemfile
71
+ - gitpartyguest/LICENSE
72
+ - gitpartyguest/README.md
73
+ - gitpartyguest/Rakefile
74
+ - gitpartyguest/config/initalizers/repo_init.rb
75
+ - gitpartyguest/config/routes.rb
76
+ - gitpartyguest/gitpartyguest.gemspec
77
+ - gitpartyguest/lib/gitpartyguest.rb
78
+ - gitpartyguest/lib/gitpartyguest/version.rb
79
+ - lib/assets/.gitkeep
80
+ - lib/tasks/.gitkeep
81
+ - log/.gitkeep
82
+ - public/2012/07/11/1342023312-blah/index.html
83
+ - public/2012/07/11/1342023388-post2/index.html
84
+ - public/2012/07/11/1342023521-title_goes_here/index.html
85
+ - public/2012/07/11/1342031212-title_goes_here/index.html
86
+ - public/2012/07/11/1342031484-ok_now/index.html
87
+ - public/401.html
88
+ - public/404.html
89
+ - public/422.html
90
+ - public/500.html
91
+ - public/Posts/index.html
92
+ - public/Preview/index.html
93
+ - public/README.md
94
+ - public/css/preview_style.css
95
+ - public/css/style.css
96
+ - public/favicon.ico
97
+ - public/home/index.html
98
+ - public/index.html
99
+ - public/media/SFbloghdrAS.png
100
+ - public/media/banner.jpg
101
+ - public/media/bikes.jpg
102
+ - public/media/bridge.jpg
103
+ - public/media/wing.jpg
104
+ - public/robots.txt
105
+ - script/rails
106
+ - test/fixtures/.gitkeep
107
+ - test/functional/.gitkeep
108
+ - test/integration/.gitkeep
109
+ - test/performance/browsing_test.rb
110
+ - test/test_helper.rb
111
+ - test/unit/.gitkeep
112
+ - vendor/assets/javascripts/.gitkeep
113
+ - vendor/assets/stylesheets/.gitkeep
114
+ - vendor/plugins/.gitkeep
115
+ homepage: ''
116
+ licenses: []
117
+ post_install_message:
118
+ rdoc_options: []
119
+ require_paths:
120
+ - lib
121
+ - config
122
+ required_ruby_version: !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ! '>='
126
+ - !ruby/object:Gem::Version
127
+ version: '0'
128
+ required_rubygems_version: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ requirements: []
135
+ rubyforge_project:
136
+ rubygems_version: 1.8.24
137
+ signing_key:
138
+ specification_version: 3
139
+ summary: This gem synchs with a branch in git and creates a website in the public
140
+ directory
141
+ test_files:
142
+ - test/fixtures/.gitkeep
143
+ - test/functional/.gitkeep
144
+ - test/integration/.gitkeep
145
+ - test/performance/browsing_test.rb
146
+ - test/test_helper.rb
147
+ - test/unit/.gitkeep