photos_manager 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -15,6 +15,22 @@ And then execute:
15
15
  Or install it yourself as:
16
16
 
17
17
  $ gem install photos_manager
18
+
19
+ Run the generator:
20
+
21
+ $ rails g photos_manager
22
+
23
+ Then run migration :
24
+
25
+ $ rake db:migrate
26
+
27
+ Require javascripts and stylesheets:
28
+
29
+ #application.js
30
+ //= require photos_manager
31
+
32
+ #application.css
33
+ *= require photos_manager
18
34
 
19
35
  ## Usage
20
36
 
@@ -15,6 +15,10 @@ class PhotosManagerGenerator < Rails::Generators::Base
15
15
  end
16
16
  end
17
17
 
18
+ def copy_swf
19
+ copy_file "uploadify.swf", "app/assets/javascripts/uploadify.swf"
20
+ end
21
+
18
22
  def mount_engine
19
23
  puts "Mounting PhotosManager::Engine in config/routes.rb..."
20
24
  insert_into_file("#{Rails.root}/config/routes.rb", :after => /routes.draw.do\n/) do
@@ -1,3 +1,3 @@
1
1
  module PhotosManager
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: photos_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: carrierwave
16
- requirement: &26030232 !ruby/object:Gem::Requirement
16
+ requirement: &24744972 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.6.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *26030232
24
+ version_requirements: *24744972
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: jquery-rails
27
- requirement: &26029908 !ruby/object:Gem::Requirement
27
+ requirement: &24742788 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *26029908
35
+ version_requirements: *24742788
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bootstrap-sass
38
- requirement: &26028504 !ruby/object:Gem::Requirement
38
+ requirement: &24741048 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.0.3
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *26028504
46
+ version_requirements: *24741048
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: haml
49
- requirement: &26028192 !ruby/object:Gem::Requirement
49
+ requirement: &24740136 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *26028192
57
+ version_requirements: *24740136
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: kaminari
60
- requirement: &26027880 !ruby/object:Gem::Requirement
60
+ requirement: &24739788 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *26027880
68
+ version_requirements: *24739788
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simple_form
71
- requirement: &26027544 !ruby/object:Gem::Requirement
71
+ requirement: &24739404 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *26027544
79
+ version_requirements: *24739404
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rmagick
82
- requirement: &26027208 !ruby/object:Gem::Requirement
82
+ requirement: &24739056 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *26027208
90
+ version_requirements: *24739056
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: flash_cookie_session
93
- requirement: &26026944 !ruby/object:Gem::Requirement
93
+ requirement: &24738804 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *26026944
101
+ version_requirements: *24738804
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: bundler
104
- requirement: &26026620 !ruby/object:Gem::Requirement
104
+ requirement: &24738432 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,7 +109,7 @@ dependencies:
109
109
  version: 1.0.0
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *26026620
112
+ version_requirements: *24738432
113
113
  description: ! '"Manage events & photos associated to it using uploadify, carrierwave,
114
114
  bootstrap & Kaminari"'
115
115
  email:
@@ -145,6 +145,7 @@ files:
145
145
  - config/routes.rb
146
146
  - lib/generators/photos_manager/photos_manager_generator.rb
147
147
  - lib/generators/photos_manager/templates/migration.rb
148
+ - lib/generators/photos_manager/templates/uploadify.swf
148
149
  - lib/photos_manager.rb
149
150
  - lib/photos_manager/engine.rb
150
151
  - lib/photos_manager/version.rb
@@ -157,7 +158,6 @@ files:
157
158
  - vendor/assets/javascripts/photos_manager/uploadify.swf
158
159
  - vendor/assets/stylesheets/photos_manager.sass
159
160
  - vendor/assets/stylesheets/photos_manager/uploadify.sass
160
- - vendor/assets/uploadify.swf
161
161
  homepage: ''
162
162
  licenses: []
163
163
  post_install_message: