active_model_exporters 0.4.0 → 0.4.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: 03178fbe3efee04338ae0b983c1735ab8210bbae
4
- data.tar.gz: 5c817ded73966c108483d1b9267a27118b952603
3
+ metadata.gz: 9bb953bffbea7fd8cf87ada939dfe9250da229c2
4
+ data.tar.gz: 4b1e3897444383dd6f3321cfaa67a03abfb9612a
5
5
  SHA512:
6
- metadata.gz: 8fbf388b7903dedf9b430f5f132182f8ed31ce941de76fd08fd1990dd0a8bd2304e2b96ea099942c7faaa67c562e54b6d268c0d3040bb89405f9a4b41ae600f9
7
- data.tar.gz: bdc49d7d07bf6bafa4a6454d9ff7e2ca292e196891a6f86463b6ed0bfaff370abf576211a5106fe9591285bd4cb286366d1d7de313ce6e7f295ad937e88fa7dd
6
+ metadata.gz: a6c89193d0c390c56dbd9611bdf0cc4b07c334e3f9f63415a8f079092bb7e382f83bd7390b29e4fd11c6ea3c7c361a0afb6e5df686dd07e4d94d70a56484f568
7
+ data.tar.gz: d4246b6f586f93d77db03cb479af52195a4cf319d4e5b3f8c890d5c3a9ac118fa357e9f09ba13df699b5b930907b1108ea73a3dde2d8114bbf04c30427180501
data/.gitignore CHANGED
@@ -16,3 +16,5 @@ test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
18
  .rvmrc
19
+ .ruby-version
20
+ .ruby-gemset
data/.travis.yml CHANGED
@@ -4,4 +4,3 @@ rvm:
4
4
  - 2.1.8
5
5
  - 2.2.4
6
6
  - 2.3.0
7
- - ruby-head
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ### Version 0.4.1
4
+ * Improvements: Moving dependecies to .gemspec
5
+
3
6
  ### Version 0.4.0
4
7
  * Ruby ~> 1.9.3 is not longer supported.
5
8
  * activemodel version dependency >= 4.0.
data/Gemfile CHANGED
@@ -1,6 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ # Specify your gem's dependencies in active_model_exporters.gemspec
3
4
  gemspec
5
+
6
+ gem 'simplecov'
4
7
  gem 'coveralls', require: false
5
- gem 'rails'
6
- gem 'sqlite3'
@@ -20,5 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.required_ruby_version = '>= 2.0.0'
21
21
 
22
22
  spec.add_dependency 'activemodel', '>= 4.0'
23
+
23
24
  spec.add_development_dependency 'rails', '>= 4.0'
25
+ spec.add_development_dependency 'sqlite3', '~> 1.3'
24
26
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveModel
2
2
  class Exporter
3
- VERSION = '0.4.0'
3
+ VERSION = '0.4.1'
4
4
  end
5
5
  end
@@ -9,7 +9,8 @@ ActiveRecord::Schema.define do
9
9
  create_table :ar_users, force: true do |t|
10
10
  t.string :first_name
11
11
  t.string :last_name
12
- t.timestamps
12
+
13
+ t.timestamps null: false
13
14
  end
14
15
  end
15
16
 
data/test/test_helper.rb CHANGED
@@ -1,3 +1,9 @@
1
+ require 'coveralls'
2
+ Coveralls.wear!
3
+
4
+ require 'simplecov'
5
+ SimpleCov.start
6
+
1
7
  require 'ostruct'
2
8
  require 'action_controller'
3
9
  require 'active_model_exporters'
metadata CHANGED
@@ -1,43 +1,57 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_model_exporters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alejandro Gutiérrez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-28 00:00:00.000000000 Z
11
+ date: 2016-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '4.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4.0'
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'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.3'
41
55
  description: A simple way to export data in Rails.
42
56
  email:
43
57
  - alejandrodevs@gmail.com
@@ -45,8 +59,8 @@ executables: []
45
59
  extensions: []
46
60
  extra_rdoc_files: []
47
61
  files:
48
- - .gitignore
49
- - .travis.yml
62
+ - ".gitignore"
63
+ - ".travis.yml"
50
64
  - CHANGELOG.md
51
65
  - Gemfile
52
66
  - LICENSE.txt
@@ -80,17 +94,17 @@ require_paths:
80
94
  - lib
81
95
  required_ruby_version: !ruby/object:Gem::Requirement
82
96
  requirements:
83
- - - '>='
97
+ - - ">="
84
98
  - !ruby/object:Gem::Version
85
99
  version: 2.0.0
86
100
  required_rubygems_version: !ruby/object:Gem::Requirement
87
101
  requirements:
88
- - - '>='
102
+ - - ">="
89
103
  - !ruby/object:Gem::Version
90
104
  version: '0'
91
105
  requirements: []
92
106
  rubyforge_project:
93
- rubygems_version: 2.2.2
107
+ rubygems_version: 2.5.1
94
108
  signing_key:
95
109
  specification_version: 4
96
110
  summary: A simple way to export data in Rails.