plinth 0.0.1.beta.3 → 0.0.1.beta.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: .
10
10
  specs:
11
- plinth (0.0.1.beta.1)
11
+ plinth (0.0.1.beta.4)
12
12
  actionpack (>= 3.1, < 4.1)
13
13
  activesupport (>= 3.1, < 4.1)
14
14
  compass-rails (>= 1.0, < 2.0)
@@ -47,18 +47,18 @@ GEM
47
47
  tzinfo (~> 0.3.37)
48
48
  arel (4.0.1)
49
49
  atomic (1.1.14)
50
- aws-sdk (1.29.1)
50
+ aws-sdk (1.32.0)
51
51
  json (~> 1.4)
52
52
  nokogiri (>= 1.4.4)
53
53
  uuidtools (~> 2.1)
54
54
  builder (3.1.4)
55
- capistrano (3.0.1)
55
+ capistrano (3.1.0)
56
56
  i18n
57
57
  rake (>= 10.0.0)
58
- sshkit (>= 0.0.23)
58
+ sshkit (~> 1.3)
59
59
  celluloid (0.15.2)
60
60
  timers (~> 1.1.0)
61
- childprocess (0.3.9)
61
+ childprocess (0.4.0)
62
62
  ffi (~> 1.0, >= 1.0.11)
63
63
  chunky_png (1.2.9)
64
64
  coderay (1.1.0)
@@ -73,7 +73,7 @@ GEM
73
73
  chunky_png (~> 1.2)
74
74
  fssm (>= 0.2.7)
75
75
  sass (~> 3.1)
76
- compass-rails (1.1.2)
76
+ compass-rails (1.1.3)
77
77
  compass (>= 0.12.2)
78
78
  daemons (1.1.9)
79
79
  dotenv (0.9.0)
@@ -89,7 +89,7 @@ GEM
89
89
  actionpack (>= 3.0)
90
90
  fssm (0.2.10)
91
91
  growl (1.0.3)
92
- guard (2.2.4)
92
+ guard (2.3.0)
93
93
  formatador (>= 0.2.4)
94
94
  listen (~> 2.1)
95
95
  lumberjack (~> 1.0)
@@ -101,23 +101,23 @@ GEM
101
101
  multi_json
102
102
  thor
103
103
  tilt
104
- haml (4.0.4)
104
+ haml (4.0.5)
105
105
  tilt
106
106
  haml-coderay (0.2.0)
107
107
  coderay
108
108
  haml
109
- haml-rails (0.5.2)
110
- actionpack (~> 4.0.1)
111
- activesupport (~> 4.0.1)
109
+ haml-rails (0.5.3)
110
+ actionpack (>= 4.0.1)
111
+ activesupport (>= 4.0.1)
112
112
  haml (>= 3.1, < 5.0)
113
- railties (~> 4.0.1)
113
+ railties (>= 4.0.1)
114
114
  hike (1.2.3)
115
115
  i18n (0.6.9)
116
116
  jquery-rails (3.0.4)
117
117
  railties (>= 3.0, < 5.0)
118
118
  thor (>= 0.14, < 2.0)
119
119
  json (1.8.1)
120
- kramdown (1.3.0)
120
+ kramdown (1.3.1)
121
121
  kramdown-haml (0.0.3)
122
122
  haml
123
123
  listen (2.4.0)
@@ -136,13 +136,13 @@ GEM
136
136
  compass (>= 0.12.1)
137
137
  sass (>= 3.2.0)
138
138
  sassy-math (>= 1.5)
139
- multi_json (1.8.2)
139
+ multi_json (1.8.4)
140
140
  net-scp (1.1.2)
141
141
  net-ssh (>= 2.6.5)
142
142
  net-sftp (2.1.2)
143
143
  net-ssh (>= 2.6.5)
144
144
  net-ssh (2.7.0)
145
- nokogiri (1.6.0)
145
+ nokogiri (1.6.1)
146
146
  mini_portile (~> 0.5.0)
147
147
  polyglot (0.3.3)
148
148
  pry (0.9.12.4)
@@ -165,12 +165,12 @@ GEM
165
165
  activesupport (= 4.0.1)
166
166
  rake (>= 0.8.7)
167
167
  thor (>= 0.18.1, < 2.0)
168
- rake (10.1.0)
169
- rb-fsevent (0.9.3)
170
- rb-inotify (0.9.2)
168
+ rake (10.1.1)
169
+ rb-fsevent (0.9.4)
170
+ rb-inotify (0.9.3)
171
171
  ffi (>= 0.5.0)
172
- rb-readline (0.5.0)
173
- sass (3.2.12)
172
+ rb-readline (0.5.1)
173
+ sass (3.2.13)
174
174
  sass-rails (4.0.1)
175
175
  railties (>= 4.0.0, < 5.0)
176
176
  sass (>= 3.1.10)
@@ -188,7 +188,7 @@ GEM
188
188
  activesupport (>= 3.0)
189
189
  sprockets (~> 2.8)
190
190
  sqlite3 (1.3.8)
191
- sshkit (1.2.0)
191
+ sshkit (1.3.0)
192
192
  net-scp (>= 1.1.2)
193
193
  net-ssh
194
194
  term-ansicolor
@@ -208,7 +208,7 @@ GEM
208
208
  polyglot
209
209
  polyglot (>= 0.3.1)
210
210
  tzinfo (0.3.38)
211
- uglifier (2.3.2)
211
+ uglifier (2.4.0)
212
212
  execjs (>= 0.3.0)
213
213
  json (>= 1.8.0)
214
214
  uuidtools (2.1.4)
data/lib/plinth.rb CHANGED
@@ -1,11 +1,4 @@
1
1
  require "plinth/version"
2
- require 'sass-rails'
3
- require 'rails'
4
-
5
- module Plinth
6
- class Engine < ::Rails::Engine
7
- require "modular-scale"
8
- end
9
- end
10
-
11
- require 'sass/rails'
2
+ require 'plinth/railtie' if defined?(Rails)
3
+ require 'sass/rails' if defined?(Rails)
4
+ require 'sass-rails' if defined?(Rails)
@@ -0,0 +1,11 @@
1
+ require 'rails'
2
+
3
+ module Plinth
4
+ class Engine < Rails::Railtie
5
+ require "modular-scale"
6
+ initializer :append_assets_path, group: :all do |app|
7
+ app.config.assets.paths.unshift("#{File.expand_path "../..", __FILE__}/../vendor/assets/javascripts")
8
+ app.config.assets.paths.unshift("#{File.expand_path "../..", __FILE__}/../vendor/assets/stylesheets")
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Plinth
2
- VERSION = "0.0.1.beta.3"
2
+ VERSION = "0.0.1.beta.4"
3
3
  end
data/plinth.gemspec CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.homepage = "https://github.com/thebeansgroup/plinth"
12
12
 
13
13
  gem.files = `git ls-files`.split($\).grep(/^(?!config)/)
14
+ #gem.files = `git ls-files lib`.split($\) + `git ls-files vendor`.split($\)
14
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
15
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
16
17
  gem.name = "plinth"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plinth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.beta.3
4
+ version: 0.0.1.beta.4
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-12-12 00:00:00.000000000 Z
13
+ date: 2014-01-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: haml
@@ -380,6 +380,7 @@ files:
380
380
  - doc/README_FOR_APP
381
381
  - lib/assets/.gitkeep
382
382
  - lib/plinth.rb
383
+ - lib/plinth/railtie.rb
383
384
  - lib/plinth/version.rb
384
385
  - lib/tasks/.gitkeep
385
386
  - lib/templates/haml/scaffold/_form.html.haml
@@ -510,6 +511,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
510
511
  - - ! '>='
511
512
  - !ruby/object:Gem::Version
512
513
  version: '0'
514
+ segments:
515
+ - 0
516
+ hash: 1391096960664269115
513
517
  required_rubygems_version: !ruby/object:Gem::Requirement
514
518
  none: false
515
519
  requirements:
@@ -534,4 +538,3 @@ test_files:
534
538
  - spec/javascripts/plugins/tbg-ga-events_spec.js.coffee
535
539
  - spec/javascripts/plugins/tbg-switch_spec.js.coffee
536
540
  - spec/javascripts/spec.js.coffee
537
- has_rdoc: