Skip to content

Commit 95dc44c

Browse files
committed
#3 Add dropzonejs-rails gem and include
1 parent aa52df2 commit 95dc44c

File tree

6 files changed

+12
-3
lines changed

6 files changed

+12
-3
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ gemspec
1212

1313
# To use debugger
1414
# gem 'debugger'
15+
gem 'dropzonejs-rails', '0.4.12'

Gemfile.lock

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ PATH
44
kebapage (0.0.1)
55
bootstrap-sass
66
bootstrap-wysihtml5-rails
7+
dropzonejs-rails (= 0.4.12)
78
friendly_id
89
haml (~> 4.0.2)
910
haml-rails
@@ -45,10 +46,12 @@ GEM
4546
bootstrap-wysihtml5-rails (0.3.1.23)
4647
railties (>= 3.0)
4748
builder (3.1.4)
49+
dropzonejs-rails (0.4.12)
50+
rails (> 3.1)
4851
erubis (2.7.0)
4952
friendly_id (5.0.2)
5053
activerecord (~> 4.0.0)
51-
haml (4.0.4)
54+
haml (4.0.5)
5255
tilt
5356
haml-rails (0.5.3)
5457
actionpack (>= 4.0.1)
@@ -62,7 +65,7 @@ GEM
6265
treetop (~> 1.4.8)
6366
mime-types (1.25.1)
6467
minitest (4.7.5)
65-
multi_json (1.8.2)
68+
multi_json (1.8.4)
6669
polyglot (0.3.3)
6770
rack (1.5.2)
6871
rack-test (0.6.2)
@@ -108,5 +111,6 @@ PLATFORMS
108111
ruby
109112

110113
DEPENDENCIES
114+
dropzonejs-rails (= 0.4.12)
111115
kebapage!
112116
sqlite3

app/assets/javascripts/kebapage/application.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@
1616
//= require bootstrap-wysihtml5/wysihtml5
1717
//= require bootstrap-wysihtml5/core-b3
1818
//= require bootstrap-wysihtml5/locales/tr-TR
19+
//= require dropzone
1920
//= require_tree .

app/assets/stylesheets/kebapage/application.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
*/
1515

1616
@import 'hierapolis';
17-
@import "bootstrap-wysihtml5/core-b3";
17+
@import "bootstrap-wysihtml5/core-b3";
18+
@import 'dropzone/dropzone'

kebapage.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Gem::Specification.new do |s|
2323
s.add_dependency "friendly_id"
2424
s.add_dependency "bootstrap-sass"
2525
s.add_dependency "bootstrap-wysihtml5-rails"
26+
s.add_dependency "dropzonejs-rails", "0.4.12"
2627

2728
s.add_development_dependency "sqlite3"
2829
end

lib/kebapage.rb

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
require "friendly_id"
33
require "bootstrap-sass"
44
require "bootstrap-wysihtml5-rails"
5+
require "dropzonejs-rails"
56

67
module Kebapage
78
end

0 commit comments

Comments
 (0)