sqlite3_json_rails4 1.0.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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +21 -0
- data/README.md +35 -0
- data/Rakefile +34 -0
- data/lib/sqlite3_json_rails4/extensions/active_record/connection_adapters/sqlite3_adapter.rb +17 -0
- data/lib/sqlite3_json_rails4/extensions/active_record/connection_adapters/table_definitions.rb +19 -0
- data/lib/sqlite3_json_rails4/extensions/active_record/type/json.rb +40 -0
- data/lib/sqlite3_json_rails4/railtie.rb +23 -0
- data/lib/sqlite3_json_rails4/version.rb +3 -0
- data/lib/sqlite3_json_rails4.rb +10 -0
- metadata +210 -0
    
        checksums.yaml
    ADDED
    
    | @@ -0,0 +1,7 @@ | |
| 1 | 
            +
            ---
         | 
| 2 | 
            +
            SHA256:
         | 
| 3 | 
            +
              metadata.gz: de821db093ce30aa49161978c97431ae6a30a0f19f0ed29fee967f5c2b35c701
         | 
| 4 | 
            +
              data.tar.gz: c0d7b232076173088f6a586b7c9bd3ca8fb3e3f10f5e446d86620d26ed3570bf
         | 
| 5 | 
            +
            SHA512:
         | 
| 6 | 
            +
              metadata.gz: dc48a52868e784d839144deee54548811c0f08f2b5710920069389e8166cad195af6646f5f751c114497cfdf704268d56a04421ffedbced10c005cac928d3017
         | 
| 7 | 
            +
              data.tar.gz: 5f3642c90f4a10854953dd5baa6b6be660c727e4d5447decf8789195f5f1948d5029d166da882ed9e689c448a026d0f17eaae7680840eab41b0d6338b39b014d
         | 
    
        data/MIT-LICENSE
    ADDED
    
    | @@ -0,0 +1,21 @@ | |
| 1 | 
            +
            MIT License
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            Copyright (c) 2021 Miriam Technologies
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Permission is hereby granted, free of charge, to any person obtaining a copy
         | 
| 6 | 
            +
            of this software and associated documentation files (the "Software"), to deal
         | 
| 7 | 
            +
            in the Software without restriction, including without limitation the rights
         | 
| 8 | 
            +
            to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
         | 
| 9 | 
            +
            copies of the Software, and to permit persons to whom the Software is
         | 
| 10 | 
            +
            furnished to do so, subject to the following conditions:
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            The above copyright notice and this permission notice shall be included in all
         | 
| 13 | 
            +
            copies or substantial portions of the Software.
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
         | 
| 16 | 
            +
            IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
         | 
| 17 | 
            +
            FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
         | 
| 18 | 
            +
            AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
         | 
| 19 | 
            +
            LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
         | 
| 20 | 
            +
            OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
         | 
| 21 | 
            +
            SOFTWARE.
         | 
    
        data/README.md
    ADDED
    
    | @@ -0,0 +1,35 @@ | |
| 1 | 
            +
            # Sqlite3JsonRails4
         | 
| 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/sqlite3_json_rails4`. 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 'sqlite3_json_rails4'
         | 
| 13 | 
            +
            ```
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            And then execute:
         | 
| 16 | 
            +
             | 
| 17 | 
            +
                $ bundle
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            Or install it yourself as:
         | 
| 20 | 
            +
             | 
| 21 | 
            +
                $ gem install sqlite3_json_rails4
         | 
| 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).
         | 
| 32 | 
            +
             | 
| 33 | 
            +
            ## Contributing
         | 
| 34 | 
            +
             | 
| 35 | 
            +
            Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sqlite3_json_rails4.
         | 
    
        data/Rakefile
    ADDED
    
    | @@ -0,0 +1,34 @@ | |
| 1 | 
            +
            require 'bundler/gem_tasks'
         | 
| 2 | 
            +
            require 'rake/testtask'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            Rake::TestTask.new(:test) do |t|
         | 
| 5 | 
            +
              t.libs << 'test'
         | 
| 6 | 
            +
              t.libs << 'lib'
         | 
| 7 | 
            +
              t.test_files = FileList['test/**/*_test.rb']
         | 
| 8 | 
            +
              t.warning = false
         | 
| 9 | 
            +
            end
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            task default: :test
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            namespace :rubocop do
         | 
| 14 | 
            +
              desc 'Lint Ruby code with RuboCop'
         | 
| 15 | 
            +
              task :lint do
         | 
| 16 | 
            +
                require 'rubocop/rake_task'
         | 
| 17 | 
            +
                RuboCop::RakeTask.new(:rubocop)
         | 
| 18 | 
            +
                Rake::Task['rubocop'].invoke
         | 
| 19 | 
            +
              end
         | 
| 20 | 
            +
             | 
| 21 | 
            +
              desc 'Fix Ruby code with RuboCop'
         | 
| 22 | 
            +
              task :fix do
         | 
| 23 | 
            +
                require 'rubocop/rake_task'
         | 
| 24 | 
            +
                RuboCop::RakeTask.new(:rubocop)
         | 
| 25 | 
            +
                Rake::Task['rubocop:auto_correct'].invoke
         | 
| 26 | 
            +
              end
         | 
| 27 | 
            +
            end
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            task static: ['rubocop:lint']
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            if ENV['GENERATE_REPORTS'] == 'true'
         | 
| 32 | 
            +
              require 'ci/reporter/rake/minitest'
         | 
| 33 | 
            +
              task test: 'ci:setup:minitest'
         | 
| 34 | 
            +
            end
         | 
| @@ -0,0 +1,17 @@ | |
| 1 | 
            +
            require 'active_record/connection_adapters/sqlite3_adapter'
         | 
| 2 | 
            +
            require 'sqlite3_json_rails4/extensions/active_record/type/json'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            module Sqlite3JsonRails4
         | 
| 5 | 
            +
              module Extensions
         | 
| 6 | 
            +
                module ActiveRecord
         | 
| 7 | 
            +
                  module ConnectionAdapters
         | 
| 8 | 
            +
                    module SQLite3AdapterAdditions
         | 
| 9 | 
            +
                      def initialize_type_map(map)
         | 
| 10 | 
            +
                        super(map)
         | 
| 11 | 
            +
                        map.register_type(/^json/i, Sqlite3JsonRails4::Extensions::ActiveRecord::Type::Json.new)
         | 
| 12 | 
            +
                      end
         | 
| 13 | 
            +
                    end
         | 
| 14 | 
            +
                  end
         | 
| 15 | 
            +
                end
         | 
| 16 | 
            +
              end
         | 
| 17 | 
            +
            end
         | 
    
        data/lib/sqlite3_json_rails4/extensions/active_record/connection_adapters/table_definitions.rb
    ADDED
    
    | @@ -0,0 +1,19 @@ | |
| 1 | 
            +
            require 'sqlite3_json_rails4/extensions/active_record/type/json'
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            module Sqlite3JsonRails4
         | 
| 4 | 
            +
              module Extensions
         | 
| 5 | 
            +
                module ActiveRecord
         | 
| 6 | 
            +
                  module ConnectionAdapters
         | 
| 7 | 
            +
                    module TableDefinitionAdditions
         | 
| 8 | 
            +
                      def json(*args)
         | 
| 9 | 
            +
                        options = args.extract_options!
         | 
| 10 | 
            +
                        column_names = args
         | 
| 11 | 
            +
                        column_names.each do |name|
         | 
| 12 | 
            +
                          column(name, :json, options)
         | 
| 13 | 
            +
                        end
         | 
| 14 | 
            +
                      end
         | 
| 15 | 
            +
                    end
         | 
| 16 | 
            +
                  end
         | 
| 17 | 
            +
                end
         | 
| 18 | 
            +
              end
         | 
| 19 | 
            +
            end
         | 
| @@ -0,0 +1,40 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # This class is taken from the Rails v5.2.6 tree and rewritten for the Rails 4
         | 
| 4 | 
            +
            # API.
         | 
| 5 | 
            +
            module Sqlite3JsonRails4
         | 
| 6 | 
            +
              module Extensions
         | 
| 7 | 
            +
                module ActiveRecord
         | 
| 8 | 
            +
                  module Type
         | 
| 9 | 
            +
                    class Json < ::ActiveRecord::Type::Value
         | 
| 10 | 
            +
                      include ::ActiveRecord::Type::Mutable
         | 
| 11 | 
            +
             | 
| 12 | 
            +
                      def type
         | 
| 13 | 
            +
                        :json
         | 
| 14 | 
            +
                      end
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                      def type_cast_from_database(value)
         | 
| 17 | 
            +
                        return value unless value.is_a?(::String)
         | 
| 18 | 
            +
                        begin
         | 
| 19 | 
            +
                          ActiveSupport::JSON.decode(value)
         | 
| 20 | 
            +
                        rescue StandardError
         | 
| 21 | 
            +
                          nil
         | 
| 22 | 
            +
                        end
         | 
| 23 | 
            +
                      end
         | 
| 24 | 
            +
             | 
| 25 | 
            +
                      def type_cast_for_database(value)
         | 
| 26 | 
            +
                        ActiveSupport::JSON.encode(value) unless value.nil?
         | 
| 27 | 
            +
                      end
         | 
| 28 | 
            +
             | 
| 29 | 
            +
                      def changed_in_place?(raw_old_value, new_value)
         | 
| 30 | 
            +
                        type_cast_from_database(raw_old_value) != new_value
         | 
| 31 | 
            +
                      end
         | 
| 32 | 
            +
             | 
| 33 | 
            +
                      def accessor
         | 
| 34 | 
            +
                        ActiveRecord::Store::StringKeyedHashAccessor
         | 
| 35 | 
            +
                      end
         | 
| 36 | 
            +
                    end
         | 
| 37 | 
            +
                  end
         | 
| 38 | 
            +
                end
         | 
| 39 | 
            +
              end
         | 
| 40 | 
            +
            end
         | 
| @@ -0,0 +1,23 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            require 'sqlite3_json_rails4'
         | 
| 4 | 
            +
            require 'rails'
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            module Sqlite3JsonRails4
         | 
| 7 | 
            +
              class Railtie < Rails::Railtie
         | 
| 8 | 
            +
                initializer 'sqlite3_json_rails4.patch_json_types' do
         | 
| 9 | 
            +
                  require 'sqlite3_json_rails4/extensions/active_record/type/json'
         | 
| 10 | 
            +
                  ActiveRecord::Type.include Sqlite3JsonRails4::Extensions::ActiveRecord::Type
         | 
| 11 | 
            +
             | 
| 12 | 
            +
                  require 'sqlite3_json_rails4/extensions/active_record/connection_adapters/table_definitions'
         | 
| 13 | 
            +
                  ActiveRecord::ConnectionAdapters::TableDefinition.include(
         | 
| 14 | 
            +
                    Sqlite3JsonRails4::Extensions::ActiveRecord::ConnectionAdapters::TableDefinitionAdditions,
         | 
| 15 | 
            +
                  )
         | 
| 16 | 
            +
             | 
| 17 | 
            +
                  require 'sqlite3_json_rails4/extensions/active_record/connection_adapters/sqlite3_adapter'
         | 
| 18 | 
            +
                  ActiveRecord::ConnectionAdapters::SQLite3Adapter.prepend(
         | 
| 19 | 
            +
                    Sqlite3JsonRails4::Extensions::ActiveRecord::ConnectionAdapters::SQLite3AdapterAdditions,
         | 
| 20 | 
            +
                  )
         | 
| 21 | 
            +
                end
         | 
| 22 | 
            +
              end
         | 
| 23 | 
            +
            end
         | 
| @@ -0,0 +1,10 @@ | |
| 1 | 
            +
            require 'sqlite3_json_rails4/version'
         | 
| 2 | 
            +
            require 'sqlite3_json_rails4/railtie'
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            require 'active_support/core_ext/hash/keys' # Required by ActiveRecord
         | 
| 5 | 
            +
            require 'active_record'
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            module Sqlite3JsonRails4
         | 
| 8 | 
            +
              class Error < StandardError; end
         | 
| 9 | 
            +
              # Your code goes here...
         | 
| 10 | 
            +
            end
         | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,210 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 | 
            +
            name: sqlite3_json_rails4
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 1.0.0
         | 
| 5 | 
            +
            platform: ruby
         | 
| 6 | 
            +
            authors:
         | 
| 7 | 
            +
            - Miriam Technologies
         | 
| 8 | 
            +
            autorequire: 
         | 
| 9 | 
            +
            bindir: bin
         | 
| 10 | 
            +
            cert_chain: []
         | 
| 11 | 
            +
            date: 2021-12-02 00:00:00.000000000 Z
         | 
| 12 | 
            +
            dependencies:
         | 
| 13 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 14 | 
            +
              name: activerecord
         | 
| 15 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 | 
            +
                requirements:
         | 
| 17 | 
            +
                - - "~>"
         | 
| 18 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            +
                    version: '4.2'
         | 
| 20 | 
            +
              type: :runtime
         | 
| 21 | 
            +
              prerelease: false
         | 
| 22 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 23 | 
            +
                requirements:
         | 
| 24 | 
            +
                - - "~>"
         | 
| 25 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 26 | 
            +
                    version: '4.2'
         | 
| 27 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 28 | 
            +
              name: railties
         | 
| 29 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 30 | 
            +
                requirements:
         | 
| 31 | 
            +
                - - "~>"
         | 
| 32 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 33 | 
            +
                    version: '4.2'
         | 
| 34 | 
            +
              type: :runtime
         | 
| 35 | 
            +
              prerelease: false
         | 
| 36 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 37 | 
            +
                requirements:
         | 
| 38 | 
            +
                - - "~>"
         | 
| 39 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 40 | 
            +
                    version: '4.2'
         | 
| 41 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 42 | 
            +
              name: sqlite3
         | 
| 43 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 44 | 
            +
                requirements:
         | 
| 45 | 
            +
                - - "~>"
         | 
| 46 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 47 | 
            +
                    version: 1.3.13
         | 
| 48 | 
            +
              type: :runtime
         | 
| 49 | 
            +
              prerelease: false
         | 
| 50 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 51 | 
            +
                requirements:
         | 
| 52 | 
            +
                - - "~>"
         | 
| 53 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 54 | 
            +
                    version: 1.3.13
         | 
| 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.17'
         | 
| 62 | 
            +
              type: :development
         | 
| 63 | 
            +
              prerelease: false
         | 
| 64 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 65 | 
            +
                requirements:
         | 
| 66 | 
            +
                - - "~>"
         | 
| 67 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 68 | 
            +
                    version: '1.17'
         | 
| 69 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 70 | 
            +
              name: ci_reporter_minitest
         | 
| 71 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 72 | 
            +
                requirements:
         | 
| 73 | 
            +
                - - "~>"
         | 
| 74 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 75 | 
            +
                    version: '1.0'
         | 
| 76 | 
            +
              type: :development
         | 
| 77 | 
            +
              prerelease: false
         | 
| 78 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 79 | 
            +
                requirements:
         | 
| 80 | 
            +
                - - "~>"
         | 
| 81 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 82 | 
            +
                    version: '1.0'
         | 
| 83 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 84 | 
            +
              name: debase
         | 
| 85 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 86 | 
            +
                requirements:
         | 
| 87 | 
            +
                - - "~>"
         | 
| 88 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 89 | 
            +
                    version: '0.2'
         | 
| 90 | 
            +
              type: :development
         | 
| 91 | 
            +
              prerelease: false
         | 
| 92 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 93 | 
            +
                requirements:
         | 
| 94 | 
            +
                - - "~>"
         | 
| 95 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 96 | 
            +
                    version: '0.2'
         | 
| 97 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 98 | 
            +
              name: minitest
         | 
| 99 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 100 | 
            +
                requirements:
         | 
| 101 | 
            +
                - - "~>"
         | 
| 102 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 103 | 
            +
                    version: '5.0'
         | 
| 104 | 
            +
              type: :development
         | 
| 105 | 
            +
              prerelease: false
         | 
| 106 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 107 | 
            +
                requirements:
         | 
| 108 | 
            +
                - - "~>"
         | 
| 109 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 110 | 
            +
                    version: '5.0'
         | 
| 111 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 112 | 
            +
              name: rake
         | 
| 113 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 114 | 
            +
                requirements:
         | 
| 115 | 
            +
                - - "~>"
         | 
| 116 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 117 | 
            +
                    version: '13.0'
         | 
| 118 | 
            +
              type: :development
         | 
| 119 | 
            +
              prerelease: false
         | 
| 120 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 121 | 
            +
                requirements:
         | 
| 122 | 
            +
                - - "~>"
         | 
| 123 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 124 | 
            +
                    version: '13.0'
         | 
| 125 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 126 | 
            +
              name: rubocop
         | 
| 127 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 128 | 
            +
                requirements:
         | 
| 129 | 
            +
                - - "~>"
         | 
| 130 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 131 | 
            +
                    version: '1.23'
         | 
| 132 | 
            +
              type: :development
         | 
| 133 | 
            +
              prerelease: false
         | 
| 134 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 135 | 
            +
                requirements:
         | 
| 136 | 
            +
                - - "~>"
         | 
| 137 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 138 | 
            +
                    version: '1.23'
         | 
| 139 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 140 | 
            +
              name: rubocop-minitest
         | 
| 141 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 142 | 
            +
                requirements:
         | 
| 143 | 
            +
                - - "~>"
         | 
| 144 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 145 | 
            +
                    version: '0.17'
         | 
| 146 | 
            +
              type: :development
         | 
| 147 | 
            +
              prerelease: false
         | 
| 148 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 149 | 
            +
                requirements:
         | 
| 150 | 
            +
                - - "~>"
         | 
| 151 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 152 | 
            +
                    version: '0.17'
         | 
| 153 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 154 | 
            +
              name: ruby-debug-ide
         | 
| 155 | 
            +
              requirement: !ruby/object:Gem::Requirement
         | 
| 156 | 
            +
                requirements:
         | 
| 157 | 
            +
                - - "~>"
         | 
| 158 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 159 | 
            +
                    version: '0.7'
         | 
| 160 | 
            +
              type: :development
         | 
| 161 | 
            +
              prerelease: false
         | 
| 162 | 
            +
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 163 | 
            +
                requirements:
         | 
| 164 | 
            +
                - - "~>"
         | 
| 165 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 166 | 
            +
                    version: '0.7'
         | 
| 167 | 
            +
            description: |
         | 
| 168 | 
            +
              The SQLite3 adapter in Rails 4 doesn't support JSON columns. This gem adds
         | 
| 169 | 
            +
              it via a railtie and a series of hacks.
         | 
| 170 | 
            +
            email:
         | 
| 171 | 
            +
            - developers@miriamtech.com
         | 
| 172 | 
            +
            executables: []
         | 
| 173 | 
            +
            extensions: []
         | 
| 174 | 
            +
            extra_rdoc_files: []
         | 
| 175 | 
            +
            files:
         | 
| 176 | 
            +
            - MIT-LICENSE
         | 
| 177 | 
            +
            - README.md
         | 
| 178 | 
            +
            - Rakefile
         | 
| 179 | 
            +
            - lib/sqlite3_json_rails4.rb
         | 
| 180 | 
            +
            - lib/sqlite3_json_rails4/extensions/active_record/connection_adapters/sqlite3_adapter.rb
         | 
| 181 | 
            +
            - lib/sqlite3_json_rails4/extensions/active_record/connection_adapters/table_definitions.rb
         | 
| 182 | 
            +
            - lib/sqlite3_json_rails4/extensions/active_record/type/json.rb
         | 
| 183 | 
            +
            - lib/sqlite3_json_rails4/railtie.rb
         | 
| 184 | 
            +
            - lib/sqlite3_json_rails4/version.rb
         | 
| 185 | 
            +
            homepage: https://www.miriamtech.com
         | 
| 186 | 
            +
            licenses:
         | 
| 187 | 
            +
            - MIT
         | 
| 188 | 
            +
            metadata:
         | 
| 189 | 
            +
              allowed_push_host: https://rubygems.org
         | 
| 190 | 
            +
            post_install_message: 
         | 
| 191 | 
            +
            rdoc_options: []
         | 
| 192 | 
            +
            require_paths:
         | 
| 193 | 
            +
            - lib
         | 
| 194 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 195 | 
            +
              requirements:
         | 
| 196 | 
            +
              - - "~>"
         | 
| 197 | 
            +
                - !ruby/object:Gem::Version
         | 
| 198 | 
            +
                  version: '2.5'
         | 
| 199 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 200 | 
            +
              requirements:
         | 
| 201 | 
            +
              - - ">="
         | 
| 202 | 
            +
                - !ruby/object:Gem::Version
         | 
| 203 | 
            +
                  version: '0'
         | 
| 204 | 
            +
            requirements: []
         | 
| 205 | 
            +
            rubyforge_project: 
         | 
| 206 | 
            +
            rubygems_version: 2.7.6
         | 
| 207 | 
            +
            signing_key: 
         | 
| 208 | 
            +
            specification_version: 4
         | 
| 209 | 
            +
            summary: Support JSON columns in Rails 4 SQLite adapter
         | 
| 210 | 
            +
            test_files: []
         |