paperclip_montage 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +4 -0
  3. data/.travis.yml +55 -0
  4. data/Gemfile +38 -0
  5. data/Guardfile +14 -0
  6. data/LICENSE +674 -0
  7. data/README.md +67 -0
  8. data/Rakefile +50 -0
  9. data/config/Guardfile +14 -0
  10. data/lib/generators/paperclip_montage/USAGE +8 -0
  11. data/lib/generators/paperclip_montage/paperclip_montage_generator.rb +3 -0
  12. data/lib/paperclip/montage.rb +94 -0
  13. data/lib/paperclip/myversion.rb +11 -0
  14. data/lib/paperclip_montage.rb +5 -0
  15. data/paperclip_montage.gemspec +154 -0
  16. data/spec/fixtures/valid.jpg +0 -0
  17. data/spec/fixtures/valid1.png +0 -0
  18. data/spec/fixtures/valid2.png +0 -0
  19. data/spec/fixtures/valid3.png +0 -0
  20. data/spec/fixtures/valid4.png +0 -0
  21. data/spec/paperclip/montage_spec.rb +56 -0
  22. data/spec/rails-app/.gitignore +17 -0
  23. data/spec/rails-app/.rspec +2 -0
  24. data/spec/rails-app/Gemfile +32 -0
  25. data/spec/rails-app/Guardfile +76 -0
  26. data/spec/rails-app/README.rdoc +28 -0
  27. data/spec/rails-app/Rakefile +6 -0
  28. data/spec/rails-app/app/assets/images/.keep +0 -0
  29. data/spec/rails-app/app/assets/javascripts/application.js +16 -0
  30. data/spec/rails-app/app/assets/stylesheets/application.css +15 -0
  31. data/spec/rails-app/app/controllers/application_controller.rb +5 -0
  32. data/spec/rails-app/app/controllers/concerns/.keep +0 -0
  33. data/spec/rails-app/app/helpers/application_helper.rb +2 -0
  34. data/spec/rails-app/app/models/.keep +0 -0
  35. data/spec/rails-app/app/models/avatar.rb +5 -0
  36. data/spec/rails-app/app/models/avatars_meta.rb +4 -0
  37. data/spec/rails-app/app/models/concerns/.keep +0 -0
  38. data/spec/rails-app/app/models/meta.rb +16 -0
  39. data/spec/rails-app/app/views/layouts/application.html.erb +14 -0
  40. data/spec/rails-app/bin/bundle +3 -0
  41. data/spec/rails-app/bin/rails +8 -0
  42. data/spec/rails-app/bin/rake +8 -0
  43. data/spec/rails-app/bin/spring +18 -0
  44. data/spec/rails-app/config.ru +4 -0
  45. data/spec/rails-app/config/Guardfile +76 -0
  46. data/spec/rails-app/config/application.rb +23 -0
  47. data/spec/rails-app/config/boot.rb +4 -0
  48. data/spec/rails-app/config/database.yml +25 -0
  49. data/spec/rails-app/config/environment.rb +5 -0
  50. data/spec/rails-app/config/environments/development.rb +37 -0
  51. data/spec/rails-app/config/environments/production.rb +78 -0
  52. data/spec/rails-app/config/environments/test.rb +39 -0
  53. data/spec/rails-app/config/initializers/assets.rb +8 -0
  54. data/spec/rails-app/config/initializers/backtrace_silencers.rb +7 -0
  55. data/spec/rails-app/config/initializers/cookies_serializer.rb +3 -0
  56. data/spec/rails-app/config/initializers/filter_parameter_logging.rb +4 -0
  57. data/spec/rails-app/config/initializers/inflections.rb +16 -0
  58. data/spec/rails-app/config/initializers/mime_types.rb +4 -0
  59. data/spec/rails-app/config/initializers/session_store.rb +3 -0
  60. data/spec/rails-app/config/initializers/wrap_parameters.rb +14 -0
  61. data/spec/rails-app/config/locales/en.yml +23 -0
  62. data/spec/rails-app/config/routes.rb +56 -0
  63. data/spec/rails-app/config/secrets.yml +22 -0
  64. data/spec/rails-app/db/migrate/20141212000615_create_avatars.rb +9 -0
  65. data/spec/rails-app/db/migrate/20141212000731_create_meta.rb +9 -0
  66. data/spec/rails-app/db/migrate/20141214193102_create_avatars_meta.rb +10 -0
  67. data/spec/rails-app/db/schema.rb +44 -0
  68. data/spec/rails-app/db/seeds.rb +7 -0
  69. data/spec/rails-app/public/404.html +67 -0
  70. data/spec/rails-app/public/422.html +67 -0
  71. data/spec/rails-app/public/500.html +66 -0
  72. data/spec/rails-app/public/favicon.ico +0 -0
  73. data/spec/rails-app/public/robots.txt +5 -0
  74. data/spec/rails-app/spec/models/avatar_spec.rb +9 -0
  75. data/spec/rails-app/spec/models/avatars_meta_spec.rb +5 -0
  76. data/spec/rails-app/spec/models/meta_spec.rb +48 -0
  77. data/spec/rails-app/spec/rails_helper.rb +50 -0
  78. data/spec/rails-app/spec/spec_helper.rb +12 -0
  79. data/spec/spec_helper.rb +112 -0
  80. metadata +306 -0
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /
@@ -0,0 +1,9 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe Avatar, :type => :model do
4
+ it 'attach' do
5
+ avatar = described_class.new
6
+ avatar.avatar = File.open('../fixtures/valid.jpg')
7
+ expect(avatar.avatar).to_not be_nil
8
+ end
9
+ end
@@ -0,0 +1,5 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe AvatarsMeta, :type => :model do
4
+ pending "add some examples to (or delete) #{__FILE__}"
5
+ end
@@ -0,0 +1,48 @@
1
+ require 'rails_helper'
2
+
3
+ RSpec.describe Meta do
4
+ it 'attach' do
5
+ meta = described_class.new montage: File.open('../fixtures/valid.jpg')
6
+ expect(meta.montage).to_not be_nil
7
+ end
8
+ it 'attach' do
9
+ meta = described_class.new
10
+ meta.montage = File.open('../fixtures/valid.jpg')
11
+ expect(meta.montage).to_not be_nil
12
+ end
13
+ it '#save' do
14
+ meta = described_class.new montage: File.open('../fixtures/valid.jpg')
15
+ expect(meta.montage).to_not be_nil
16
+ meta.save
17
+ end
18
+ it '#after_update' do
19
+ meta = described_class.new montage: File.open('../fixtures/valid.jpg')
20
+ meta.save
21
+ meta.montage = File.open('../fixtures/valid.jpg')
22
+ expect(meta.montage).to_not be_nil
23
+ end
24
+ it '#reprocess_montage' do
25
+ meta = described_class.new montage: File.open('../fixtures/valid.jpg')
26
+ meta.reprocess_montage
27
+ expect(meta.montage).to_not be_nil
28
+ end
29
+ it '#reprocess_montage' do
30
+ meta = described_class.new montage: File.open('../fixtures/valid.jpg')
31
+ medium = File.size(meta.montage.path(:medium))
32
+ thumb = File.size(meta.montage.path(:thumb))
33
+ original = File.size(meta.montage.path(:original))
34
+ expect(medium).to be > original
35
+ expect(medium).to be > thumb
36
+ expect(thumb).to be < original
37
+ expect(meta.montage).to_not be_nil
38
+ end
39
+ it 'takes multiple files from avatar' do
40
+ meta = described_class.new montage: File.open('../fixtures/valid.jpg')
41
+ (1..4).each do |i|
42
+ meta.avatars << Avatar.create!(avatar: File.open("../fixtures/valid#{i}.png"))
43
+ end
44
+ meta.save
45
+ meta.reprocess_montage
46
+ meta.destroy
47
+ end
48
+ end
@@ -0,0 +1,50 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV["RAILS_ENV"] ||= 'test'
3
+ require 'spec_helper'
4
+ require File.expand_path("../../config/environment", __FILE__)
5
+ require 'rspec/rails'
6
+ # Add additional requires below this line. Rails is not loaded until this point!
7
+
8
+ # Requires supporting ruby files with custom matchers and macros, etc, in
9
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
10
+ # run as spec files by default. This means that files in spec/support that end
11
+ # in _spec.rb will both be required and run as specs, causing the specs to be
12
+ # run twice. It is recommended that you do not name files matching this glob to
13
+ # end with _spec.rb. You can configure this pattern with the --pattern
14
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
15
+ #
16
+ # The following line is provided for convenience purposes. It has the downside
17
+ # of increasing the boot-up time by auto-requiring all files in the support
18
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
19
+ # require only the support files necessary.
20
+ #
21
+ # Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
22
+
23
+ # Checks for pending migrations before tests are run.
24
+ # If you are not using ActiveRecord, you can remove this line.
25
+ #ActiveRecord::Migration.maintain_test_schema!
26
+
27
+ RSpec.configure do |config|
28
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
29
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
30
+
31
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
32
+ # examples within a transaction, remove the following line or assign false
33
+ # instead of true.
34
+ config.use_transactional_fixtures = true
35
+
36
+ # RSpec Rails can automatically mix in different behaviours to your tests
37
+ # based on their file location, for example enabling you to call `get` and
38
+ # `post` in specs under `spec/controllers`.
39
+ #
40
+ # You can disable this behaviour by removing the line below, and instead
41
+ # explicitly tag your specs with their type, e.g.:
42
+ #
43
+ # RSpec.describe UsersController, :type => :controller do
44
+ # # ...
45
+ # end
46
+ #
47
+ # The different available types are documented in the features, such as in
48
+ # https://relishapp.com/rspec/rspec-rails/docs
49
+ config.infer_spec_type_from_file_location!
50
+ end
@@ -0,0 +1,12 @@
1
+ RSpec.configure do |config|
2
+ begin
3
+ config.filter_run :focus
4
+ config.run_all_when_everything_filtered = true
5
+ if config.files_to_run.one?
6
+ config.default_formatter = 'doc'
7
+ end
8
+ config.profile_examples = 10
9
+ config.order = :random
10
+ Kernel.srand config.seed
11
+ end
12
+ end
@@ -0,0 +1,112 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, consider making
10
+ # a separate helper file that requires the additional dependencies and performs
11
+ # the additional setup, and require it from the spec files that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+ #
18
+
19
+ require 'bundler/setup'
20
+ Bundler.setup
21
+
22
+ require 'paperclip' # and any other gems you need
23
+ require 'paperclip_montage' # and any other gems you need
24
+ #require 'rails-app/config/environment'
25
+ #require 'rails/all'
26
+ #require 'rspec/rails'
27
+ require "paperclip/matchers"
28
+
29
+ RSpec.configure do |config|
30
+ # rspec-expectations config goes here. You can use an alternate
31
+ # assertion/expectation library such as wrong or the stdlib/minitest
32
+ # assertions if you prefer.
33
+ config.expect_with :rspec do |expectations|
34
+ # This option will default to `true` in RSpec 4. It makes the `description`
35
+ # and `failure_message` of custom matchers include text for helper methods
36
+ # defined using `chain`, e.g.:
37
+ # be_bigger_than(2).and_smaller_than(4).description
38
+ # # => "be bigger than 2 and smaller than 4"
39
+ # ...rather than:
40
+ # # => "be bigger than 2"
41
+ # expectations.include_chain_clauses_in_custom_matcher_descriptions = true
42
+ end
43
+
44
+ # rspec-mocks config goes here. You can use an alternate test double
45
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
46
+ config.mock_with :rspec do |mocks|
47
+ # Prevents you from mocking or stubbing a method that does not exist on
48
+ # a real object. This is generally recommended, and will default to
49
+ # `true` in RSpec 4.
50
+ # mocks.verify_partial_doubles = true
51
+ end
52
+
53
+ # The settings below are suggested to provide a good initial experience
54
+ # with RSpec, but feel free to customize to your heart's content.
55
+ begin
56
+ # These two settings work together to allow you to limit a spec run
57
+ # to individual examples or groups you care about by tagging them with
58
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
59
+ # get run.
60
+ config.filter_run :focus
61
+ config.run_all_when_everything_filtered = true
62
+
63
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
64
+ # For more details, see:
65
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
66
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
67
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
68
+ #config.disable_monkey_patching!
69
+
70
+ # This setting enables warnings. It's recommended, but in some cases may
71
+ # be too noisy due to issues in dependencies.
72
+ config.warnings = true
73
+
74
+ # Many RSpec users commonly either run the entire suite or an individual
75
+ # file, and it's useful to allow more verbose output when running an
76
+ # individual spec file.
77
+ if config.files_to_run.one?
78
+ # Use the documentation formatter for detailed output,
79
+ # unless a formatter has already been configured
80
+ # (e.g. via a command-line flag).
81
+ #config.default_formatter = 'doc'
82
+ end
83
+
84
+ # Print the 10 slowest examples and example groups at the
85
+ # end of the spec run, to help surface which specs are running
86
+ # particularly slow.
87
+ config.profile_examples = 10
88
+
89
+ # Run specs in random order to surface order dependencies. If you find an
90
+ # order dependency and want to debug it, you can fix the order by providing
91
+ # the seed, which is printed after each run.
92
+ # --seed 1234
93
+ config.order = :random
94
+
95
+ # Seed global randomization in this process using the `--seed` CLI option.
96
+ # Setting this allows you to use `--seed` to deterministically reproduce
97
+ # test failures related to randomization by passing the same `--seed` value
98
+ # as the one that triggered the failure.
99
+ Kernel.srand config.seed
100
+ end
101
+
102
+ config.include Paperclip::Shoulda::Matchers
103
+ end
104
+
105
+
106
+ def get_fixture(file_type = :jpg, valid = 'valid')
107
+ file_name = "#{valid}.#{file_type}"
108
+ fixtures_dir = File.join(File.dirname(__FILE__), 'fixtures')
109
+ fixture_path = File.join(fixtures_dir, file_name)
110
+
111
+ File.open(fixture_path)
112
+ end
metadata ADDED
@@ -0,0 +1,306 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: paperclip_montage
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Daniel W. Crompton
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-12-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: paperclip
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: shoulda
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rdoc
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '3.12'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '3.12'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: jeweler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: 2.0.1
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: 2.0.1
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-yard
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rails
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: 3.1.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: 3.1.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: sqlite3
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - '>='
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rspec-rails
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - '>='
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
181
+ - !ruby/object:Gem::Dependency
182
+ name: coveralls
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - '>='
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - '>='
193
+ - !ruby/object:Gem::Version
194
+ version: '0'
195
+ description: This module stores the image files in Redis
196
+ email:
197
+ - paperclip+montage@specialbrands.net
198
+ executables: []
199
+ extensions: []
200
+ extra_rdoc_files:
201
+ - LICENSE
202
+ - README.md
203
+ files:
204
+ - .rspec
205
+ - .travis.yml
206
+ - Gemfile
207
+ - Guardfile
208
+ - LICENSE
209
+ - README.md
210
+ - Rakefile
211
+ - config/Guardfile
212
+ - lib/generators/paperclip_montage/USAGE
213
+ - lib/generators/paperclip_montage/paperclip_montage_generator.rb
214
+ - lib/paperclip/montage.rb
215
+ - lib/paperclip/myversion.rb
216
+ - lib/paperclip_montage.rb
217
+ - paperclip_montage.gemspec
218
+ - spec/fixtures/valid.jpg
219
+ - spec/fixtures/valid1.png
220
+ - spec/fixtures/valid2.png
221
+ - spec/fixtures/valid3.png
222
+ - spec/fixtures/valid4.png
223
+ - spec/paperclip/montage_spec.rb
224
+ - spec/rails-app/.gitignore
225
+ - spec/rails-app/.rspec
226
+ - spec/rails-app/Gemfile
227
+ - spec/rails-app/Guardfile
228
+ - spec/rails-app/README.rdoc
229
+ - spec/rails-app/Rakefile
230
+ - spec/rails-app/app/assets/images/.keep
231
+ - spec/rails-app/app/assets/javascripts/application.js
232
+ - spec/rails-app/app/assets/stylesheets/application.css
233
+ - spec/rails-app/app/controllers/application_controller.rb
234
+ - spec/rails-app/app/controllers/concerns/.keep
235
+ - spec/rails-app/app/helpers/application_helper.rb
236
+ - spec/rails-app/app/models/.keep
237
+ - spec/rails-app/app/models/avatar.rb
238
+ - spec/rails-app/app/models/avatars_meta.rb
239
+ - spec/rails-app/app/models/concerns/.keep
240
+ - spec/rails-app/app/models/meta.rb
241
+ - spec/rails-app/app/views/layouts/application.html.erb
242
+ - spec/rails-app/bin/bundle
243
+ - spec/rails-app/bin/rails
244
+ - spec/rails-app/bin/rake
245
+ - spec/rails-app/bin/spring
246
+ - spec/rails-app/config.ru
247
+ - spec/rails-app/config/Guardfile
248
+ - spec/rails-app/config/application.rb
249
+ - spec/rails-app/config/boot.rb
250
+ - spec/rails-app/config/database.yml
251
+ - spec/rails-app/config/environment.rb
252
+ - spec/rails-app/config/environments/development.rb
253
+ - spec/rails-app/config/environments/production.rb
254
+ - spec/rails-app/config/environments/test.rb
255
+ - spec/rails-app/config/initializers/assets.rb
256
+ - spec/rails-app/config/initializers/backtrace_silencers.rb
257
+ - spec/rails-app/config/initializers/cookies_serializer.rb
258
+ - spec/rails-app/config/initializers/filter_parameter_logging.rb
259
+ - spec/rails-app/config/initializers/inflections.rb
260
+ - spec/rails-app/config/initializers/mime_types.rb
261
+ - spec/rails-app/config/initializers/session_store.rb
262
+ - spec/rails-app/config/initializers/wrap_parameters.rb
263
+ - spec/rails-app/config/locales/en.yml
264
+ - spec/rails-app/config/routes.rb
265
+ - spec/rails-app/config/secrets.yml
266
+ - spec/rails-app/db/migrate/20141212000615_create_avatars.rb
267
+ - spec/rails-app/db/migrate/20141212000731_create_meta.rb
268
+ - spec/rails-app/db/migrate/20141214193102_create_avatars_meta.rb
269
+ - spec/rails-app/db/schema.rb
270
+ - spec/rails-app/db/seeds.rb
271
+ - spec/rails-app/public/404.html
272
+ - spec/rails-app/public/422.html
273
+ - spec/rails-app/public/500.html
274
+ - spec/rails-app/public/favicon.ico
275
+ - spec/rails-app/public/robots.txt
276
+ - spec/rails-app/spec/models/avatar_spec.rb
277
+ - spec/rails-app/spec/models/avatars_meta_spec.rb
278
+ - spec/rails-app/spec/models/meta_spec.rb
279
+ - spec/rails-app/spec/rails_helper.rb
280
+ - spec/rails-app/spec/spec_helper.rb
281
+ - spec/spec_helper.rb
282
+ homepage: http://github.com/webhat/paperclip_montage
283
+ licenses:
284
+ - LGPLv2
285
+ metadata: {}
286
+ post_install_message:
287
+ rdoc_options: []
288
+ require_paths:
289
+ - lib
290
+ required_ruby_version: !ruby/object:Gem::Requirement
291
+ requirements:
292
+ - - '>='
293
+ - !ruby/object:Gem::Version
294
+ version: '0'
295
+ required_rubygems_version: !ruby/object:Gem::Requirement
296
+ requirements:
297
+ - - '>='
298
+ - !ruby/object:Gem::Version
299
+ version: '0'
300
+ requirements: []
301
+ rubyforge_project:
302
+ rubygems_version: 2.2.2
303
+ signing_key:
304
+ specification_version: 4
305
+ summary: Paperclip Montage
306
+ test_files: []