ideyabox 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. data/{lib/generators/ideyabox/admin/templates → app}/assets/javascripts/admin.js +0 -1
  2. data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/admin.scss.erb +0 -2
  3. data/ideyabox.gemspec +14 -3
  4. data/lib/generators/ideyabox/admin/admin_generator.rb +0 -1
  5. data/lib/generators/ideyabox/assets/assets_generator.rb +17 -0
  6. data/lib/ideyabox/engine.rb +5 -0
  7. data/lib/ideyabox/version.rb +1 -1
  8. data/lib/ideyabox.rb +1 -1
  9. metadata +187 -38
  10. /data/{lib/generators/ideyabox/admin/templates → app}/assets/.DS_Store +0 -0
  11. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/.DS_Store +0 -0
  12. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/.DS_Store +0 -0
  13. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/addphoto.png +0 -0
  14. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/background-image.png +0 -0
  15. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/rdws_cat.png +0 -0
  16. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/search.png +0 -0
  17. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/search_button.png +0 -0
  18. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/small_button.png +0 -0
  19. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/uploadify/#swfobject.js +0 -0
  20. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/uploadify/cancel.png +0 -0
  21. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/uploadify/jquery.uploadify.min.js +0 -0
  22. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/uploadify/uploadify-cancel.png +0 -0
  23. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/uploadify/uploadify.css +0 -0
  24. /data/{lib/generators/ideyabox/admin/templates → app}/assets/images/admin/uploadify/uploadify.swf +0 -0
  25. /data/{lib/generators/ideyabox/admin/templates → app}/assets/javascripts/.DS_Store +0 -0
  26. /data/{lib/generators/ideyabox/admin/templates → app}/assets/javascripts/chosen.jquery.js +0 -0
  27. /data/{lib/generators/ideyabox/admin/templates → app}/assets/javascripts/jquery.ui.nestedSortable.js +0 -0
  28. /data/{lib/generators/ideyabox/admin/templates → app}/assets/javascripts/jquery.uploadify.min.js +0 -0
  29. /data/{lib/generators/ideyabox/admin/templates → app}/assets/javascripts/modernizr.js +0 -0
  30. /data/{lib/generators/ideyabox/admin/templates → app}/assets/javascripts/swfobject.js +0 -0
  31. /data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/.DS_Store +0 -0
  32. /data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/chosen.scss.erb +0 -0
  33. /data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/font-awesome.css +0 -0
  34. /data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/font_awesome/.gitignore +0 -0
  35. /data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/font_awesome/font/fontawesome-webfont.eot +0 -0
  36. /data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/font_awesome/font/fontawesome-webfont.svg +0 -0
  37. /data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/font_awesome/font/fontawesome-webfont.ttf +0 -0
  38. /data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/font_awesome/font/fontawesome-webfont.woff +0 -0
  39. /data/{lib/generators/ideyabox/admin/templates → app}/assets/stylesheets/normalize.css +0 -0
  40. /data/{lib/generators/ideyabox/admin/templates → app}/helpers/.DS_Store +0 -0
  41. /data/{lib/generators/ideyabox/admin/templates → app}/helpers/admin_helper.rb +0 -0
  42. /data/{lib/generators/ideyabox/admin/templates → app}/tasks/reset_db.rake +0 -0
@@ -7,7 +7,6 @@
7
7
  //= require jquery-ui.min.js
8
8
  //= require jquery.ui.nestedSortable
9
9
  //= require chosen.jquery.js
10
- //= require redactor-rails
11
10
 
12
11
  $(document).ready(function(){
13
12
 
@@ -1,7 +1,5 @@
1
- //= require "../images/uploadify/uploadify.css"
2
1
  //= require 'font-awesome.css'
3
2
  //*= require normalize
4
- //*= require redactor-rails
5
3
  //*= require chosen
6
4
  //*= require_self
7
5
  * {
data/ideyabox.gemspec CHANGED
@@ -2,8 +2,8 @@
2
2
  require File.expand_path('../lib/ideyabox/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
- gem.authors = ["Max Rydkin"]
6
- gem.email = ["maks.rydkin@gmail.com"]
5
+ gem.authors = ["Max Rydkin", "veskakoff"]
6
+ gem.email = ["maks.rydkin@gmail.com", "veskakov@gmail.com"]
7
7
  gem.description = %q{Write a gem description}
8
8
  gem.summary = %q{Write a gem summary}
9
9
  gem.homepage = ""
@@ -12,6 +12,17 @@ Gem::Specification.new do |gem|
12
12
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = "ideyabox"
15
- gem.require_paths = ["lib"]
15
+ gem.require_paths = ["lib", "app"]
16
16
  gem.version = Ideyabox::VERSION
17
+
18
+ gem.add_dependency "russian"
19
+ gem.add_dependency "redactor-rails"
20
+ gem.add_dependency "kaminari"
21
+ gem.add_dependency "haml", ">= 3.1.6"
22
+ gem.add_dependency "devise"
23
+ gem.add_dependency "mini_magick"
24
+ gem.add_dependency "sexy_validators", ">=0.0.5"
25
+ gem.add_development_dependency "haml-rails", ">= 0.3.4"
26
+ gem.add_development_dependency "capistrano"
27
+
17
28
  end
@@ -9,7 +9,6 @@ module Ideyabox
9
9
  directory "views/admin", "app/views/admin"
10
10
  directory "views/layouts", "app/views/layouts"
11
11
  copy_file "tasks/seeds.rb", "db/seeds.rb"
12
- copy_file "tasks/reset_db.rake", "lib/tasks/reset_db.rake"
13
12
  end
14
13
 
15
14
  def setup_routes
@@ -0,0 +1,17 @@
1
+ require 'rails/generators'
2
+ module Ideyabox
3
+ module Generators
4
+ class AssetsGenerator < ::Rails::Generators::Base
5
+ source_root File.expand_path('../../../../../app', __FILE__)
6
+
7
+ def add_assets_to_admin_layout
8
+ directory "helpers", "app/helpers"
9
+ directory "assets/stylesheets", "app/assets/stylesheets"
10
+ directory "assets/images", "app/assets/images"
11
+ directory "assets/javascripts", "app/assets/javascripts/"
12
+ copy_file "tasks/reset_db.rake", "lib/tasks/reset_db.rake"
13
+ end
14
+
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,5 @@
1
+ module Ideyabox
2
+ class Engine < Rails::Engine
3
+
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module Ideyabox
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/ideyabox.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  require "ideyabox/version"
2
2
 
3
3
  module Ideyabox
4
- # Your code goes here...
4
+ require 'ideyabox/engine'
5
5
  end
metadata CHANGED
@@ -1,19 +1,165 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ideyabox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Max Rydkin
9
+ - veskakoff
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2012-11-05 00:00:00.000000000 Z
13
- dependencies: []
13
+ date: 2012-11-06 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: russian
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: '0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '0'
31
+ - !ruby/object:Gem::Dependency
32
+ name: redactor-rails
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: '0'
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: kaminari
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ - !ruby/object:Gem::Dependency
64
+ name: haml
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: 3.1.6
71
+ type: :runtime
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: 3.1.6
79
+ - !ruby/object:Gem::Dependency
80
+ name: devise
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ type: :runtime
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ! '>='
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ - !ruby/object:Gem::Dependency
96
+ name: mini_magick
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ! '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ type: :runtime
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: sexy_validators
113
+ requirement: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ! '>='
117
+ - !ruby/object:Gem::Version
118
+ version: 0.0.5
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: 0.0.5
127
+ - !ruby/object:Gem::Dependency
128
+ name: haml-rails
129
+ requirement: !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ! '>='
133
+ - !ruby/object:Gem::Version
134
+ version: 0.3.4
135
+ type: :development
136
+ prerelease: false
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: 0.3.4
143
+ - !ruby/object:Gem::Dependency
144
+ name: capistrano
145
+ requirement: !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ type: :development
152
+ prerelease: false
153
+ version_requirements: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ! '>='
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
14
159
  description: Write a gem description
15
160
  email:
16
161
  - maks.rydkin@gmail.com
162
+ - veskakov@gmail.com
17
163
  executables: []
18
164
  extensions: []
19
165
  extra_rdoc_files: []
@@ -23,47 +169,47 @@ files:
23
169
  - LICENSE
24
170
  - README.md
25
171
  - Rakefile
172
+ - app/assets/.DS_Store
173
+ - app/assets/images/.DS_Store
174
+ - app/assets/images/admin/.DS_Store
175
+ - app/assets/images/admin/addphoto.png
176
+ - app/assets/images/admin/background-image.png
177
+ - app/assets/images/admin/rdws_cat.png
178
+ - app/assets/images/admin/search.png
179
+ - app/assets/images/admin/search_button.png
180
+ - app/assets/images/admin/small_button.png
181
+ - app/assets/images/admin/uploadify/#swfobject.js
182
+ - app/assets/images/admin/uploadify/cancel.png
183
+ - app/assets/images/admin/uploadify/jquery.uploadify.min.js
184
+ - app/assets/images/admin/uploadify/uploadify-cancel.png
185
+ - app/assets/images/admin/uploadify/uploadify.css
186
+ - app/assets/images/admin/uploadify/uploadify.swf
187
+ - app/assets/javascripts/.DS_Store
188
+ - app/assets/javascripts/admin.js
189
+ - app/assets/javascripts/chosen.jquery.js
190
+ - app/assets/javascripts/jquery.ui.nestedSortable.js
191
+ - app/assets/javascripts/jquery.uploadify.min.js
192
+ - app/assets/javascripts/modernizr.js
193
+ - app/assets/javascripts/swfobject.js
194
+ - app/assets/stylesheets/.DS_Store
195
+ - app/assets/stylesheets/admin.scss.erb
196
+ - app/assets/stylesheets/chosen.scss.erb
197
+ - app/assets/stylesheets/font-awesome.css
198
+ - app/assets/stylesheets/font_awesome/.gitignore
199
+ - app/assets/stylesheets/font_awesome/font/fontawesome-webfont.eot
200
+ - app/assets/stylesheets/font_awesome/font/fontawesome-webfont.svg
201
+ - app/assets/stylesheets/font_awesome/font/fontawesome-webfont.ttf
202
+ - app/assets/stylesheets/font_awesome/font/fontawesome-webfont.woff
203
+ - app/assets/stylesheets/normalize.css
204
+ - app/helpers/.DS_Store
205
+ - app/helpers/admin_helper.rb
206
+ - app/tasks/reset_db.rake
26
207
  - ideyabox.gemspec
27
208
  - lib/generators/ideyabox/admin/admin_generator.rb
28
209
  - lib/generators/ideyabox/admin/templates/.DS_Store
29
- - lib/generators/ideyabox/admin/templates/assets/.DS_Store
30
- - lib/generators/ideyabox/admin/templates/assets/images/.DS_Store
31
- - lib/generators/ideyabox/admin/templates/assets/images/admin/.DS_Store
32
- - lib/generators/ideyabox/admin/templates/assets/images/admin/addphoto.png
33
- - lib/generators/ideyabox/admin/templates/assets/images/admin/background-image.png
34
- - lib/generators/ideyabox/admin/templates/assets/images/admin/rdws_cat.png
35
- - lib/generators/ideyabox/admin/templates/assets/images/admin/search.png
36
- - lib/generators/ideyabox/admin/templates/assets/images/admin/search_button.png
37
- - lib/generators/ideyabox/admin/templates/assets/images/admin/small_button.png
38
- - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/#swfobject.js
39
- - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/cancel.png
40
- - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/jquery.uploadify.min.js
41
- - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify-cancel.png
42
- - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.css
43
- - lib/generators/ideyabox/admin/templates/assets/images/admin/uploadify/uploadify.swf
44
- - lib/generators/ideyabox/admin/templates/assets/javascripts/.DS_Store
45
- - lib/generators/ideyabox/admin/templates/assets/javascripts/admin.js
46
- - lib/generators/ideyabox/admin/templates/assets/javascripts/chosen.jquery.js
47
- - lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.ui.nestedSortable.js
48
- - lib/generators/ideyabox/admin/templates/assets/javascripts/jquery.uploadify.min.js
49
- - lib/generators/ideyabox/admin/templates/assets/javascripts/modernizr.js
50
- - lib/generators/ideyabox/admin/templates/assets/javascripts/swfobject.js
51
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/.DS_Store
52
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/admin.scss.erb
53
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/chosen.scss.erb
54
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/font-awesome.css
55
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/.gitignore
56
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.eot
57
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.svg
58
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.ttf
59
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/font_awesome/font/fontawesome-webfont.woff
60
- - lib/generators/ideyabox/admin/templates/assets/stylesheets/normalize.css
61
210
  - lib/generators/ideyabox/admin/templates/controllers/.DS_Store
62
211
  - lib/generators/ideyabox/admin/templates/controllers/admin/.DS_Store
63
212
  - lib/generators/ideyabox/admin/templates/controllers/admin/application_controller.rb
64
- - lib/generators/ideyabox/admin/templates/helpers/.DS_Store
65
- - lib/generators/ideyabox/admin/templates/helpers/admin_helper.rb
66
- - lib/generators/ideyabox/admin/templates/tasks/reset_db.rake
67
213
  - lib/generators/ideyabox/admin/templates/tasks/seeds.rb
68
214
  - lib/generators/ideyabox/admin/templates/views/.DS_Store
69
215
  - lib/generators/ideyabox/admin/templates/views/admin/.DS_Store
@@ -72,7 +218,9 @@ files:
72
218
  - lib/generators/ideyabox/admin/templates/views/admin/shared/_topbar.html.haml
73
219
  - lib/generators/ideyabox/admin/templates/views/layouts/admin.html.haml
74
220
  - lib/generators/ideyabox/admin/templates/views/layouts/login.html.haml
221
+ - lib/generators/ideyabox/assets/assets_generator.rb
75
222
  - lib/ideyabox.rb
223
+ - lib/ideyabox/engine.rb
76
224
  - lib/ideyabox/version.rb
77
225
  homepage: ''
78
226
  licenses: []
@@ -80,6 +228,7 @@ post_install_message:
80
228
  rdoc_options: []
81
229
  require_paths:
82
230
  - lib
231
+ - app
83
232
  required_ruby_version: !ruby/object:Gem::Requirement
84
233
  none: false
85
234
  requirements: