nostalgic 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -24
  3. data/Rakefile +3 -8
  4. data/app/assets/config/nostalgic_manifest.js +2 -0
  5. data/app/assets/javascripts/nostalgic/application.js +3 -1
  6. data/app/assets/stylesheets/nostalgic/application.css +3 -3
  7. data/app/jobs/nostalgic/application_job.rb +4 -0
  8. data/app/mailers/nostalgic/application_mailer.rb +6 -0
  9. data/app/models/nostalgic/application_record.rb +5 -0
  10. data/app/views/layouts/nostalgic/application.html.erb +3 -1
  11. data/lib/nostalgic.rb +3 -3
  12. data/lib/nostalgic/nostalgic_attr.rb +48 -26
  13. data/lib/nostalgic/railtie.rb +3 -5
  14. data/lib/nostalgic/version.rb +1 -1
  15. metadata +27 -126
  16. data/test/dummy/README.rdoc +0 -28
  17. data/test/dummy/Rakefile +0 -6
  18. data/test/dummy/app/assets/javascripts/application.js +0 -13
  19. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  20. data/test/dummy/app/controllers/application_controller.rb +0 -5
  21. data/test/dummy/app/helpers/application_helper.rb +0 -2
  22. data/test/dummy/app/models/company.rb +0 -3
  23. data/test/dummy/app/models/user.rb +0 -4
  24. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  25. data/test/dummy/bin/bundle +0 -3
  26. data/test/dummy/bin/rails +0 -4
  27. data/test/dummy/bin/rake +0 -4
  28. data/test/dummy/bin/setup +0 -29
  29. data/test/dummy/config.ru +0 -4
  30. data/test/dummy/config/application.rb +0 -23
  31. data/test/dummy/config/boot.rb +0 -5
  32. data/test/dummy/config/database.yml +0 -25
  33. data/test/dummy/config/environment.rb +0 -5
  34. data/test/dummy/config/environments/development.rb +0 -41
  35. data/test/dummy/config/environments/production.rb +0 -79
  36. data/test/dummy/config/environments/test.rb +0 -42
  37. data/test/dummy/config/initializers/assets.rb +0 -11
  38. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  39. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  40. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  41. data/test/dummy/config/initializers/inflections.rb +0 -16
  42. data/test/dummy/config/initializers/mime_types.rb +0 -4
  43. data/test/dummy/config/initializers/session_store.rb +0 -3
  44. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  45. data/test/dummy/config/locales/en.yml +0 -23
  46. data/test/dummy/config/routes.rb +0 -4
  47. data/test/dummy/config/secrets.yml +0 -22
  48. data/test/dummy/db/migrate/20160807103323_create_users.rb +0 -9
  49. data/test/dummy/db/migrate/20161217105723_create_companies.rb +0 -8
  50. data/test/dummy/db/migrate/20161217105921_add_column_company_id_on_users.rb +0 -5
  51. data/test/dummy/db/schema.rb +0 -40
  52. data/test/dummy/db/test.sqlite3 +0 -0
  53. data/test/dummy/log/test.log +0 -162
  54. data/test/dummy/public/404.html +0 -67
  55. data/test/dummy/public/422.html +0 -67
  56. data/test/dummy/public/500.html +0 -66
  57. data/test/dummy/public/favicon.ico +0 -0
  58. data/test/dummy/test/models/company_test.rb +0 -5
  59. data/test/dummy/test/models/user_test.rb +0 -60
  60. data/test/fixtures/companies.yml +0 -7
  61. data/test/fixtures/nostalgic/attrs.yml +0 -28
  62. data/test/fixtures/users.yml +0 -5
  63. data/test/integration/navigation_test.rb +0 -8
  64. data/test/models/nostalgic/attr_test.rb +0 -11
  65. data/test/nostalgic_test.rb +0 -11
  66. data/test/test_helper.rb +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00d398b20013b379fec77c694e64fe4e39aadba34bd547a1a6b1b593178dca7a
4
- data.tar.gz: aa181a9c2e257b7f06db912cb1216993138301f266c7500254488c869f540bbb
3
+ metadata.gz: 15e7bc0d694e278f5fd4fcfd6ca634939411f33eca8b3da1e0b5e683ee97d1ef
4
+ data.tar.gz: 6e9398e8382c7ef0a9f60259215a8f871fe8adcfa627d58dff368a370fd8543c
5
5
  SHA512:
6
- metadata.gz: edb885d6afa764ccf104cc9a2f49fa20a76c265a169026ce445dfbb476b31881271ff8fd0ad5ce7d707ea350df2af0d7d1c73cc764210fe3fc47e6a389646e5a
7
- data.tar.gz: 44f7f5ac5f1313a3c8ee8579215e1b6e618d2a68a3bddcc1a9aa4484a8272dd6321c151e4c2f7fe564ea1ce695f2194125731cff46b447301c15834e5652c11a
6
+ metadata.gz: 878a0d1938ab5f4168ea76b990ebee0f94b7c8b246ab22ae9e617a21b227e11a8ca1952d8cc3a8a46d29bedeb3ef9ded63fe37fc8487afa71d3be98ff04e50fc
7
+ data.tar.gz: c55d8b329b71986e9e138e8e01333de1c2452bb552fcd57ba262fff95b9c7d1fa287ea9dfe5805165417dcaf65558ca85dea6801183294042c6bb02dfc18b900
data/README.md CHANGED
@@ -1,11 +1,10 @@
1
1
  # Nostalgic
2
+ Short description and motivation.
2
3
 
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/nostalgic`. 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
4
+ ## Usage
5
+ How to use my plugin.
6
6
 
7
7
  ## Installation
8
-
9
8
  Add this line to your application's Gemfile:
10
9
 
11
10
  ```ruby
@@ -13,29 +12,17 @@ gem 'nostalgic'
13
12
  ```
14
13
 
15
14
  And then execute:
16
-
17
- $ bundle
15
+ ```bash
16
+ $ bundle
17
+ ```
18
18
 
19
19
  Or install it yourself as:
20
-
21
- $ gem install nostalgic
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 test` 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).
20
+ ```bash
21
+ $ gem install nostalgic
22
+ ```
32
23
 
33
24
  ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/nostalgic. 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.
36
-
25
+ Contribution directions go here.
37
26
 
38
27
  ## License
39
-
40
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
-
28
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile CHANGED
@@ -10,28 +10,23 @@ RDoc::Task.new(:rdoc) do |rdoc|
10
10
  rdoc.rdoc_dir = 'rdoc'
11
11
  rdoc.title = 'Nostalgic'
12
12
  rdoc.options << '--line-numbers'
13
- rdoc.rdoc_files.include('README.rdoc')
13
+ rdoc.rdoc_files.include('README.md')
14
14
  rdoc.rdoc_files.include('lib/**/*.rb')
15
15
  end
16
16
 
17
- APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
17
+ APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
18
18
  load 'rails/tasks/engine.rake'
19
19
 
20
-
21
20
  load 'rails/tasks/statistics.rake'
22
21
 
23
-
24
-
25
- Bundler::GemHelper.install_tasks
22
+ require 'bundler/gem_tasks'
26
23
 
27
24
  require 'rake/testtask'
28
25
 
29
26
  Rake::TestTask.new(:test) do |t|
30
- t.libs << 'lib'
31
27
  t.libs << 'test'
32
28
  t.pattern = 'test/**/*_test.rb'
33
29
  t.verbose = false
34
30
  end
35
31
 
36
-
37
32
  task default: :test
@@ -0,0 +1,2 @@
1
+ //= link_directory ../javascripts/nostalgic .js
2
+ //= link_directory ../stylesheets/nostalgic .css
@@ -5,9 +5,11 @@
5
5
  // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
6
  //
7
7
  // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
8
+ // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
9
  //
10
10
  // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
11
  // about supported directives.
12
12
  //
13
+ //= require rails-ujs
14
+ //= require activestorage
13
15
  //= require_tree .
@@ -6,9 +6,9 @@
6
6
  * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
7
  *
8
8
  * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
9
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
+ * files in this directory. Styles in this file should be added after the last require_* statement.
11
+ * It is generally better to create a new file per style scope.
12
12
  *
13
13
  *= require_tree .
14
14
  *= require_self
@@ -0,0 +1,4 @@
1
+ module Nostalgic
2
+ class ApplicationJob < ActiveJob::Base
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module Nostalgic
2
+ class ApplicationMailer < ActionMailer::Base
3
+ default from: 'from@example.com'
4
+ layout 'mailer'
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module Nostalgic
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -2,9 +2,11 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>Nostalgic</title>
5
+ <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+
5
8
  <%= stylesheet_link_tag "nostalgic/application", media: "all" %>
6
9
  <%= javascript_include_tag "nostalgic/application" %>
7
- <%= csrf_meta_tags %>
8
10
  </head>
9
11
  <body>
10
12
 
@@ -1,7 +1,7 @@
1
+ module Nostalgic
2
+ end
3
+
1
4
  require 'nostalgic/version'
2
5
  require 'nostalgic/engine'
3
6
  require 'nostalgic/railtie'
4
7
  require 'nostalgic/form_builder'
5
-
6
- module Nostalgic
7
- end
@@ -35,41 +35,23 @@ module Nostalgic
35
35
  end
36
36
  end
37
37
 
38
- module ClassMethods
39
- attr_accessor :nostalgic_attrs
38
+ class_methods do
40
39
 
41
- def belongs_to(name, scope = nil, options = {})
42
- scope ||= {}
43
- super(name, scope.except(:nostalgic), options)
44
-
45
- if scope.fetch(:nostalgic, false)
46
- foreign_key = options.fetch(:foreign_key, "#{name}_id")
47
- nostalgic_attr foreign_key
48
-
49
- class_eval <<-METHODS, __FILE__, __LINE__ + 1
50
- def #{name}_on(date)
51
- return self.#{name} unless date.present?
52
-
53
- '#{name}'.classify.constantize.find_by_id(#{foreign_key}_on(date))
54
- end
55
-
56
- alias_method :#{name}_at, :#{name}_on
57
- METHODS
58
- end
40
+ def nostalgic_attrs
41
+ @@_nostalgic_attrs ||= {}
42
+ @@_nostalgic_attrs[self] ||= []
59
43
  end
60
44
 
61
45
  def nostalgic_attr(*attrs)
62
- self.nostalgic_attrs ||= []
63
-
64
46
  attrs.each do |attr|
65
- next if self.nostalgic_attrs.include?(attr.to_sym)
66
- self.nostalgic_attrs << attr.to_sym
67
47
 
68
48
  model_type = self.model_name.to_s
69
49
 
70
50
  class_eval <<-METHODS, __FILE__, __LINE__ + 1
71
- has_many :#{attr.to_s.pluralize}, -> {where(:model_type => model_type, :name => '#{attr}').order('effective_at desc')}, :class_name => 'Nostalgic::Attr', :foreign_key => 'model_id'
72
- accepts_nested_attributes_for :#{attr.to_s.pluralize}, :allow_destroy => true
51
+ nostalgic_attrs << attr.to_sym unless nostalgic_attrs.include?(attr.to_sym)
52
+
53
+ has_many :#{attr.to_s.pluralize}, -> {where(model_type: model_type, name: '#{attr}').order('effective_at desc')}, class_name: 'Nostalgic::Attr', foreign_key: 'model_id'
54
+ accepts_nested_attributes_for :#{attr.to_s.pluralize}, allow_destroy: true
73
55
 
74
56
  attr_accessor :#{attr}_effective_at
75
57
 
@@ -86,6 +68,46 @@ module Nostalgic
86
68
  end
87
69
  end
88
70
 
71
+ if Rails::VERSION::MAJOR == 5 and Rails::VERSION::MINOR >= 2
72
+ def belongs_to(name, scope = nil, **options)
73
+ super(name, scope, options.except(:nostalgic))
74
+
75
+ if options.fetch(:nostalgic, false)
76
+ foreign_key = options.fetch(:foreign_key, "#{name}_id")
77
+ nostalgic_attr foreign_key
78
+
79
+ class_eval <<-METHODS, __FILE__, __LINE__ + 1
80
+ def #{name}_on(date)
81
+ return self.#{name} unless date.present?
82
+
83
+ '#{name}'.classify.constantize.find_by_id(#{foreign_key}_on(date))
84
+ end
85
+
86
+ alias_method :#{name}_at, :#{name}_on
87
+ METHODS
88
+ end
89
+ end
90
+ else
91
+ def belongs_to(name, scope = nil, options = {})
92
+ scope ||= {}
93
+ super(name, scope.except(:nostalgic), options)
94
+
95
+ if scope.fetch(:nostalgic, false)
96
+ foreign_key = options.fetch(:foreign_key, "#{name}_id")
97
+ nostalgic_attr foreign_key
98
+
99
+ class_eval <<-METHODS, __FILE__, __LINE__ + 1
100
+ def #{name}_on(date)
101
+ return self.#{name} unless date.present?
102
+
103
+ '#{name}'.classify.constantize.find_by_id(#{foreign_key}_on(date))
104
+ end
105
+
106
+ alias_method :#{name}_at, :#{name}_on
107
+ METHODS
108
+ end
109
+ end
110
+ end
89
111
  end
90
112
  end
91
113
  end
@@ -1,11 +1,9 @@
1
1
  module Nostalgic
2
2
  class Railtie < ::Rails::Railtie
3
3
 
4
- initializer 'active_record_extension' do
5
- ActiveSupport.on_load :active_record do
6
- require_relative 'nostalgic_attr'
7
- include Nostalgic::NostalgicAttr
8
- end
4
+ ActiveSupport.on_load :active_record do
5
+ require_relative 'nostalgic_attr'
6
+ include Nostalgic::NostalgicAttr
9
7
  end
10
8
 
11
9
  end
@@ -1,3 +1,3 @@
1
1
  module Nostalgic
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nostalgic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ichy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '5.2'
22
+ version: '6'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,63 +29,63 @@ dependencies:
29
29
  version: '4.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '5.2'
32
+ version: '6'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '1.16'
39
+ version: '0'
40
40
  type: :development
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: '1.16'
46
+ version: '0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: minitest
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '5.0'
53
+ version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: '5.0'
60
+ version: '0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rake
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: '12.0'
67
+ version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: '12.0'
74
+ version: '0'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: sqlite3
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - "~>"
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: '1.3'
81
+ version: '0'
82
82
  type: :development
83
83
  prerelease: false
84
84
  version_requirements: !ruby/object:Gem::Requirement
85
85
  requirements:
86
- - - "~>"
86
+ - - ">="
87
87
  - !ruby/object:Gem::Version
88
- version: '1.3'
88
+ version: '0'
89
89
  description: column versioning utility
90
90
  email:
91
91
  - ichylinux@gmail.com
@@ -95,6 +95,7 @@ extra_rdoc_files: []
95
95
  files:
96
96
  - README.md
97
97
  - Rakefile
98
+ - app/assets/config/nostalgic_manifest.js
98
99
  - app/assets/images/nostalgic/calendar.gif
99
100
  - app/assets/images/nostalgic/list.png
100
101
  - app/assets/images/nostalgic/minus.png
@@ -104,6 +105,9 @@ files:
104
105
  - app/assets/stylesheets/nostalgic/application.css
105
106
  - app/controllers/nostalgic/application_controller.rb
106
107
  - app/helpers/nostalgic/application_helper.rb
108
+ - app/jobs/nostalgic/application_job.rb
109
+ - app/mailers/nostalgic/application_mailer.rb
110
+ - app/models/nostalgic/application_record.rb
107
111
  - app/models/nostalgic/attr.rb
108
112
  - app/views/layouts/nostalgic/application.html.erb
109
113
  - app/views/nostalgic/_collection_select.html.erb
@@ -119,62 +123,10 @@ files:
119
123
  - lib/nostalgic/railtie.rb
120
124
  - lib/nostalgic/version.rb
121
125
  - lib/tasks/nostalgic_tasks.rake
122
- - test/dummy/README.rdoc
123
- - test/dummy/Rakefile
124
- - test/dummy/app/assets/javascripts/application.js
125
- - test/dummy/app/assets/stylesheets/application.css
126
- - test/dummy/app/controllers/application_controller.rb
127
- - test/dummy/app/helpers/application_helper.rb
128
- - test/dummy/app/models/company.rb
129
- - test/dummy/app/models/user.rb
130
- - test/dummy/app/views/layouts/application.html.erb
131
- - test/dummy/bin/bundle
132
- - test/dummy/bin/rails
133
- - test/dummy/bin/rake
134
- - test/dummy/bin/setup
135
- - test/dummy/config.ru
136
- - test/dummy/config/application.rb
137
- - test/dummy/config/boot.rb
138
- - test/dummy/config/database.yml
139
- - test/dummy/config/environment.rb
140
- - test/dummy/config/environments/development.rb
141
- - test/dummy/config/environments/production.rb
142
- - test/dummy/config/environments/test.rb
143
- - test/dummy/config/initializers/assets.rb
144
- - test/dummy/config/initializers/backtrace_silencers.rb
145
- - test/dummy/config/initializers/cookies_serializer.rb
146
- - test/dummy/config/initializers/filter_parameter_logging.rb
147
- - test/dummy/config/initializers/inflections.rb
148
- - test/dummy/config/initializers/mime_types.rb
149
- - test/dummy/config/initializers/session_store.rb
150
- - test/dummy/config/initializers/wrap_parameters.rb
151
- - test/dummy/config/locales/en.yml
152
- - test/dummy/config/routes.rb
153
- - test/dummy/config/secrets.yml
154
- - test/dummy/db/migrate/20160807103323_create_users.rb
155
- - test/dummy/db/migrate/20161217105723_create_companies.rb
156
- - test/dummy/db/migrate/20161217105921_add_column_company_id_on_users.rb
157
- - test/dummy/db/schema.rb
158
- - test/dummy/db/test.sqlite3
159
- - test/dummy/log/test.log
160
- - test/dummy/public/404.html
161
- - test/dummy/public/422.html
162
- - test/dummy/public/500.html
163
- - test/dummy/public/favicon.ico
164
- - test/dummy/test/models/company_test.rb
165
- - test/dummy/test/models/user_test.rb
166
- - test/fixtures/companies.yml
167
- - test/fixtures/nostalgic/attrs.yml
168
- - test/fixtures/users.yml
169
- - test/integration/navigation_test.rb
170
- - test/models/nostalgic/attr_test.rb
171
- - test/nostalgic_test.rb
172
- - test/test_helper.rb
173
126
  homepage: https://github.com/ichylinux/nostalgic
174
127
  licenses:
175
128
  - MIT
176
- metadata:
177
- allowed_push_host: https://rubygems.org
129
+ metadata: {}
178
130
  post_install_message:
179
131
  rdoc_options: []
180
132
  require_paths:
@@ -183,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
183
135
  requirements:
184
136
  - - ">="
185
137
  - !ruby/object:Gem::Version
186
- version: 2.2.0
138
+ version: 2.3.0
187
139
  required_rubygems_version: !ruby/object:Gem::Requirement
188
140
  requirements:
189
141
  - - ">="
@@ -195,55 +147,4 @@ rubygems_version: 2.7.6
195
147
  signing_key:
196
148
  specification_version: 4
197
149
  summary: column versioning utility
198
- test_files:
199
- - test/dummy/README.rdoc
200
- - test/dummy/Rakefile
201
- - test/dummy/app/assets/javascripts/application.js
202
- - test/dummy/app/assets/stylesheets/application.css
203
- - test/dummy/app/controllers/application_controller.rb
204
- - test/dummy/app/helpers/application_helper.rb
205
- - test/dummy/app/models/company.rb
206
- - test/dummy/app/models/user.rb
207
- - test/dummy/app/views/layouts/application.html.erb
208
- - test/dummy/bin/bundle
209
- - test/dummy/bin/rails
210
- - test/dummy/bin/rake
211
- - test/dummy/bin/setup
212
- - test/dummy/config.ru
213
- - test/dummy/config/application.rb
214
- - test/dummy/config/boot.rb
215
- - test/dummy/config/database.yml
216
- - test/dummy/config/environment.rb
217
- - test/dummy/config/environments/development.rb
218
- - test/dummy/config/environments/production.rb
219
- - test/dummy/config/environments/test.rb
220
- - test/dummy/config/initializers/assets.rb
221
- - test/dummy/config/initializers/backtrace_silencers.rb
222
- - test/dummy/config/initializers/cookies_serializer.rb
223
- - test/dummy/config/initializers/filter_parameter_logging.rb
224
- - test/dummy/config/initializers/inflections.rb
225
- - test/dummy/config/initializers/mime_types.rb
226
- - test/dummy/config/initializers/session_store.rb
227
- - test/dummy/config/initializers/wrap_parameters.rb
228
- - test/dummy/config/locales/en.yml
229
- - test/dummy/config/routes.rb
230
- - test/dummy/config/secrets.yml
231
- - test/dummy/db/migrate/20160807103323_create_users.rb
232
- - test/dummy/db/migrate/20161217105723_create_companies.rb
233
- - test/dummy/db/migrate/20161217105921_add_column_company_id_on_users.rb
234
- - test/dummy/db/schema.rb
235
- - test/dummy/db/test.sqlite3
236
- - test/dummy/public/404.html
237
- - test/dummy/public/422.html
238
- - test/dummy/public/500.html
239
- - test/dummy/public/favicon.ico
240
- - test/dummy/test/models/company_test.rb
241
- - test/dummy/test/models/user_test.rb
242
- - test/dummy/log/test.log
243
- - test/fixtures/companies.yml
244
- - test/fixtures/nostalgic/attrs.yml
245
- - test/fixtures/users.yml
246
- - test/integration/navigation_test.rb
247
- - test/models/nostalgic/attr_test.rb
248
- - test/nostalgic_test.rb
249
- - test/test_helper.rb
150
+ test_files: []