active-record-vercomp 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28ca747a74d296d70b19d2290f2bc6054042e973841cc1c7080deb83a172b230
4
- data.tar.gz: 96ca1729b35a768d013b55b625f4d321e6d228a9093e4899a2b064d6db7c3724
3
+ metadata.gz: dffe40a871e0404f06623cf274c5a57b5ab8b65dacbf2708507b65349b425876
4
+ data.tar.gz: '0916e86b759cf468fc7793841164058b921608d6b18887b798282d2a2d6c7720'
5
5
  SHA512:
6
- metadata.gz: 8c1de8d82c5eef1e1b30aa9e18e1d7c9938ed70a12660af75a7f8cf674739469859b312f558eb900baf475e055346f2ed5f5d0d3cb73e650be946a540e0c7be6
7
- data.tar.gz: 20841c8c6881f3a0aeae6cc65b40c8255289be233147f6afe364658912b0f35a326fa06755321f98a8b1edda898cd36c0b7672fad4a4eeca4d438cddfd89cef6
6
+ metadata.gz: 1c2e461f23138f54dfb9522efe2eff36a7b2d988976470e12df6f951791ee1b876bbe564e20ebee43e8581c3424c8a18cbffc31563fc427d363662edc339353c
7
+ data.tar.gz: 1429abd9c5abbeae1e28608f31d7a441304dd6a792ff400315b84d2e9b2c00b226e5c7ce98168879c29ad6812560eb46c2fb9b65b1ece793354d1ce2571f893e
data/README.md CHANGED
@@ -28,7 +28,7 @@ And then execute:
28
28
 
29
29
  Or install it yourself as:
30
30
 
31
- $ gem install activerecord-vercomp
31
+ $ gem install active-record-vercomp
32
32
 
33
33
  ## Usage
34
34
 
@@ -44,12 +44,17 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
44
44
 
45
45
  ## Contributing
46
46
 
47
- Bug reports and pull requests are welcome on GitHub at https://github.com/eendroroy/activerecord-vercomp. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
47
+ Bug reports and pull requests are welcome on GitHub at [active-record-vercomp](https://github.com/eendroroy/active-record-vercomp) repository.
48
+ This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
49
+
50
+ ## Author
51
+
52
+ * **indrajit** - *Owner* - [eendroroy](https://github.com/eendroroy)
48
53
 
49
54
  ## License
50
55
 
51
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
56
+ The project is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
52
57
 
53
58
  ## Code of Conduct
54
59
 
55
- Everyone interacting in the Activerecord::Vercomp project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/eendroroy/activerecord-vercomp/blob/master/CODE_OF_CONDUCT.md).
60
+ Everyone interacting in the ActiveRecordVercomp project’s codebase, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/eendroroy/active-record-vercomp/blob/master/CODE_OF_CONDUCT.md).
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Activerecord
4
4
  module Vercomp
5
- VERSION = '1.0.0'
5
+ VERSION = '1.1.0'
6
6
  end
7
7
  end
@@ -0,0 +1,5 @@
1
+ class EnableVercompExtension < ActiveRecord::Migration[5.1]
2
+ def change
3
+ enable_extension 'vercomp'
4
+ end
5
+ end
@@ -4,5 +4,9 @@ class VercompGenerator < Rails::Generators::Base
4
4
  source_root File.expand_path('templates', __dir__)
5
5
  def copy_initializer
6
6
  copy_file '../templates/connection_adapter_vercomp.rb', 'config/initializers/connection_adapter_vercomp.rb'
7
+ copy_file(
8
+ '../templates/enable_vercomp_extension.rb',
9
+ "db/migrate/#{Time.now.utc.strftime('%Y%m%d%H%M%S')}_enable_vercomp_extension.rb"
10
+ )
7
11
  end
8
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active-record-vercomp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - eendroroy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-03 00:00:00.000000000 Z
11
+ date: 2018-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -76,6 +76,7 @@ files:
76
76
  - lib/active-record/vercomp/version.rb
77
77
  - lib/generators/vercomp/USAGE
78
78
  - lib/generators/vercomp/templates/connection_adapter_vercomp.rb
79
+ - lib/generators/vercomp/templates/enable_vercomp_extension.rb
79
80
  - lib/generators/vercomp/vercomp_generator.rb
80
81
  homepage: https://github.com/eendroroy/active-record-vercomp
81
82
  licenses: