surak 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 631947a95fa94321b2298d729876fa01f5777e0c
4
+ data.tar.gz: bf20fe6d9eb6fcf75215e6d58b57c147648e43d3
5
+ SHA512:
6
+ metadata.gz: 5774ca901cd9f84236bade6f86cbd1ebfb986b3fe36208d55c95c6df45ea50334fdee12b47aa1c23c1e271ae34a8c9b9e48bb1da826e638b1aa6e8d009b9270c
7
+ data.tar.gz: a0eda329eacb98c02cc51fad8adc92677431f6e627e857ce8827e8e2f15297741f56e3875b0676658457045a4b4d13b5d3f48301fb6bcdbcad80e0eb290ba534
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.1
4
+ before_install: gem install bundler -v 1.11.2
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at askinganthony@gmail.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in surak.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 John Anthony Rivera
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,41 @@
1
+ # surak
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/surak`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'surak'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install surak
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/surak. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "surak"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env ruby
2
+ require 'surak'
3
+ args = ARGV
4
+
5
+ if args.length == 0
6
+ Surak.start
7
+ elsif args[0] == "new"
8
+ name = "untitled_surak_project"
9
+ name = args[1] if args[1]
10
+ Surak.new(name)
11
+ end
@@ -0,0 +1,111 @@
1
+ require "surak/version"
2
+ require "filewatcher"
3
+ require 'webrick'
4
+ require 'parallel'
5
+
6
+ class NonCachingFileHandler < WEBrick::HTTPServlet::FileHandler
7
+ def prevent_caching(res)
8
+ res['ETag'] = nil
9
+ res['Last-Modified'] = Time.now + 100**4
10
+ res['Cache-Control'] = 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0'
11
+ res['Pragma'] = 'no-cache'
12
+ res['Expires'] = Time.now - 100**4
13
+ end
14
+
15
+ def do_GET(req, res)
16
+ super
17
+ prevent_caching(res)
18
+ end
19
+
20
+ end
21
+
22
+ module Surak
23
+
24
+ class Server
25
+ attr_accessor :server
26
+ def initialize(serving_directory_path: "./dist", mounting_point: "/", port: 8080)
27
+ self.server = WEBrick::HTTPServer.new :Port => port
28
+ server.mount mounting_point, NonCachingFileHandler , serving_directory_path
29
+ trap('INT') { server.stop }
30
+ end
31
+
32
+ def start
33
+ self.server.start
34
+ end
35
+
36
+ end
37
+
38
+ class FileWatcherWrapper
39
+ attr_accessor :files_to_monitor
40
+ def initialize
41
+ self.files_to_monitor = [
42
+ 'src',
43
+ 'surak.json'
44
+ ]
45
+ self.grunt
46
+ end
47
+
48
+ def grunt
49
+ grunt_output = `grunt`
50
+ puts "\n#{grunt_output}\n"
51
+ end
52
+
53
+ def start
54
+ FileWatcher.new(self.files_to_monitor).watch() do |filename, event|
55
+ if(event == :changed)
56
+ puts "File updated: " + filename
57
+ end
58
+ if(event == :delete)
59
+ puts "File deleted: " + filename
60
+ end
61
+ if(event == :new)
62
+ puts "Added file: " + filename
63
+ end
64
+ self.grunt
65
+ end
66
+ end
67
+
68
+ end
69
+
70
+ def self.install
71
+ `sudo npm install -g bower`
72
+ `sudo npm install -g grunt`
73
+ end
74
+
75
+ def self.new(name)
76
+ puts "creating new project: #{name}"
77
+ gem_dir = Gem::Specification.find_by_name("surak").gem_dir
78
+ template_dir = gem_dir + '/lib/template'
79
+ if !File.exist?(name)
80
+ `mkdir #{name}`
81
+ `cp -a #{template_dir+"/."} #{name}/.`
82
+ Dir.chdir(name) do
83
+ `npm install`
84
+ `bower install`
85
+ end
86
+ else
87
+ puts "File/Folder already exists with name: #{name}"
88
+ end
89
+ end
90
+
91
+ def self.start
92
+ if File.exist?("surak.json")
93
+ puts "In correct directory"
94
+
95
+ monitor = Surak::FileWatcherWrapper.new
96
+ server = Surak::Server.new
97
+
98
+ monitor_l = lambda { monitor.start }
99
+ server_l = lambda { server.start }
100
+ processes = [monitor_l, server_l]
101
+
102
+ Parallel.each(processes) {|process| process.call }
103
+ else
104
+ puts "You must be in the root directory of a surak project to run this."
105
+ puts "You are currently in #{Dir.pwd}"
106
+ end
107
+ end
108
+
109
+
110
+
111
+ end
@@ -0,0 +1,3 @@
1
+ module Surak
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,3 @@
1
+ {
2
+ "directory": "vendor"
3
+ }
@@ -0,0 +1,25 @@
1
+ /build/
2
+ /benchpress-build/
3
+ .DS_Store
4
+ gen_docs.disable
5
+ test.disable
6
+ regression/temp*.html
7
+ performance/temp*.html
8
+ .idea/workspace.xml
9
+ *~
10
+ *.swp
11
+ angular.js.tmproj
12
+ /node_modules/
13
+ bower_components/
14
+ angular.xcodeproj
15
+ .idea
16
+ *.iml
17
+ .agignore
18
+ .lvimrc
19
+ libpeerconnection.log
20
+ npm-debug.log
21
+ /tmp/
22
+ /scripts/bower/bower-*
23
+ .vscode
24
+ *.log
25
+ *.stackdump
@@ -0,0 +1,109 @@
1
+ var clientApp = './src/app/';
2
+
3
+ var files = [
4
+ clientApp + '**/*.module.js',
5
+ '<%= ngtemplates.app.dest %>',
6
+ clientApp + '**/*.js'
7
+ ];
8
+
9
+
10
+ module.exports = function(grunt) {
11
+ var vendorDependencies = grunt.file.readJSON('surak.json').dependencies;
12
+
13
+ console.log("\nSurak Dependencies: \n " + vendorDependencies.join(',\n ') + "\n" );
14
+
15
+ grunt.initConfig({
16
+ pkg: grunt.file.readJSON('package.json'),
17
+
18
+
19
+ concat_css: {
20
+ options: {
21
+ // Task-specific options go here.
22
+ },
23
+ all: {
24
+ src: [
25
+ "vendor/angular-material/angular-material.min.css",
26
+ "src/css/*.css"
27
+ ],
28
+ dest: "dist/styles.css"
29
+ },
30
+ },
31
+
32
+
33
+ concat: {
34
+ options: {
35
+ separator: ';'
36
+ },
37
+ vendor: {
38
+ src: vendorDependencies,
39
+ dest: 'build/vendor.min.js'
40
+ },
41
+ app_src: {
42
+ src: files,
43
+ dest: 'build/app_src.js'
44
+ },
45
+ bundle: {
46
+ src: [
47
+ 'build/vendor.min.js',
48
+ 'build/app_src.min.js',
49
+ ],
50
+ dest: 'dist/app.min.js'
51
+ },
52
+
53
+ bundle_dev: {
54
+ src: [
55
+ 'build/vendor.min.js',
56
+ 'build/app_src.js',
57
+ ],
58
+ dest: 'dist/app.min.js'
59
+ }
60
+ },
61
+
62
+
63
+ uglify: {
64
+ options: {
65
+ mangle: true,
66
+ beautify: true
67
+ },
68
+ my_target: {
69
+ files: {
70
+ 'build/app_src.min.js': ['build/app_src.js']
71
+ }
72
+ }
73
+ },
74
+
75
+
76
+ ngtemplates: {
77
+ app: {
78
+ cwd: 'src/app',
79
+ src: ['templates/**.tpl.html', 'templates/**/**.tpl.html'],
80
+ dest: 'build/app.templates.js',
81
+ options: {
82
+ htmlmin: {
83
+ collapseBooleanAttributes: true,
84
+ collapseWhitespace: true,
85
+ removeAttributeQuotes: true,
86
+ removeComments: true, // Only if you don't use comment directives!
87
+ removeEmptyAttributes: true,
88
+ removeRedundantAttributes: true,
89
+ removeScriptTypeAttributes: true,
90
+ removeStyleLinkTypeAttributes: true
91
+ }
92
+ }
93
+ }
94
+ }
95
+
96
+
97
+ });
98
+
99
+
100
+ grunt.loadNpmTasks('grunt-angular-templates');
101
+ grunt.loadNpmTasks('grunt-contrib-uglify');
102
+ grunt.loadNpmTasks('grunt-contrib-concat');
103
+ grunt.loadNpmTasks('grunt-concat-css');
104
+
105
+
106
+ //grunt.registerTask('default', ['concat_css', 'concat:vendor', 'ngtemplates', 'concat:app_src', 'uglify', 'concat:bundle' ]); // Production
107
+ grunt.registerTask('default', ['concat_css', 'concat:vendor', 'ngtemplates', 'concat:app_src', 'concat:bundle_dev' ]); // Development
108
+
109
+ };
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "untitled-surak-project",
3
+ "authors": [
4
+ "awesome author"
5
+ ],
6
+ "description": "the world is your canvas!",
7
+ "main": "",
8
+ "dependencies": {
9
+ "angular": "^1.5.5",
10
+ "angular-ui-router": "^0.2.18",
11
+ "angular-sanitize": "^1.5.5",
12
+ "angular-material": "^1.1.0"
13
+ },
14
+ "license": "",
15
+ "homepage": "",
16
+ "ignore": [
17
+ "**/.*",
18
+ "node_modules",
19
+ "bower_components",
20
+ "test",
21
+ "tests"
22
+ ]
23
+ }
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
6
+ <link rel="stylesheet" href="styles.css">
7
+ <link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100' rel='stylesheet' type='text/css'>
8
+ </head>
9
+ <body ng-app="app" layout-fill>
10
+ <ui-view></ui-view>
11
+ <script src="app.min.js"></script>
12
+ </body>
13
+ </html>
@@ -0,0 +1,15 @@
1
+ {
2
+ "engines": {
3
+ "node": ">= 0.10.0"
4
+ },
5
+ "devDependencies": {
6
+ "grunt": "^0.4.5",
7
+ "grunt-angular-templates": "^1.0.3",
8
+ "grunt-concat-css": "^0.3.1",
9
+ "grunt-contrib-concat": "~0.4.0",
10
+ "grunt-contrib-jshint": "~0.10.0",
11
+ "grunt-contrib-qunit": "~0.5.2",
12
+ "grunt-contrib-uglify": "^1.0.1",
13
+ "grunt-contrib-watch": "~0.6.1"
14
+ }
15
+ }
@@ -0,0 +1,15 @@
1
+ angular
2
+ .module( 'app', [ 'ngMaterial', 'ui.router'] )
3
+ .config(['$stateProvider', '$urlMatcherFactoryProvider', function($stateProvider, $urlMatcherFactoryProvider){
4
+
5
+ $urlMatcherFactoryProvider.strictMode(false);
6
+ $stateProvider
7
+
8
+ .state('main', {
9
+ url: '',
10
+ templateUrl: 'templates/main.tpl.html',
11
+ controller: 'MainController',
12
+ controllerAs: 'ctrl'
13
+ });
14
+
15
+ }]);
@@ -0,0 +1,8 @@
1
+ function MainController($scope){
2
+ var ctrl = this;
3
+
4
+ }
5
+
6
+ angular
7
+ .module('app')
8
+ .controller('MainController', ['$scope', MainController]);
@@ -0,0 +1,16 @@
1
+ function surak() {
2
+ return {
3
+ restrict: 'E',
4
+ controller: ['$scope',
5
+ function($scope){
6
+ var ctrl = this;
7
+
8
+ }],
9
+ controllerAs: 'surakCtrl',
10
+ templateUrl: 'templates/surak/default.tpl.html',
11
+ };
12
+ }
13
+
14
+ angular
15
+ .module('app')
16
+ .directive('surak', surak);
@@ -0,0 +1 @@
1
+ <surak></surak>
@@ -0,0 +1 @@
1
+ <h1>Hello World, I am Surak.</h1>
@@ -0,0 +1,246 @@
1
+ html {
2
+ font-family: Roboto,"Helvetica Neue",sans-serif;
3
+ }
4
+
5
+ body {
6
+ width: 100%;
7
+ max-width: 100%;
8
+ }
9
+
10
+ .rounded {
11
+ border-radius: 4px;
12
+ }
13
+
14
+ .indented {
15
+ margin-left: 1em;
16
+ }
17
+
18
+ .slight-indent {
19
+ margin-left: 0.5em;
20
+ }
21
+
22
+
23
+ a {
24
+ text-decoration:none;
25
+ }
26
+
27
+ .text-grey {
28
+ color: grey;
29
+ }
30
+
31
+ .text-black {
32
+ color: black;
33
+ }
34
+
35
+ .text-white {
36
+ color: white;
37
+ }
38
+
39
+ .header {
40
+ margin-bottom: 5px;
41
+ }
42
+
43
+ .md-button {
44
+ color: grey !important;
45
+ font-weight: 500;
46
+ }
47
+
48
+ .subheader {
49
+ margin-bottom: 15px;
50
+ }
51
+
52
+ .hovered {
53
+ background-color: #F9F9F9;
54
+
55
+ }
56
+
57
+ .expanded {
58
+ background-color: #F9F9F9;
59
+ margin: 40px 0px 40px 0px;
60
+
61
+ }
62
+
63
+ .noborder {
64
+ border-style: hidden;
65
+ outline: none;
66
+ }
67
+
68
+ .project-container {
69
+ margin-left: 9px;
70
+ border-radius: 5px;
71
+ }
72
+
73
+ .project-extra-content {
74
+ padding: 1em;
75
+ }
76
+
77
+ .list-item {
78
+ padding: 10px 10px 20px 10px;
79
+ display: block;
80
+ }
81
+
82
+ .skill {
83
+ margin-left: 1em;
84
+ padding-bottom: 0.7em;
85
+ }
86
+
87
+ .sub-skill {
88
+ margin-left: 1em;
89
+ margin-top: 0.7em;
90
+ margin-bottom: 0.7em;
91
+
92
+ }
93
+
94
+ .centered-margins {
95
+ margin-left: auto;
96
+ margin-right: auto;
97
+ }
98
+
99
+ .hover-left {
100
+ margin-right:1em;
101
+ margin-left:auto;
102
+ }
103
+
104
+ .hover-right {
105
+ margin-right:2em;
106
+ margin-left:auto;
107
+ }
108
+
109
+ .show-more {
110
+ margin-right: 1em;
111
+ }
112
+
113
+ .group:before,
114
+ .group:after {
115
+ content: "";
116
+ display: table;
117
+ }
118
+ .group:after {
119
+ clear: both;
120
+ }
121
+ .group {
122
+ zoom: 1; /* For IE 6/7 (trigger hasLayout) */
123
+ }
124
+
125
+
126
+ .contact-item {
127
+ width: 25%;
128
+ padding: 1em 1em 1em 1em;
129
+ display: block;
130
+ color: white;
131
+ word-wrap: break-word;
132
+ text-decoration: none;
133
+ font-weight: 300;
134
+ }
135
+
136
+ h2 {
137
+ padding-left: 8px;
138
+ font-weight: 600;
139
+ }
140
+
141
+ h3 {
142
+ font-weight: 600;
143
+ }
144
+
145
+ h4 {
146
+ font-weight: 500;
147
+ }
148
+
149
+ h5 {
150
+ font-weight: 500;
151
+ }
152
+
153
+ .contact-btn {
154
+ text-transform: lowercase;
155
+ font-size: 10%;
156
+ }
157
+
158
+ .portfolio-header {
159
+ background-color: #26283C;
160
+ color: white;
161
+ margin: 3em 0em 3em 0em;
162
+ border-radius: 3px;
163
+ text-align: center;
164
+ width: 100%;
165
+
166
+ }
167
+
168
+ .portfolio-header .name {
169
+ font-size: 3.3em;
170
+ font-weight: 300;
171
+ margin-top:0.2em;
172
+ margin-bottom:0.2em;
173
+ }
174
+
175
+ .flex { flex : 1 1 0%; }
176
+
177
+ #me {
178
+ width: 18%;
179
+ }
180
+
181
+ .clearfix {
182
+ overflow: auto;
183
+ zoom: 1;
184
+ }
185
+
186
+
187
+ .floating-frame {
188
+ border: 0px none;
189
+ min-height: 800px;
190
+ width: 100%;
191
+ min-width: 350px;
192
+ }
193
+
194
+ .portfolio-section {
195
+ width: 100%;
196
+ max-width: 100%;
197
+ }
198
+
199
+
200
+
201
+ @media (max-width: 1400px) {
202
+ .portfolio-header {
203
+ font-size: 0.9em;
204
+ }
205
+ .contact-item {
206
+ width: 50%;
207
+ }
208
+ }
209
+
210
+ @media (max-width: 960px) {
211
+ .portfolio-header {
212
+ margin: 1.4em;
213
+ }
214
+ }
215
+
216
+ @media (max-width: 700px) {
217
+ #me {
218
+ width: 22%;
219
+ }
220
+ }
221
+
222
+ @media (max-width: 600px) {
223
+ .portfolio-header {
224
+ font-size: 0.8em;
225
+ }
226
+
227
+ .portfolio-header {
228
+ margin: 0px;
229
+ border-radius: 0px;
230
+ }
231
+ .skill {
232
+ width: 30%;
233
+ }
234
+
235
+ .project-container {
236
+ margin-left: 5px;
237
+ margin-right: 5px;
238
+ }
239
+
240
+ }
241
+
242
+ @media (max-width: 500px) {
243
+ .contact-item {
244
+ width: 100%;
245
+ }
246
+ }
@@ -0,0 +1,43 @@
1
+ .game-board {
2
+ border-style: none;
3
+
4
+ }
5
+
6
+ .game-slot {
7
+ padding: 50px;
8
+ }
9
+
10
+ .game-container {
11
+ width: 100%;
12
+ margin-left: auto;
13
+ margin-right: auto;
14
+ }
15
+
16
+ @media (max-width: 1800px) {
17
+ .game-slot {
18
+ padding: 35px;
19
+ }
20
+ }
21
+
22
+ @media (max-width: 1510px) {
23
+ .game-slot {
24
+ padding: 32px;
25
+ }
26
+ }
27
+
28
+ @media (max-width: 1310px) {
29
+ .game-slot {
30
+ padding: 30px;
31
+ }
32
+ }
33
+
34
+ @media (max-width: 1100px) {
35
+ .game-slot {
36
+ padding: 20px;
37
+ }
38
+
39
+ @media (max-width: 800px) {
40
+ .game-slot {
41
+ padding: 17px;
42
+ }
43
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "dependencies": [
3
+ "vendor/angular/angular.min.js",
4
+ "vendor/angular-aria/angular-aria.min.js",
5
+ "vendor/angular-animate/angular-animate.min.js",
6
+ "vendor/angular-material/angular-material.min.js",
7
+ "vendor/angular-ui-router/release/angular-ui-router.min.js"
8
+ ]
9
+ }
@@ -0,0 +1,36 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'surak/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "surak"
8
+ spec.version = Surak::VERSION
9
+ spec.authors = ["John Anthony Rivera"]
10
+ spec.email = ["askinganthony@gmail.com"]
11
+
12
+ spec.summary = "Ruby Gem for surak, a quick and easy platform for creating production-ready angular apps."
13
+ spec.homepage = "https://github.com/coffeeexistence/surak"
14
+ spec.license = "MIT"
15
+
16
+ # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
17
+ # delete this section to allow pushing this gem to any host.
18
+ # if spec.respond_to?(:metadata)
19
+ # spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
20
+ # else
21
+ # raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
22
+ # end
23
+
24
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
+ spec.bindir = "bin"
26
+ spec.executables = ["surak"]
27
+ spec.require_paths = ["lib"]
28
+
29
+ spec.add_development_dependency "bundler", "~> 1.11"
30
+ spec.add_development_dependency "rake", "~> 10.0"
31
+ spec.add_development_dependency "rspec", "~> 3.0"
32
+ spec.add_development_dependency "pry"
33
+ spec.add_dependency "filewatcher", "~> 0.5.3"
34
+ spec.add_dependency "parallel", "~> 1.8.0"
35
+ spec.add_dependency "webrick", "~> 1.3.1"
36
+ end
metadata ADDED
@@ -0,0 +1,172 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: surak
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - John Anthony Rivera
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-06-01 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.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: filewatcher
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.5.3
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.5.3
83
+ - !ruby/object:Gem::Dependency
84
+ name: parallel
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.8.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.8.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: webrick
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 1.3.1
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 1.3.1
111
+ description:
112
+ email:
113
+ - askinganthony@gmail.com
114
+ executables:
115
+ - surak
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".rspec"
121
+ - ".travis.yml"
122
+ - CODE_OF_CONDUCT.md
123
+ - Gemfile
124
+ - LICENSE.txt
125
+ - README.md
126
+ - Rakefile
127
+ - bin/console
128
+ - bin/setup
129
+ - bin/surak
130
+ - lib/surak.rb
131
+ - lib/surak/version.rb
132
+ - lib/template/.bowerrc
133
+ - lib/template/.gitignore
134
+ - lib/template/Gruntfile.js
135
+ - lib/template/bower.json
136
+ - lib/template/dist/index.html
137
+ - lib/template/package.json
138
+ - lib/template/src/app/app.module.js
139
+ - lib/template/src/app/features/surak/Main.controller.js
140
+ - lib/template/src/app/features/surak/surak.directive.js
141
+ - lib/template/src/app/templates/main.tpl.html
142
+ - lib/template/src/app/templates/surak/default.tpl.html
143
+ - lib/template/src/css/main.css
144
+ - lib/template/src/css/tictac.css
145
+ - lib/template/surak.json
146
+ - surak.gemspec
147
+ homepage: https://github.com/coffeeexistence/surak
148
+ licenses:
149
+ - MIT
150
+ metadata: {}
151
+ post_install_message:
152
+ rdoc_options: []
153
+ require_paths:
154
+ - lib
155
+ required_ruby_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ requirements: []
166
+ rubyforge_project:
167
+ rubygems_version: 2.4.8
168
+ signing_key:
169
+ specification_version: 4
170
+ summary: Ruby Gem for surak, a quick and easy platform for creating production-ready
171
+ angular apps.
172
+ test_files: []