form_obj 0.3.0 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c83d01dc40e5ad3657b9d6ef7326a99ce9705efe
4
- data.tar.gz: 65b6c502657611f3981650c1acbbaf6c2724d905
3
+ metadata.gz: 71b206d5ad18f7431693678ca7566477e7ac522e
4
+ data.tar.gz: f1045b5a352283c1437688348e3022ad6beafd94
5
5
  SHA512:
6
- metadata.gz: ba48addb285700d37b0d42564810e7cfe0c6c3910660ec0716ca46b05bd44f8942e57e5132207d5d15743947d7de3e84745a6328536a6a6eadf299ea4614faf3
7
- data.tar.gz: 97345739379c2f35a1f75c49bd09ab9160d8cc0da9dbc1b10981b38ffc479ba782efeb34f0ad2bcc7656fecdc1104f8d6ae070e7074c59701be551e818c4804d
6
+ metadata.gz: 0f240ca098ef5e87be1dce184934943a5fb6b01d491e87c54b965b379c7c40cfe8a8dbfbc4b8eb6b1df59791dfbcbe20ab57a4e4921dec0ba3a54cb9a68a58a6
7
+ data.tar.gz: 58cde7070524b17894482a1da0bfc3df972cceba1ca30a1efdcfec62a481f04ec03532d511a09c22f18b44923e362f67229f575e7a3fc2dd3442229a2b3ebbf7
data/.gitignore CHANGED
@@ -6,6 +6,8 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /gemfiles/.bundle/
10
+ /gemfiles/*.lock
9
11
 
10
12
  # rspec failure tracking
11
13
  .rspec_status
data/.travis.yml CHANGED
@@ -2,4 +2,29 @@ sudo: false
2
2
  language: ruby
3
3
  rvm:
4
4
  - 2.2.8
5
- before_install: gem install bundler -v 1.16.1
5
+ - 2.2.9
6
+ - 2.2.10
7
+ - 2.3.0
8
+ - 2.3.1
9
+ - 2.3.2
10
+ - 2.3.3
11
+ - 2.3.4
12
+ - 2.3.5
13
+ - 2.3.6
14
+ - 2.3.7
15
+ - 2.4.0
16
+ - 2.4.1
17
+ - 2.4.2
18
+ - 2.4.3
19
+ - 2.4.4
20
+ - 2.5.0
21
+ - 2.5.1
22
+ gemfile:
23
+ - gemfiles/3.2.gemfile
24
+ - gemfiles/4.0.gemfile
25
+ - gemfiles/4.1.gemfile
26
+ - gemfiles/4.2.gemfile
27
+ - gemfiles/5.0.gemfile
28
+ - gemfiles/5.1.gemfile
29
+ - gemfiles/5.2.gemfile
30
+ before_install: gem install bundler -v 1.16.2
data/Appraisals ADDED
@@ -0,0 +1,41 @@
1
+ appraise "3.2" do
2
+ gem "activesupport", "~> 3.2.0"
3
+ gem "activemodel", "~> 3.2.0"
4
+ gem "actionpack", "~> 3.2.0"
5
+ end
6
+
7
+ appraise "4.0" do
8
+ gem "activesupport", "~> 4.0.0"
9
+ gem "activemodel", "~> 4.0.0"
10
+ gem "actionpack", "~> 4.0.0"
11
+ end
12
+
13
+ appraise "4.1" do
14
+ gem "activesupport", "~> 4.1.0"
15
+ gem "activemodel", "~> 4.1.0"
16
+ gem "actionpack", "~> 4.1.0"
17
+ end
18
+
19
+ appraise "4.2" do
20
+ gem "activesupport", "~> 4.2.0"
21
+ gem "activemodel", "~> 4.2.0"
22
+ gem "actionpack", "~> 4.2.0"
23
+ end
24
+
25
+ appraise "5.0" do
26
+ gem "activesupport", "~> 5.0.0"
27
+ gem "activemodel", "~> 5.0.0"
28
+ gem "actionpack", "~> 5.0.0"
29
+ end
30
+
31
+ appraise "5.1" do
32
+ gem "activesupport", "~> 5.1.0"
33
+ gem "activemodel", "~> 5.1.0"
34
+ gem "actionpack", "~> 5.1.0"
35
+ end
36
+
37
+ appraise "5.2" do
38
+ gem "activesupport", "~> 5.2.0"
39
+ gem "activemodel", "~> 5.2.0"
40
+ gem "actionpack", "~> 5.2.0"
41
+ end
data/CHANGELOG.md ADDED
@@ -0,0 +1,42 @@
1
+ # Change Log
2
+
3
+ ## [Unreleased](https://github.com/akoltun/form_obj/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/akoltun/form_obj/compare/v0.3.0...HEAD)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Avoid duplication of attributes [\#12](https://github.com/akoltun/form_obj/issues/12)
10
+
11
+ **Closed issues:**
12
+
13
+ - Refactor definition of class methods in FormObj::Form [\#24](https://github.com/akoltun/form_obj/issues/24)
14
+ - Merge tree\_struct gem [\#13](https://github.com/akoltun/form_obj/issues/13)
15
+ - Rename car model in the documentation and tests into something else [\#9](https://github.com/akoltun/form_obj/issues/9)
16
+ - Rename Mappable into ModelMapper [\#8](https://github.com/akoltun/form_obj/issues/8)
17
+ - Add form builder usage example [\#6](https://github.com/akoltun/form_obj/issues/6)
18
+ - Add description of :raise\_if\_not\_found parameter [\#4](https://github.com/akoltun/form_obj/issues/4)
19
+ - Rename method save\_to\_model\(s\) into sync\_to\_model\(s\) [\#3](https://github.com/akoltun/form_obj/issues/3)
20
+ - Rename hash: true parameter into model\_hash: true [\#2](https://github.com/akoltun/form_obj/issues/2)
21
+
22
+ **Merged pull requests:**
23
+
24
+ - Define class methods in FormObj::Form using class \<\< self [\#26](https://github.com/akoltun/form_obj/pull/26) ([akoltun](https://github.com/akoltun))
25
+ - Bug fix: Avoid attribute duplication [\#25](https://github.com/akoltun/form_obj/pull/25) ([akoltun](https://github.com/akoltun))
26
+ - Renaming [\#22](https://github.com/akoltun/form_obj/pull/22) ([akoltun](https://github.com/akoltun))
27
+ - Merge tree struct gem [\#21](https://github.com/akoltun/form_obj/pull/21) ([akoltun](https://github.com/akoltun))
28
+ - Update all dependencies to last versions [\#20](https://github.com/akoltun/form_obj/pull/20) ([akoltun](https://github.com/akoltun))
29
+ - Rename attribute model in test and docs [\#19](https://github.com/akoltun/form_obj/pull/19) ([akoltun](https://github.com/akoltun))
30
+ - Documentation update [\#18](https://github.com/akoltun/form_obj/pull/18) ([akoltun](https://github.com/akoltun))
31
+ - Updated the documentation [\#1](https://github.com/akoltun/form_obj/pull/1) ([wimcnice](https://github.com/wimcnice))
32
+
33
+ ## [v0.3.0](https://github.com/akoltun/form_obj/tree/v0.3.0) (2018-05-15)
34
+ [Full Changelog](https://github.com/akoltun/form_obj/compare/v0.2.0...v0.3.0)
35
+
36
+ ## [v0.2.0](https://github.com/akoltun/form_obj/tree/v0.2.0) (2018-05-15)
37
+ [Full Changelog](https://github.com/akoltun/form_obj/compare/v0.1.0...v0.2.0)
38
+
39
+ ## [v0.1.0](https://github.com/akoltun/form_obj/tree/v0.1.0) (2018-04-12)
40
+
41
+
42
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/Gemfile.lock CHANGED
@@ -1,44 +1,60 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- form_obj (0.3.0)
4
+ form_obj (0.4.0)
5
5
  activemodel (>= 3.2)
6
6
  activesupport (>= 3.2)
7
- tree_struct (>= 1.0.2)
7
+ typed_array (>= 1.0.1)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (3.2.22.5)
13
- activemodel (= 3.2.22.5)
14
- activesupport (= 3.2.22.5)
15
- builder (~> 3.0.0)
16
- erubis (~> 2.7.0)
17
- journey (~> 1.0.4)
18
- rack (~> 1.4.5)
19
- rack-cache (~> 1.2)
20
- rack-test (~> 0.6.1)
21
- sprockets (~> 2.2.1)
22
- activemodel (3.2.22.5)
23
- activesupport (= 3.2.22.5)
24
- builder (~> 3.0.0)
25
- activesupport (3.2.22.5)
26
- i18n (~> 0.6, >= 0.6.4)
27
- multi_json (~> 1.0)
28
- builder (3.0.4)
12
+ actionpack (5.2.0)
13
+ actionview (= 5.2.0)
14
+ activesupport (= 5.2.0)
15
+ rack (~> 2.0)
16
+ rack-test (>= 0.6.3)
17
+ rails-dom-testing (~> 2.0)
18
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
+ actionview (5.2.0)
20
+ activesupport (= 5.2.0)
21
+ builder (~> 3.1)
22
+ erubi (~> 1.4)
23
+ rails-dom-testing (~> 2.0)
24
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
25
+ activemodel (5.2.0)
26
+ activesupport (= 5.2.0)
27
+ activesupport (5.2.0)
28
+ concurrent-ruby (~> 1.0, >= 1.0.2)
29
+ i18n (>= 0.7, < 2)
30
+ minitest (~> 5.1)
31
+ tzinfo (~> 1.1)
32
+ appraisal (2.2.0)
33
+ bundler
34
+ rake
35
+ thor (>= 0.14.0)
36
+ builder (3.2.3)
29
37
  concurrent-ruby (1.0.5)
38
+ crass (1.0.4)
30
39
  diff-lcs (1.3)
31
- erubis (2.7.0)
32
- hike (1.2.3)
33
- i18n (0.9.5)
40
+ erubi (1.7.1)
41
+ i18n (1.0.1)
34
42
  concurrent-ruby (~> 1.0)
35
- journey (1.0.4)
36
- multi_json (1.13.1)
37
- rack (1.4.7)
38
- rack-cache (1.7.1)
39
- rack (>= 0.4)
40
- rack-test (0.6.3)
41
- rack (>= 1.0)
43
+ loofah (2.2.2)
44
+ crass (~> 1.0.2)
45
+ nokogiri (>= 1.5.9)
46
+ mini_portile2 (2.3.0)
47
+ minitest (5.11.3)
48
+ nokogiri (1.8.2)
49
+ mini_portile2 (~> 2.3.0)
50
+ rack (2.0.5)
51
+ rack-test (1.0.0)
52
+ rack (>= 1.0, < 3)
53
+ rails-dom-testing (2.0.3)
54
+ activesupport (>= 4.2.0)
55
+ nokogiri (>= 1.6)
56
+ rails-html-sanitizer (1.0.4)
57
+ loofah (~> 2.2, >= 2.2.2)
42
58
  rake (10.5.0)
43
59
  rspec (3.7.0)
44
60
  rspec-core (~> 3.7.0)
@@ -53,26 +69,22 @@ GEM
53
69
  diff-lcs (>= 1.2.0, < 2.0)
54
70
  rspec-support (~> 3.7.0)
55
71
  rspec-support (3.7.1)
56
- sprockets (2.2.3)
57
- hike (~> 1.2)
58
- multi_json (~> 1.0)
59
- rack (~> 1.0)
60
- tilt (~> 1.1, != 1.3.0)
61
- tilt (1.4.1)
62
- tree_struct (1.0.2)
63
- activesupport (>= 3.2)
64
- typed_array (>= 1.0.0)
72
+ thor (0.20.0)
73
+ thread_safe (0.3.6)
65
74
  typed_array (1.0.1)
75
+ tzinfo (1.2.5)
76
+ thread_safe (~> 0.1)
66
77
 
67
78
  PLATFORMS
68
79
  ruby
69
80
 
70
81
  DEPENDENCIES
71
82
  actionpack (>= 3.2)
83
+ appraisal
72
84
  bundler (~> 1.16)
73
85
  form_obj!
74
86
  rake (~> 10.0)
75
87
  rspec (~> 3.0)
76
88
 
77
89
  BUNDLED WITH
78
- 1.16.1
90
+ 1.16.2