dump 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
- ---
2
- SHA1:
3
- metadata.gz: aeeda9548f8d471316521b37c274e7e5692f9b60
4
- data.tar.gz: f15ddf0ed0bc6f906102839da2935fe35a186ca6
5
- SHA512:
6
- metadata.gz: 3da9dbc8c63515701f19ac328b849fd979d22973da53f82cb826a1b49ee8c4f3bcc5a605f6d93b0a46001d0d5826377565de4ecf2fdb0976732fead37a3389b9
7
- data.tar.gz: 82a717b71def2345689c3d13f98cc54790e9a6bdb13f2370293d4dfc46ad63916cc15202945d4ad68d64ca4160a903877349acb40ed7b5bebe47715e263c999b
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDJhMGZmMTE3NTJmMGNiYmRiYzM5MWMxOTdmZDljMWZmYjE3NDNkYQ==
5
+ data.tar.gz: !binary |-
6
+ MDBkYzg0OGNiMmUxNjljYTI1NThlYzliMjE0ZjE3NDE5ZmE0YTgzNQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ MjljY2QxNTkxNGM3NzJkMGRiZmM1ODdiZjIyNjk4ZDczMWU1NGJlOTU1YTQ4
10
+ ZmI4Y2UzMjE1NjhlYjJjNTUyYTIwYzY1YzI4ZGVhMmUyZTlmY2ZlYzEzZjNm
11
+ N2FmNGM0ZmM4ZWM4MzNlZDEzZmEwOTFiNGQyOGQ2Y2E5M2UwZjI=
12
+ data.tar.gz: !binary |-
13
+ YjEyY2Y5MTMwMzM2NmIyMzhhZDAxYTZiMTVkNmJlOTVmNTMyNzdhMWNlOTk4
14
+ NmI1NmVkOGZhMTFjNDM2YTQxZWJhZDQzOWFkNDAyOGM1NmZlMjYyNWUyOGM5
15
+ N2ZjNDU2NDNiZThiMjhjZGFjM2Y2ZjVmMjhlOGIwMjcyY2FjZTA=
data/.travis.yml CHANGED
@@ -1,9 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.8.7
4
3
  - 1.9.3
5
- - '2.0'
6
- - '2.1'
4
+ - '2.2'
7
5
  - jruby-19mode
8
6
  env:
9
7
  - RAILS_VERSION='~> 2.3.0'
@@ -12,6 +10,7 @@ env:
12
10
  - RAILS_VERSION='~> 3.2.0'
13
11
  - RAILS_VERSION='~> 4.0.0'
14
12
  - RAILS_VERSION='~> 4.1.0'
13
+ - RAILS_VERSION='~> 4.2.0'
15
14
  script:
16
15
  if [ -n "$RUBOCOP" ]; then
17
16
  bundle exec rubocop
@@ -27,16 +26,17 @@ before_install:
27
26
  matrix:
28
27
  fast_finish: true
29
28
  include:
30
- - env: RUBOCOP=true
31
- rvm: default
32
- exclude:
33
- - rvm: 1.8.7 # not supported by rails 4
34
- env: RAILS_VERSION='~> 4.0.0'
35
- - rvm: 1.8.7 # not supported by rails 4
36
- env: RAILS_VERSION='~> 4.1.0'
37
- - rvm: 2.0.0 # problems with iconv
38
- env: RAILS_VERSION='~> 2.3.0'
39
- - rvm: 2.1.0
40
- env: RAILS_VERSION='~> 2.3.0'
29
+ - {rvm: 1.8.7, env: RAILS_VERSION='~> 2.3.0'}
30
+ - {rvm: 1.8.7, env: RAILS_VERSION='~> 3.2.0'}
31
+
32
+ - {rvm: '2.0', env: RAILS_VERSION='~> 2.3.0'}
33
+ - {rvm: '2.0', env: RAILS_VERSION='~> 3.2.0'}
34
+ - {rvm: '2.0', env: RAILS_VERSION='~> 4.2.0'}
35
+
36
+ - {rvm: '2.1', env: RAILS_VERSION='~> 2.3.0'}
37
+ - {rvm: '2.1', env: RAILS_VERSION='~> 3.2.0'}
38
+ - {rvm: '2.1', env: RAILS_VERSION='~> 4.2.0'}
39
+
40
+ - {env: RUBOCOP=true, rvm: default}
41
41
  allow_failures:
42
42
  - rvm: jruby-19mode
data/README.markdown CHANGED
@@ -6,9 +6,9 @@
6
6
 
7
7
  Rails app rake and capistrano tasks to create and restore dumps of database and assets.
8
8
 
9
- Tested against rails 2.3, 3.0, 3.1, 3.2, 4.0, 4.1 (rails 2.3 has problems on ruby 2.0 and 2.1).
9
+ Tested against rails 2.3, 3.1, 3.2, 4.0, 4.1, 4.2.
10
10
 
11
- Works with ruby 1.8.7, ree, 1.9, 2.0, 2.1 (rails 4.0 requires at least ruby 1.9).
11
+ Works with ruby 1.8.7, 1.9.3, 2.0, 2.1, 2.2 (rails 4.0 requires at least ruby 1.9), nominally works with jruby (see [travis](https://travis-ci.org/toy/dump)).
12
12
 
13
13
  ## Install
14
14
 
data/dump.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'dump'
5
- s.version = '1.0.6'
5
+ s.version = '1.0.7'
6
6
  s.summary = %q{Rails app rake and capistrano tasks to create and restore dumps of database and assets}
7
7
  s.homepage = "http://github.com/toy/#{s.name}"
8
8
  s.authors = ['Ivan Kuchin']
data/lib/dump/writer.rb CHANGED
@@ -75,9 +75,19 @@ module Dump
75
75
  Marshal.dump(column_names, f)
76
76
  Progress.step
77
77
 
78
+ type_cast = if columns.first.respond_to?(:type_cast_from_database)
79
+ proc do |column_name, value|
80
+ columns_by_name[column_name].type_cast_from_database(value)
81
+ end
82
+ else
83
+ proc do |column_name, value|
84
+ columns_by_name[column_name].type_cast(value)
85
+ end
86
+ end
87
+
78
88
  each_table_row(table, row_count) do |row|
79
- values = column_names.map do |column|
80
- columns_by_name[column].type_cast(row[column])
89
+ values = column_names.map do |column_name|
90
+ type_cast.call(column_name, row[column_name])
81
91
  end
82
92
  Marshal.dump(values, f)
83
93
  Progress.step
data/spec/cycle_spec.rb CHANGED
@@ -60,16 +60,17 @@ end
60
60
 
61
61
  def create_chickens!(options = {})
62
62
  time = Time.local(2000, 'jan', 1, 20, 15, 1)
63
+ times = [time - 1_000_000, time, time + 1_000_000]
63
64
  data = {
64
65
  :string => ['', 'lala'],
65
66
  :text => ['', 'lala', 'lala' * 100],
66
67
  :integer => [-1000, 0, 1000],
67
68
  :float => [-1000.0, 0.0, 1000.0],
68
69
  :decimal => [-1000.0, 0.0, 1000.0],
69
- :datetime => [time, time - 5.years],
70
- :timestamp => [time, time - 5.years],
71
- :time => [time, time - 5.years],
72
- :date => [time, time - 5.years],
70
+ :datetime => times.map(&:to_datetime),
71
+ :timestamp => times,
72
+ :time => times,
73
+ :date => times.map(&:to_date),
73
74
  :boolean => [true, false],
74
75
  }
75
76
  Chicken.create!
@@ -0,0 +1,17 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+
10
+ # Ignore the default SQLite database.
11
+ /db/*.sqlite3
12
+ /db/*.sqlite3-journal
13
+
14
+ # Ignore all logfiles and tempfiles.
15
+ /log/*
16
+ !/log/.keep
17
+ /tmp
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
@@ -0,0 +1,34 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ # Pick the frameworks you want:
4
+ require "active_model/railtie"
5
+ require "active_job/railtie"
6
+ require "active_record/railtie"
7
+ require "action_controller/railtie"
8
+ require "action_mailer/railtie"
9
+ require "action_view/railtie"
10
+ # require "sprockets/railtie"
11
+ # require "rails/test_unit/railtie"
12
+
13
+ # Require the gems listed in Gemfile, including any gems
14
+ # you've limited to :test, :development, or :production.
15
+ Bundler.require(*Rails.groups)
16
+
17
+ module Dummy42
18
+ class Application < Rails::Application
19
+ # Settings in config/environments/* take precedence over those specified here.
20
+ # Application configuration should go into files in config/initializers
21
+ # -- all .rb files in that directory are automatically loaded.
22
+
23
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
24
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
25
+ # config.time_zone = 'Central Time (US & Canada)'
26
+
27
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
28
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
29
+ # config.i18n.default_locale = :de
30
+
31
+ # Do not swallow errors in after_commit/after_rollback callbacks.
32
+ config.active_record.raise_in_transactional_callbacks = true
33
+ end
34
+ end
@@ -0,0 +1,3 @@
1
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2
+
3
+ require 'bundler/setup' # Set up gems listed in the Gemfile.
@@ -0,0 +1,25 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ #
7
+ default: &default
8
+ adapter: sqlite3
9
+ pool: 5
10
+ timeout: 5000
11
+
12
+ development:
13
+ <<: *default
14
+ database: db/development.sqlite3
15
+
16
+ # Warning: The database defined as "test" will be erased and
17
+ # re-generated from your development database when you run "rake".
18
+ # Do not set this db to the same as development or production.
19
+ test:
20
+ <<: *default
21
+ database: db/test.sqlite3
22
+
23
+ production:
24
+ <<: *default
25
+ database: db/production.sqlite3
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the Rails application.
5
+ Rails.application.initialize!
@@ -0,0 +1,28 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
+
12
+ # Show full error reports and disable caching.
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send.
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger.
20
+ config.active_support.deprecation = :log
21
+
22
+ # Raise an error on page load if there are pending migrations.
23
+ config.active_record.migration_error = :page_load
24
+
25
+
26
+ # Raises error for missing translations
27
+ # config.action_view.raise_on_missing_translations = true
28
+ end
@@ -0,0 +1,67 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like
20
+ # NGINX, varnish or squid.
21
+ # config.action_dispatch.rack_cache = true
22
+
23
+ # Disable serving static files from the `/public` folder by default since
24
+ # Apache or NGINX already handles this.
25
+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
+
27
+
28
+ # Specifies the header that your server uses for sending files.
29
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
30
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
31
+
32
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
33
+ # config.force_ssl = true
34
+
35
+ # Use the lowest log level to ensure availability of diagnostic information
36
+ # when problems arise.
37
+ config.log_level = :debug
38
+
39
+ # Prepend all log lines with the following tags.
40
+ # config.log_tags = [ :subdomain, :uuid ]
41
+
42
+ # Use a different logger for distributed setups.
43
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
44
+
45
+ # Use a different cache store in production.
46
+ # config.cache_store = :mem_cache_store
47
+
48
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
49
+ # config.action_controller.asset_host = 'http://assets.example.com'
50
+
51
+ # Ignore bad email addresses and do not raise email delivery errors.
52
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
53
+ # config.action_mailer.raise_delivery_errors = false
54
+
55
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
56
+ # the I18n.default_locale when a translation cannot be found).
57
+ config.i18n.fallbacks = true
58
+
59
+ # Send deprecation notices to registered listeners.
60
+ config.active_support.deprecation = :notify
61
+
62
+ # Use default logging formatter so that PID and timestamp are not suppressed.
63
+ config.log_formatter = ::Logger::Formatter.new
64
+
65
+ # Do not dump schema after migrations.
66
+ config.active_record.dump_schema_after_migration = false
67
+ end
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy-4_2_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,56 @@
1
+ Rails.application.routes.draw do
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+ # See how all your routes lay out with "rake routes".
4
+
5
+ # You can have the root of your site routed with "root"
6
+ # root 'welcome#index'
7
+
8
+ # Example of regular route:
9
+ # get 'products/:id' => 'catalog#view'
10
+
11
+ # Example of named route that can be invoked with purchase_url(id: product.id)
12
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
+
14
+ # Example resource route (maps HTTP verbs to controller actions automatically):
15
+ # resources :products
16
+
17
+ # Example resource route with options:
18
+ # resources :products do
19
+ # member do
20
+ # get 'short'
21
+ # post 'toggle'
22
+ # end
23
+ #
24
+ # collection do
25
+ # get 'sold'
26
+ # end
27
+ # end
28
+
29
+ # Example resource route with sub-resources:
30
+ # resources :products do
31
+ # resources :comments, :sales
32
+ # resource :seller
33
+ # end
34
+
35
+ # Example resource route with more complex sub-resources:
36
+ # resources :products do
37
+ # resources :comments
38
+ # resources :sales do
39
+ # get 'recent', on: :collection
40
+ # end
41
+ # end
42
+
43
+ # Example resource route with concerns:
44
+ # concern :toggleable do
45
+ # post 'toggle'
46
+ # end
47
+ # resources :posts, concerns: :toggleable
48
+ # resources :photos, concerns: :toggleable
49
+
50
+ # Example resource route within a namespace:
51
+ # namespace :admin do
52
+ # # Directs /admin/products/* to Admin::ProductsController
53
+ # # (app/controllers/admin/products_controller.rb)
54
+ # resources :products
55
+ # end
56
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 5ea4f6fb3993b966f84d5abefe07a165a4d54181852dedc70cde4ebcca6f8ff218df7f22d9dbc43155c9d3ea877f4e73cb0cd9a7cbdc9bb7d03a2d0ce9fece82
15
+
16
+ test:
17
+ secret_key_base: d2f4aa9a7f39643ce9e24e96825e57649f55a93c44289336235ba276eee7a8d75d9d7e7a3b9804ae80fb8a3dc8ca6b19a51056b0bb4bc42fed45c7920326d01f
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
+ # Mayor.create(name: 'Emanuel', city: cities.first)
File without changes
metadata CHANGED
@@ -1,57 +1,83 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dump
3
- version: !ruby/object:Gem::Version
4
- version: 1.0.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.7
5
5
  platform: ruby
6
- authors:
6
+ authors:
7
7
  - Ivan Kuchin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
-
12
- date: 2015-01-15 00:00:00 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
11
+ date: 2015-01-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
15
14
  name: archive-tar-minitar
16
- prerelease: false
17
- requirement: &id001 !ruby/object:Gem::Requirement
18
- requirements:
19
- - - "="
20
- - !ruby/object:Gem::Version
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
21
19
  version: 0.5.2
22
20
  type: :runtime
23
- version_requirements: *id001
24
- - !ruby/object:Gem::Dependency
25
- name: progress
26
21
  prerelease: false
27
- requirement: &id002 !ruby/object:Gem::Requirement
28
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.5.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: progress
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
29
31
  - - ~>
30
- - &id003 !ruby/object:Gem::Version
31
- version: "3.0"
32
- - - ">="
33
- - !ruby/object:Gem::Version
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
34
36
  version: 3.0.1
35
37
  type: :runtime
36
- version_requirements: *id002
37
- - !ruby/object:Gem::Dependency
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: '3.0'
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: 3.0.1
47
+ - !ruby/object:Gem::Dependency
38
48
  name: rspec
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '3.0'
54
+ type: :development
39
55
  prerelease: false
40
- requirement: &id004 !ruby/object:Gem::Requirement
41
- requirements:
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
42
58
  - - ~>
43
- - *id003
59
+ - !ruby/object:Gem::Version
60
+ version: '3.0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rubocop
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: '0.27'
44
68
  type: :development
45
- version_requirements: *id004
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ~>
73
+ - !ruby/object:Gem::Version
74
+ version: '0.27'
46
75
  description:
47
76
  email:
48
77
  executables: []
49
-
50
78
  extensions: []
51
-
52
79
  extra_rdoc_files: []
53
-
54
- files:
80
+ files:
55
81
  - .gitignore
56
82
  - .rubocop.yml
57
83
  - .rubocop_todo.yml
@@ -197,6 +223,27 @@ files:
197
223
  - spec/dummy-4.1/config/secrets.yml
198
224
  - spec/dummy-4.1/db/seeds.rb
199
225
  - spec/dummy-4.1/log/.keep
226
+ - spec/dummy-4.2/.gitignore
227
+ - spec/dummy-4.2/config.ru
228
+ - spec/dummy-4.2/config/application.rb
229
+ - spec/dummy-4.2/config/boot.rb
230
+ - spec/dummy-4.2/config/database.yml
231
+ - spec/dummy-4.2/config/environment.rb
232
+ - spec/dummy-4.2/config/environments/development.rb
233
+ - spec/dummy-4.2/config/environments/production.rb
234
+ - spec/dummy-4.2/config/environments/test.rb
235
+ - spec/dummy-4.2/config/initializers/backtrace_silencers.rb
236
+ - spec/dummy-4.2/config/initializers/cookies_serializer.rb
237
+ - spec/dummy-4.2/config/initializers/filter_parameter_logging.rb
238
+ - spec/dummy-4.2/config/initializers/inflections.rb
239
+ - spec/dummy-4.2/config/initializers/mime_types.rb
240
+ - spec/dummy-4.2/config/initializers/session_store.rb
241
+ - spec/dummy-4.2/config/initializers/wrap_parameters.rb
242
+ - spec/dummy-4.2/config/locales/en.yml
243
+ - spec/dummy-4.2/config/routes.rb
244
+ - spec/dummy-4.2/config/secrets.yml
245
+ - spec/dummy-4.2/db/seeds.rb
246
+ - spec/dummy-4.2/log/.keep
200
247
  - spec/dummy_rails_app.rb
201
248
  - spec/dump/env/filter_spec.rb
202
249
  - spec/dump/env_spec.rb
@@ -211,32 +258,31 @@ files:
211
258
  - spec/tasks/assets_spec.rb
212
259
  - spec/tasks/dump_spec.rb
213
260
  homepage: http://github.com/toy/dump
214
- licenses:
261
+ licenses:
215
262
  - MIT
216
263
  metadata: {}
217
-
218
264
  post_install_message:
219
265
  rdoc_options: []
220
-
221
- require_paths:
266
+ require_paths:
222
267
  - lib
223
- required_ruby_version: !ruby/object:Gem::Requirement
224
- requirements:
225
- - &id005
226
- - ">="
227
- - !ruby/object:Gem::Version
228
- version: "0"
229
- required_rubygems_version: !ruby/object:Gem::Requirement
230
- requirements:
231
- - *id005
268
+ required_ruby_version: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - ! '>='
271
+ - !ruby/object:Gem::Version
272
+ version: '0'
273
+ required_rubygems_version: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - ! '>='
276
+ - !ruby/object:Gem::Version
277
+ version: '0'
232
278
  requirements: []
233
-
234
279
  rubyforge_project: dump
235
- rubygems_version: 2.4.4
280
+ rubygems_version: 2.4.5
236
281
  signing_key:
237
282
  specification_version: 4
238
- summary: Rails app rake and capistrano tasks to create and restore dumps of database and assets
239
- test_files:
283
+ summary: Rails app rake and capistrano tasks to create and restore dumps of database
284
+ and assets
285
+ test_files:
240
286
  - spec/cycle_spec.rb
241
287
  - spec/db/database.example.yml
242
288
  - spec/db/schema.rb
@@ -351,6 +397,27 @@ test_files:
351
397
  - spec/dummy-4.1/config/secrets.yml
352
398
  - spec/dummy-4.1/db/seeds.rb
353
399
  - spec/dummy-4.1/log/.keep
400
+ - spec/dummy-4.2/.gitignore
401
+ - spec/dummy-4.2/config.ru
402
+ - spec/dummy-4.2/config/application.rb
403
+ - spec/dummy-4.2/config/boot.rb
404
+ - spec/dummy-4.2/config/database.yml
405
+ - spec/dummy-4.2/config/environment.rb
406
+ - spec/dummy-4.2/config/environments/development.rb
407
+ - spec/dummy-4.2/config/environments/production.rb
408
+ - spec/dummy-4.2/config/environments/test.rb
409
+ - spec/dummy-4.2/config/initializers/backtrace_silencers.rb
410
+ - spec/dummy-4.2/config/initializers/cookies_serializer.rb
411
+ - spec/dummy-4.2/config/initializers/filter_parameter_logging.rb
412
+ - spec/dummy-4.2/config/initializers/inflections.rb
413
+ - spec/dummy-4.2/config/initializers/mime_types.rb
414
+ - spec/dummy-4.2/config/initializers/session_store.rb
415
+ - spec/dummy-4.2/config/initializers/wrap_parameters.rb
416
+ - spec/dummy-4.2/config/locales/en.yml
417
+ - spec/dummy-4.2/config/routes.rb
418
+ - spec/dummy-4.2/config/secrets.yml
419
+ - spec/dummy-4.2/db/seeds.rb
420
+ - spec/dummy-4.2/log/.keep
354
421
  - spec/dummy_rails_app.rb
355
422
  - spec/dump/env/filter_spec.rb
356
423
  - spec/dump/env_spec.rb