half-pipe 0.3.0.alpha.2 → 0.3.0.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/todomvc-rails/.bowerrc +3 -0
- data/examples/todomvc-rails/.gitignore +20 -0
- data/examples/todomvc-rails/.jshintrc +34 -0
- data/examples/todomvc-rails/Gemfile +40 -0
- data/examples/todomvc-rails/Gruntfile.js +42 -0
- data/examples/todomvc-rails/README.rdoc +5 -0
- data/examples/todomvc-rails/Rakefile +6 -0
- data/examples/todomvc-rails/app/controllers/application_controller.rb +5 -0
- data/examples/todomvc-rails/app/controllers/concerns/.keep +0 -0
- data/examples/todomvc-rails/app/controllers/todos_controller.rb +69 -0
- data/examples/todomvc-rails/app/helpers/application_helper.rb +2 -0
- data/examples/todomvc-rails/app/helpers/todos_helper.rb +5 -0
- data/examples/todomvc-rails/app/mailers/.keep +0 -0
- data/examples/todomvc-rails/app/models/.keep +0 -0
- data/examples/todomvc-rails/app/models/concerns/.keep +0 -0
- data/examples/todomvc-rails/app/models/todo.rb +8 -0
- data/examples/todomvc-rails/app/scripts/main.js +53 -0
- data/examples/todomvc-rails/app/scripts/todo-title-input.js +57 -0
- data/examples/todomvc-rails/app/styles/base.scss +415 -0
- data/examples/todomvc-rails/app/styles/main.scss +2 -0
- data/examples/todomvc-rails/app/styles/todos.scss +29 -0
- data/examples/todomvc-rails/app/views/layouts/application.html.erb +14 -0
- data/examples/todomvc-rails/app/views/layouts/todos.js.erb +7 -0
- data/examples/todomvc-rails/app/views/todos/_destroy.js.erb +1 -0
- data/examples/todomvc-rails/app/views/todos/_footer.html.erb +21 -0
- data/examples/todomvc-rails/app/views/todos/_todo.html.erb +14 -0
- data/examples/todomvc-rails/app/views/todos/_toggle.js.erb +4 -0
- data/examples/todomvc-rails/app/views/todos/create.js.erb +3 -0
- data/examples/todomvc-rails/app/views/todos/destroy.js.erb +1 -0
- data/examples/todomvc-rails/app/views/todos/destroy_completed.js.erb +1 -0
- data/examples/todomvc-rails/app/views/todos/index.html.erb +33 -0
- data/examples/todomvc-rails/app/views/todos/toggle.js.erb +1 -0
- data/examples/todomvc-rails/app/views/todos/toggle_all.js.erb +1 -0
- data/examples/todomvc-rails/app/views/todos/update.js.erb +1 -0
- data/examples/todomvc-rails/bin/bundle +3 -0
- data/examples/todomvc-rails/bin/rails +4 -0
- data/examples/todomvc-rails/bin/rake +4 -0
- data/examples/todomvc-rails/bower.json +10 -0
- data/examples/todomvc-rails/config.ru +4 -0
- data/examples/todomvc-rails/config/application.rb +28 -0
- data/examples/todomvc-rails/config/boot.rb +4 -0
- data/examples/todomvc-rails/config/build.js +14 -0
- data/examples/todomvc-rails/config/database.yml +19 -0
- data/examples/todomvc-rails/config/environment.rb +5 -0
- data/examples/todomvc-rails/config/environments/development.rb +29 -0
- data/examples/todomvc-rails/config/environments/production.rb +80 -0
- data/examples/todomvc-rails/config/environments/test.rb +36 -0
- data/examples/todomvc-rails/config/half-pipe.json +3 -0
- data/examples/todomvc-rails/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/todomvc-rails/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/todomvc-rails/config/initializers/inflections.rb +16 -0
- data/examples/todomvc-rails/config/initializers/mime_types.rb +5 -0
- data/examples/todomvc-rails/config/initializers/secret_token.rb +12 -0
- data/examples/todomvc-rails/config/initializers/session_store.rb +3 -0
- data/examples/todomvc-rails/config/initializers/wrap_parameters.rb +14 -0
- data/examples/todomvc-rails/config/locales/en.yml +23 -0
- data/examples/todomvc-rails/config/routes.rb +16 -0
- data/examples/todomvc-rails/db/migrate/20130518030840_create_todos.rb +9 -0
- data/examples/todomvc-rails/db/schema.rb +23 -0
- data/examples/todomvc-rails/db/seeds.rb +7 -0
- data/examples/todomvc-rails/lib/assets/.keep +0 -0
- data/examples/todomvc-rails/lib/tasks/.keep +0 -0
- data/examples/todomvc-rails/log/.keep +0 -0
- data/examples/todomvc-rails/package.json +22 -0
- data/examples/todomvc-rails/public/404.html +58 -0
- data/examples/todomvc-rails/public/422.html +58 -0
- data/examples/todomvc-rails/public/500.html +57 -0
- data/examples/todomvc-rails/public/favicon.ico +0 -0
- data/examples/todomvc-rails/public/robots.txt +5 -0
- data/examples/todomvc-rails/tasks/options/connect.js +63 -0
- data/examples/todomvc-rails/tasks/options/copy.js +28 -0
- data/examples/todomvc-rails/tasks/options/cssmin.js +3 -0
- data/examples/todomvc-rails/tasks/options/jshint.js +8 -0
- data/examples/todomvc-rails/tasks/options/rails.js +5 -0
- data/examples/todomvc-rails/tasks/options/requirejs.js +19 -0
- data/examples/todomvc-rails/tasks/options/sass.js +21 -0
- data/examples/todomvc-rails/tasks/options/watch.js +13 -0
- data/examples/todomvc-rails/test/controllers/.keep +0 -0
- data/examples/todomvc-rails/test/fixtures/.keep +0 -0
- data/examples/todomvc-rails/test/fixtures/todos.yml +11 -0
- data/examples/todomvc-rails/test/helpers/.keep +0 -0
- data/examples/todomvc-rails/test/integration/.keep +0 -0
- data/examples/todomvc-rails/test/mailers/.keep +0 -0
- data/examples/todomvc-rails/test/models/.keep +0 -0
- data/examples/todomvc-rails/test/models/todo_test.rb +7 -0
- data/examples/todomvc-rails/test/test_helper.rb +15 -0
- data/examples/todomvc-rails/vendor/assets/javascripts/.keep +0 -0
- data/examples/todomvc-rails/vendor/assets/stylesheets/.keep +0 -0
- data/lib/generators/half_pipe/install_generator.rb +2 -1
- data/lib/generators/half_pipe/templates/app/scripts/main.js +3 -5
- data/lib/generators/half_pipe/templates/config/build.js +4 -0
- data/lib/generators/half_pipe/templates/railties.rb +0 -1
- data/lib/generators/half_pipe/templates/tasks/options/copy.js +0 -1
- data/lib/half-pipe/version.rb +1 -1
- metadata +91 -1
@@ -0,0 +1,19 @@
|
|
1
|
+
module.exports = {
|
2
|
+
options: {
|
3
|
+
name: "../../../../../node_modules/almond/almond",
|
4
|
+
out: "<%= dirs.tmp %>/public/assets/scripts/application.js",
|
5
|
+
baseUrl: "<%= dirs.tmp %>/prepare/assets/scripts",
|
6
|
+
mainConfigFile: "config/build.js"
|
7
|
+
},
|
8
|
+
debug: {
|
9
|
+
options: {
|
10
|
+
useSourceUrl: true,
|
11
|
+
optimize: "none",
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"public": {
|
15
|
+
options: {
|
16
|
+
optimize: "uglify2"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
module.exports = {
|
2
|
+
options: {
|
3
|
+
require: ['sass-css-importer'],
|
4
|
+
loadPath: ['<%= bowerOpts.directory || "bower_components" %>'],
|
5
|
+
bundleExec: true,
|
6
|
+
},
|
7
|
+
debug: {
|
8
|
+
src: '<%= dirs.tmp %>/prepare/assets/styles/main.scss',
|
9
|
+
dest: '<%= dirs.tmp %>/public/assets/styles/main.css',
|
10
|
+
options: {
|
11
|
+
style: 'expanded'
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"public": {
|
15
|
+
src: '<%= dirs.tmp %>/prepare/assets/styles/main.scss',
|
16
|
+
dest: '<%= dirs.tmp %>/public/assets/styles/main.css',
|
17
|
+
options: {
|
18
|
+
style: 'compressed'
|
19
|
+
}
|
20
|
+
}
|
21
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
module.exports = {
|
2
|
+
debug: {
|
3
|
+
files: ['app/scripts/**/*', 'app/styles/**/*'],
|
4
|
+
tasks: ['build:debug']
|
5
|
+
},
|
6
|
+
rails: {
|
7
|
+
files: ['config/**/*.rb', 'lib/**/*.rb', 'Gemfile.lock'],
|
8
|
+
tasks: ['rails:server:restart'],
|
9
|
+
options: {
|
10
|
+
interrupt: true
|
11
|
+
}
|
12
|
+
}
|
13
|
+
};
|
File without changes
|
File without changes
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
2
|
+
|
3
|
+
# This model initially had no columns defined. If you add columns to the
|
4
|
+
# model remove the '{}' from the fixture names and add the columns immediately
|
5
|
+
# below each fixture, per the syntax in the comments below
|
6
|
+
#
|
7
|
+
one: {}
|
8
|
+
# column: value
|
9
|
+
#
|
10
|
+
two: {}
|
11
|
+
# column: value
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,15 @@
|
|
1
|
+
ENV["RAILS_ENV"] ||= "test"
|
2
|
+
require File.expand_path('../../config/environment', __FILE__)
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
class ActiveSupport::TestCase
|
6
|
+
ActiveRecord::Migration.check_pending!
|
7
|
+
|
8
|
+
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
|
9
|
+
#
|
10
|
+
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
11
|
+
# -- they do not yet inherit this setting
|
12
|
+
fixtures :all
|
13
|
+
|
14
|
+
# Add more helper methods to be used by all tests here...
|
15
|
+
end
|
File without changes
|
File without changes
|
@@ -3,15 +3,13 @@
|
|
3
3
|
define('<%= main_module_name %>',
|
4
4
|
[
|
5
5
|
// Add your dependencies here
|
6
|
+
'jquery',
|
7
|
+
'jquery-ujs'
|
6
8
|
],
|
7
9
|
|
8
|
-
function(
|
10
|
+
function($){
|
9
11
|
|
10
|
-
function initialize(){
|
11
12
|
// Add your initialization code here
|
12
|
-
}
|
13
|
-
|
14
|
-
return initialize;
|
15
13
|
|
16
14
|
}
|
17
15
|
);
|
data/lib/half-pipe/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: half-pipe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.0.alpha.
|
4
|
+
version: 0.3.0.alpha.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Fiorini
|
@@ -52,6 +52,96 @@ files:
|
|
52
52
|
- ROADMAP.md
|
53
53
|
- Rakefile
|
54
54
|
- app/helpers/half_pipe_helper.rb
|
55
|
+
- examples/todomvc-rails/.bowerrc
|
56
|
+
- examples/todomvc-rails/.gitignore
|
57
|
+
- examples/todomvc-rails/.jshintrc
|
58
|
+
- examples/todomvc-rails/Gemfile
|
59
|
+
- examples/todomvc-rails/Gemfile.lock
|
60
|
+
- examples/todomvc-rails/Gruntfile.js
|
61
|
+
- examples/todomvc-rails/README.rdoc
|
62
|
+
- examples/todomvc-rails/Rakefile
|
63
|
+
- examples/todomvc-rails/app/controllers/application_controller.rb
|
64
|
+
- examples/todomvc-rails/app/controllers/concerns/.keep
|
65
|
+
- examples/todomvc-rails/app/controllers/todos_controller.rb
|
66
|
+
- examples/todomvc-rails/app/helpers/application_helper.rb
|
67
|
+
- examples/todomvc-rails/app/helpers/todos_helper.rb
|
68
|
+
- examples/todomvc-rails/app/mailers/.keep
|
69
|
+
- examples/todomvc-rails/app/models/.keep
|
70
|
+
- examples/todomvc-rails/app/models/concerns/.keep
|
71
|
+
- examples/todomvc-rails/app/models/todo.rb
|
72
|
+
- examples/todomvc-rails/app/scripts/main.js
|
73
|
+
- examples/todomvc-rails/app/scripts/todo-title-input.js
|
74
|
+
- examples/todomvc-rails/app/styles/base.scss
|
75
|
+
- examples/todomvc-rails/app/styles/main.scss
|
76
|
+
- examples/todomvc-rails/app/styles/todos.scss
|
77
|
+
- examples/todomvc-rails/app/views/layouts/application.html.erb
|
78
|
+
- examples/todomvc-rails/app/views/layouts/todos.js.erb
|
79
|
+
- examples/todomvc-rails/app/views/todos/_destroy.js.erb
|
80
|
+
- examples/todomvc-rails/app/views/todos/_footer.html.erb
|
81
|
+
- examples/todomvc-rails/app/views/todos/_todo.html.erb
|
82
|
+
- examples/todomvc-rails/app/views/todos/_toggle.js.erb
|
83
|
+
- examples/todomvc-rails/app/views/todos/create.js.erb
|
84
|
+
- examples/todomvc-rails/app/views/todos/destroy.js.erb
|
85
|
+
- examples/todomvc-rails/app/views/todos/destroy_completed.js.erb
|
86
|
+
- examples/todomvc-rails/app/views/todos/index.html.erb
|
87
|
+
- examples/todomvc-rails/app/views/todos/toggle.js.erb
|
88
|
+
- examples/todomvc-rails/app/views/todos/toggle_all.js.erb
|
89
|
+
- examples/todomvc-rails/app/views/todos/update.js.erb
|
90
|
+
- examples/todomvc-rails/bin/bundle
|
91
|
+
- examples/todomvc-rails/bin/rails
|
92
|
+
- examples/todomvc-rails/bin/rake
|
93
|
+
- examples/todomvc-rails/bower.json
|
94
|
+
- examples/todomvc-rails/config.ru
|
95
|
+
- examples/todomvc-rails/config/application.rb
|
96
|
+
- examples/todomvc-rails/config/boot.rb
|
97
|
+
- examples/todomvc-rails/config/build.js
|
98
|
+
- examples/todomvc-rails/config/database.yml
|
99
|
+
- examples/todomvc-rails/config/environment.rb
|
100
|
+
- examples/todomvc-rails/config/environments/development.rb
|
101
|
+
- examples/todomvc-rails/config/environments/production.rb
|
102
|
+
- examples/todomvc-rails/config/environments/test.rb
|
103
|
+
- examples/todomvc-rails/config/half-pipe.json
|
104
|
+
- examples/todomvc-rails/config/initializers/backtrace_silencers.rb
|
105
|
+
- examples/todomvc-rails/config/initializers/filter_parameter_logging.rb
|
106
|
+
- examples/todomvc-rails/config/initializers/inflections.rb
|
107
|
+
- examples/todomvc-rails/config/initializers/mime_types.rb
|
108
|
+
- examples/todomvc-rails/config/initializers/secret_token.rb
|
109
|
+
- examples/todomvc-rails/config/initializers/session_store.rb
|
110
|
+
- examples/todomvc-rails/config/initializers/wrap_parameters.rb
|
111
|
+
- examples/todomvc-rails/config/locales/en.yml
|
112
|
+
- examples/todomvc-rails/config/routes.rb
|
113
|
+
- examples/todomvc-rails/db/migrate/20130518030840_create_todos.rb
|
114
|
+
- examples/todomvc-rails/db/schema.rb
|
115
|
+
- examples/todomvc-rails/db/seeds.rb
|
116
|
+
- examples/todomvc-rails/lib/assets/.keep
|
117
|
+
- examples/todomvc-rails/lib/tasks/.keep
|
118
|
+
- examples/todomvc-rails/log/.keep
|
119
|
+
- examples/todomvc-rails/package.json
|
120
|
+
- examples/todomvc-rails/public/404.html
|
121
|
+
- examples/todomvc-rails/public/422.html
|
122
|
+
- examples/todomvc-rails/public/500.html
|
123
|
+
- examples/todomvc-rails/public/assets/images/bg.png
|
124
|
+
- examples/todomvc-rails/public/favicon.ico
|
125
|
+
- examples/todomvc-rails/public/robots.txt
|
126
|
+
- examples/todomvc-rails/tasks/options/connect.js
|
127
|
+
- examples/todomvc-rails/tasks/options/copy.js
|
128
|
+
- examples/todomvc-rails/tasks/options/cssmin.js
|
129
|
+
- examples/todomvc-rails/tasks/options/jshint.js
|
130
|
+
- examples/todomvc-rails/tasks/options/rails.js
|
131
|
+
- examples/todomvc-rails/tasks/options/requirejs.js
|
132
|
+
- examples/todomvc-rails/tasks/options/sass.js
|
133
|
+
- examples/todomvc-rails/tasks/options/watch.js
|
134
|
+
- examples/todomvc-rails/test/controllers/.keep
|
135
|
+
- examples/todomvc-rails/test/fixtures/.keep
|
136
|
+
- examples/todomvc-rails/test/fixtures/todos.yml
|
137
|
+
- examples/todomvc-rails/test/helpers/.keep
|
138
|
+
- examples/todomvc-rails/test/integration/.keep
|
139
|
+
- examples/todomvc-rails/test/mailers/.keep
|
140
|
+
- examples/todomvc-rails/test/models/.keep
|
141
|
+
- examples/todomvc-rails/test/models/todo_test.rb
|
142
|
+
- examples/todomvc-rails/test/test_helper.rb
|
143
|
+
- examples/todomvc-rails/vendor/assets/javascripts/.keep
|
144
|
+
- examples/todomvc-rails/vendor/assets/stylesheets/.keep
|
55
145
|
- half-pipe.gemspec
|
56
146
|
- lib/generators/half_pipe/install_generator.rb
|
57
147
|
- lib/generators/half_pipe/templates/Gruntfile.js
|