enjoy_cms_gallery 0.4.0.2 → 0.4.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd0be9a73f8d96fcfd0bb20d8b2259a0d0cef929
4
- data.tar.gz: cc0a730f4dab94e2ef39578de352519bad718f3a
3
+ metadata.gz: 9e5e258fb8bfd05b424a904213c2a1573c95b9b6
4
+ data.tar.gz: 03ae1fdf78d721344f0a68c160c8c651d29ee726
5
5
  SHA512:
6
- metadata.gz: e0c64f99d6430e85e134507d3dd37bfc7cbc05fd644daa18da7e259c7891198bcb9f35d734f1f34d0b4e02468ba91531e42e4e31e919c865190586909eb46d80
7
- data.tar.gz: 10b9025bf73313a46664c5c125c0e0b28fc4a1f35db51a69b2f803a74ef1c7174ec8f2b807dbd28cbb537ff1e567006552cf2fb2522b11437dd7bc03da2bd1ca
6
+ metadata.gz: 9472c19da51b3bcc583571302c6ba8a6858efd29d0d064d9f1b27d08dcbbc6fbc5f462028553de57ad9904e5af4d09fd188199bc235f8f4abf24d6e011f90f77
7
+ data.tar.gz: 295898993fdeacdda410da44e6a102ee38cf60ece122677ee19c4ac4ab62fd1d562efd9d8d1cc859964b7755272b7be7125c4f8cda2ea46583e925912d059d0c
data/README.md CHANGED
@@ -1,41 +1,3 @@
1
1
  # EnjoyCmsGallery
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/enjoy_cms_gallery`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'enjoy_cms_gallery'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install enjoy_cms_gallery
22
-
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/enjoy_cms_gallery.
36
-
37
-
38
- ## License
39
-
40
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
-
3
+ # NO LONGER MAINTAINED. SEE [HancockCMS Gallery](https://github.com/red-rocks/hancock_cms_gallery)
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "enjoy_cms_gallery"
8
8
  spec.version = Enjoy::Gallery::VERSION
9
9
  spec.authors = ["Alexander Kiseliev"]
10
- spec.email = ["dev@enjoycreate.ru"]
10
+ spec.email = ["i43ack@gmail.com"]
11
11
 
12
12
  spec.description = %q{enjoy_cms_gallery}
13
13
  spec.summary = %q{enjoy_cms_gallery}
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_development_dependency "bundler", "~> 1.10"
31
31
  spec.add_development_dependency "rake", "~> 10.0"
32
32
 
33
- spec.add_dependency 'enjoy_cms', "~> 0.4.0"
33
+ spec.add_dependency 'enjoy_cms', "~> 0.4.1"
34
34
 
35
35
  spec.add_dependency "paperclip"
36
36
  spec.add_dependency 'glebtv-mongoid-paperclip'
@@ -9,7 +9,12 @@ module Enjoy::Gallery
9
9
 
10
10
  included do
11
11
  enjoy_cms_attached_file(:image)
12
+
13
+ after_save do
14
+ auto_rails_admin_jcrop(:image)
15
+ end
12
16
  end
17
+
13
18
  end
14
19
  end
15
20
  end
@@ -20,7 +20,12 @@ module Enjoy::Gallery
20
20
  enjoy_cms_attached_file(:image)
21
21
 
22
22
  # has_many :connected_objects, as: :enjoy_gallerable
23
+
24
+ after_save do
25
+ auto_rails_admin_jcrop(:image)
26
+ end
23
27
  end
28
+
24
29
  end
25
30
  end
26
31
  end
@@ -14,7 +14,12 @@ module Enjoy::Gallery
14
14
  acts_as_nested_set
15
15
 
16
16
  enjoy_cms_attached_file(:image)
17
+
18
+ after_save do
19
+ auto_rails_admin_jcrop(:image)
20
+ end
17
21
  end
22
+
18
23
  end
19
24
  end
20
25
  end
@@ -1,5 +1,5 @@
1
1
  module Enjoy
2
2
  module Gallery
3
- VERSION = "0.4.0.2"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enjoy_cms_gallery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.2
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Kiseliev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-09 00:00:00.000000000 Z
11
+ date: 2016-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.4.0
47
+ version: 0.4.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.4.0
54
+ version: 0.4.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: paperclip
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -124,7 +124,7 @@ dependencies:
124
124
  version: '0'
125
125
  description: enjoy_cms_gallery
126
126
  email:
127
- - dev@enjoycreate.ru
127
+ - i43ack@gmail.com
128
128
  executables: []
129
129
  extensions: []
130
130
  extra_rdoc_files: []