schema_plus_columns 0.1.0 → 0.1.1

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: e2e50ad0886c5c588922f16d17e739cf967af4a9
4
- data.tar.gz: ab16108afe29a0887682963e9e15ac75345222a8
3
+ metadata.gz: c3401890ad9df369ce6f1cda193178c0b8731337
4
+ data.tar.gz: 5408a812f383e8550220208f6c29044d0c0980a8
5
5
  SHA512:
6
- metadata.gz: 4ad20f2b42667c98fe210b2b6a825c8cd7b7359c49d7beea5c7145b141b1d753a3113ae09cb70ffdbd5a60a4d2640cee3d087d8d7833f13b0b1dbd321af671c3
7
- data.tar.gz: 6b642322e885a7ef600d0b322de619283168b33b6d45b4f4ceff6187c3dbbf2524637b4add79747b676878a4758b0a66cc59aaecb07fbb4d0590f327d555d4af
6
+ metadata.gz: e5ee167c0b47059d51a503cd6195be1fd88ba1b95fae81ea4c00eb68da6495f131f66565d2b6d5ed4f9f912ca462c79254f8743a22afd6eab3638019a084a8a8
7
+ data.tar.gz: 5e8852254b4055c37fbae8a1b92e30c669a1af843cfc220884ebf03e9f69f148371053a555106a6d9b2f8ccaf2b788de7cb97f806b007cbb70d882d73ac509ca
@@ -12,7 +12,7 @@ gemfile:
12
12
  - gemfiles/activerecord-4.2/Gemfile.sqlite3
13
13
  env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
14
14
  addons:
15
- postgresql: '9.3'
15
+ postgresql: '9.4'
16
16
  before_script: bundle exec rake create_databases
17
17
  after_script: bundle exec rake drop_databases
18
18
  script: bundle exec rake travis
data/README.md CHANGED
@@ -20,14 +20,6 @@ gem "schema_plus_columns" # in a Gemfile
20
20
  gem.add_dependency "schema_plus_columns" # in a .gemspec
21
21
  ```
22
22
 
23
- To use with a rails app, also include
24
-
25
- ```ruby
26
- gem "schema_monkey_rails"
27
- ```
28
-
29
- which creates a Railtie to that will insert SchemaPlus::Columns appropriately into the rails stack. To use with Padrino, see [schema_monkey_padrino](https://github.com/SchemaPlus/schema_monkey_padrino).
30
-
31
23
  <!-- SCHEMA_DEV: TEMPLATE INSTALLATION - end -->
32
24
 
33
25
  ## Usage
@@ -72,6 +64,7 @@ SchemaPlus::Columns is tested on:
72
64
 
73
65
  ## History
74
66
 
67
+ * 0.1.1 - Explicit gem dependencies
75
68
  * 0.1.0 - Initial release, extracted from SchemaPlus 1.x
76
69
 
77
70
  ## Development & Testing
@@ -108,7 +101,7 @@ Some things to know about to help you develop and test:
108
101
  provides middleware callback stacks to make it easy to extend
109
102
  ActiveRecord's behavior. If that API is missing something you need for
110
103
  your contribution, please head over to
111
- [schema_plus_core](https://github/SchemaPlus/schema_plus_core) and open
104
+ [schema_plus_core](https://github.com/SchemaPlus/schema_plus_core) and open
112
105
  an issue or pull request.
113
106
 
114
107
  <!-- SCHEMA_DEV: TEMPLATE USES SCHEMA_PLUS_CORE - end -->
@@ -1,3 +1,3 @@
1
1
  eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
2
 
3
- gem "activerecord", "~> 4.2.0"
3
+ gem "activerecord", "~> 4.2.6"
@@ -2,9 +2,9 @@ require "pathname"
2
2
  eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
3
 
4
4
  platform :ruby do
5
- gem "mysql2"
5
+ gem "mysql2", '>= 0.3.18', '< 0.5'
6
6
  end
7
7
 
8
8
  platform :jruby do
9
9
  gem 'activerecord-jdbcmysql-adapter'
10
- end
10
+ end
@@ -1,5 +1,5 @@
1
1
  module SchemaPlus
2
2
  module Columns
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -19,11 +19,12 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  gem.add_dependency "activerecord", "~> 4.2"
21
21
  gem.add_dependency "schema_plus_indexes", "~> 0.1"
22
+ gem.add_dependency "its-it", "~> 1.2"
22
23
 
23
24
  gem.add_development_dependency "bundler", "~> 1.7"
24
25
  gem.add_development_dependency "rake", "~> 10.0"
25
26
  gem.add_development_dependency "rspec", "~> 3.0"
26
- gem.add_development_dependency "schema_dev", "~> 3.2", ">= 3.2.2"
27
+ gem.add_development_dependency "schema_dev", "~> 3.6"
27
28
  gem.add_development_dependency "simplecov"
28
29
  gem.add_development_dependency "simplecov-gem-profile"
29
30
  end
@@ -144,7 +144,7 @@ describe "Column" do
144
144
 
145
145
  def create_table(model, columns_with_options)
146
146
  migration.suppress_messages do
147
- migration.create_table model.table_name, :force => true do |t|
147
+ migration.create_table model.table_name, :force => :cascade do |t|
148
148
  columns_with_options.each_pair do |column, options|
149
149
  t.send :string, column, options
150
150
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_plus_columns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ronen barzel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-13 00:00:00.000000000 Z
11
+ date: 2016-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: its-it
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.2'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.2'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: bundler
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -86,20 +100,14 @@ dependencies:
86
100
  requirements:
87
101
  - - "~>"
88
102
  - !ruby/object:Gem::Version
89
- version: '3.2'
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 3.2.2
103
+ version: '3.6'
93
104
  type: :development
94
105
  prerelease: false
95
106
  version_requirements: !ruby/object:Gem::Requirement
96
107
  requirements:
97
108
  - - "~>"
98
109
  - !ruby/object:Gem::Version
99
- version: '3.2'
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: 3.2.2
110
+ version: '3.6'
103
111
  - !ruby/object:Gem::Dependency
104
112
  name: simplecov
105
113
  requirement: !ruby/object:Gem::Requirement