mobility 0.1.19 → 0.1.20

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
  SHA1:
3
- metadata.gz: cfaed87c8d2aa5d4c794e315b8b4080f94101f9a
4
- data.tar.gz: d5fd629b130d538e419ac31522b9f6441d9d85b4
3
+ metadata.gz: 6778a8402d95ba47fef05d514047e2545e09f0d2
4
+ data.tar.gz: 27575b20fb80ed574499a1526be8c4583cfe7ff6
5
5
  SHA512:
6
- metadata.gz: 05b16517848c01ddc40f836ca085883b986dcff714ed74787e920e11e8bd376eafa7bcaf26ef74957ed0052c9c74d11b9acdf03ce68c4512afbc0c284a74e8bd
7
- data.tar.gz: d593ee3f8c8bdc1b7a8f5ebc2928677dd89d4a146b0463839cba92e4d4360ed246317b67593e7c7a83c0f96840ef83a499e3e8b6280a1b7dbdbf3e3706d0189b
6
+ metadata.gz: 1918d980d4567431243360a7fab301e2240d6632a5c76ca773dc8bf6a22054a1c92a4946dd4f2a5bca0c1103d3c9c254127342f344ab82c31349b1b0a0fed906
7
+ data.tar.gz: 71a75d941c0d7845d2dd7e88b2bb0d62f6e2fb4826292a25515541a6be6e21a9937c40c1b733c595bbc58378a37acc5b53c051a44e35ab189bfd00c36200ff42
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## 0.1
4
4
 
5
+ ### 0.1.20 (July 23, 2017)
6
+ * Fix location of Rails generators to work with plugins
7
+ ([#56](https://github.com/shioyama/mobility/pull/56))
8
+
5
9
  ### 0.1.19 (July 16, 2017)
6
10
  * Partial support for AR 4.2 ([#46](https://github.com/shioyama/mobility/pull/46))
7
11
  * Fix issues with Sequel >= 4.46.0 ([#47](https://github.com/shioyama/mobility/pull/47))
data/Gemfile.lock CHANGED
@@ -69,7 +69,7 @@ GEM
69
69
  lumberjack (1.0.12)
70
70
  method_source (0.8.2)
71
71
  mini_portile2 (2.2.0)
72
- minitest (5.10.2)
72
+ minitest (5.10.3)
73
73
  mysql2 (0.3.21)
74
74
  nenv (0.3.0)
75
75
  nokogiri (1.8.0)
@@ -146,4 +146,4 @@ DEPENDENCIES
146
146
  yard (~> 0.9.0)
147
147
 
148
148
  BUNDLED WITH
149
- 1.15.1
149
+ 1.15.3
data/README.md CHANGED
@@ -47,7 +47,7 @@ Installation
47
47
  Add this line to your application's Gemfile:
48
48
 
49
49
  ```ruby
50
- gem 'mobility', '~> 0.1.19'
50
+ gem 'mobility', '~> 0.1.20'
51
51
  ```
52
52
 
53
53
  To translate attributes on a model, include (or extend) `Mobility`, then call
data/lib/mobility.rb CHANGED
@@ -59,7 +59,7 @@ module Mobility
59
59
  begin
60
60
  require "rails"
61
61
  Loaded::Rails = true
62
- require "mobility/rails"
62
+ require "rails/generators/mobility/generators"
63
63
  rescue LoadError
64
64
  Loaded::Rails = false
65
65
  end
@@ -1,3 +1,3 @@
1
1
  module Mobility
2
- VERSION = "0.1.19"
2
+ VERSION = "0.1.20"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  require "rails/generators"
2
2
  require "rails/generators/active_record"
3
+ require_relative "./active_record_migration_compatibility"
3
4
 
4
5
  module Mobility
5
6
  class InstallGenerator < ::Rails::Generators::Base
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobility
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Salzberg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-07-16 00:00:00.000000000 Z
11
+ date: 2017-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: request_store
@@ -135,19 +135,6 @@ files:
135
135
  - LICENSE.txt
136
136
  - README.md
137
137
  - Rakefile
138
- - lib/generators/rails/mobility/active_record_migration_compatibility.rb
139
- - lib/generators/rails/mobility/backend_generators/base.rb
140
- - lib/generators/rails/mobility/backend_generators/column_backend.rb
141
- - lib/generators/rails/mobility/backend_generators/table_backend.rb
142
- - lib/generators/rails/mobility/generators.rb
143
- - lib/generators/rails/mobility/install_generator.rb
144
- - lib/generators/rails/mobility/templates/column_translations.rb
145
- - lib/generators/rails/mobility/templates/create_string_translations.rb
146
- - lib/generators/rails/mobility/templates/create_text_translations.rb
147
- - lib/generators/rails/mobility/templates/initializer.rb
148
- - lib/generators/rails/mobility/templates/table_migration.rb
149
- - lib/generators/rails/mobility/templates/table_translations.rb
150
- - lib/generators/rails/mobility/translations_generator.rb
151
138
  - lib/mobility.rb
152
139
  - lib/mobility/active_model.rb
153
140
  - lib/mobility/active_model/backend_resetter.rb
@@ -215,7 +202,6 @@ files:
215
202
  - lib/mobility/fallthrough_accessors.rb
216
203
  - lib/mobility/locale_accessors.rb
217
204
  - lib/mobility/orm.rb
218
- - lib/mobility/rails.rb
219
205
  - lib/mobility/sequel.rb
220
206
  - lib/mobility/sequel/backend_resetter.rb
221
207
  - lib/mobility/sequel/column_changes.rb
@@ -226,6 +212,19 @@ files:
226
212
  - lib/mobility/translates.rb
227
213
  - lib/mobility/version.rb
228
214
  - lib/mobility/wrapper.rb
215
+ - lib/rails/generators/mobility/active_record_migration_compatibility.rb
216
+ - lib/rails/generators/mobility/backend_generators/base.rb
217
+ - lib/rails/generators/mobility/backend_generators/column_backend.rb
218
+ - lib/rails/generators/mobility/backend_generators/table_backend.rb
219
+ - lib/rails/generators/mobility/generators.rb
220
+ - lib/rails/generators/mobility/install_generator.rb
221
+ - lib/rails/generators/mobility/templates/column_translations.rb
222
+ - lib/rails/generators/mobility/templates/create_string_translations.rb
223
+ - lib/rails/generators/mobility/templates/create_text_translations.rb
224
+ - lib/rails/generators/mobility/templates/initializer.rb
225
+ - lib/rails/generators/mobility/templates/table_migration.rb
226
+ - lib/rails/generators/mobility/templates/table_translations.rb
227
+ - lib/rails/generators/mobility/translations_generator.rb
229
228
  - lib/sequel/plugins/mobility.rb
230
229
  homepage: https://github.com/shioyama/mobility
231
230
  licenses:
@@ -1 +0,0 @@
1
- require_relative "../generators/rails/mobility/generators"