active_record_survey 0.1.2 → 0.1.3

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: 919c085e9fcd4de49ef7a1e67db752b02844d329
4
- data.tar.gz: 891da2da11b745c177ede8d81346c2044df4c266
3
+ metadata.gz: 63a522c8b6c32002e303859368fba6fca36f0952
4
+ data.tar.gz: 38d7e702b42eee467578db3ab511d529ceeb1c7d
5
5
  SHA512:
6
- metadata.gz: fbb7beebdda7ab8db1cf9c0e12a1fd2eb71bafaa34191c5793c972f1b3fe9ff5e80e9fd03ba507a3b376838457aa889333521ebf5782dc0e8aff598680821b78
7
- data.tar.gz: b22c3b93e379b240577ebae0221e1d6f5d9202ec0a50c6f1daf4f276fefad50f1e23da8748a81319cceb8b82cda2b24338220038317729e1bd6b5de891a4e204
6
+ metadata.gz: 63be44b810cfbb1a11613eae3d4f5196bc77136876cfc9c059a34e1806dd7a4024b7dc3dba32f85ef189ca03096024fa50029d60847fe4d4acd537e21243c184
7
+ data.tar.gz: 9869e801ed85f59607a5971686b5344f5f0c9b4d7afeabf520807b17631cf46e3d13f808f1aaa9c8fcb508f44c0673df79b783d07837471824871cc838f8db69
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordSurvey
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/rspec_rvm ADDED
@@ -0,0 +1,39 @@
1
+ #!/bin/bash
2
+
3
+ set -e
4
+
5
+ if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then
6
+ source "$HOME/.rvm/scripts/rvm"
7
+ elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then
8
+ source "/usr/local/rvm/scripts/rvm"
9
+ else
10
+ printf "ERROR: An RVM installation was not found.n"
11
+ fi
12
+
13
+ function run {
14
+ value=$( gem list --local bundler )
15
+ if [[ ! $value =~ "^bundler " ]]; then
16
+ gem install bundler --no-ri --no-rdoc
17
+ fi
18
+
19
+ echo 'Running bundle exec rspec spec against activesupport / activerecord 3.2.17'
20
+ HAS_DYNAMIC_COLUMNS_ACTIVERECORD_VERSION=3.2.17 bundle update activerecord
21
+ bundle exec rspec spec
22
+
23
+ echo 'Running bundle exec rspec spec against activesupport / activerecord 4.2.0'
24
+ HAS_DYNAMIC_COLUMNS_ACTIVERECORD_VERSION=4.2.0 bundle update activerecord
25
+ bundle exec rspec spec
26
+
27
+ echo 'Running bundle exec rspec spec against activesupport / activerecord edge'
28
+ HAS_DYNAMIC_COLUMNS_ACTIVERECORD_VERSION="edge" bundle update activerecord
29
+ bundle exec rspec spec
30
+ }
31
+
32
+ rvm use ruby-2.1.1@has_dynamic_columns --create
33
+ run
34
+
35
+ rvm use ruby-2.0.0@has_dynamic_columns --create
36
+ run
37
+
38
+ rvm use ruby-1.9.3@has_dynamic_columns --create
39
+ run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_survey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Butch Marshall
@@ -109,10 +109,10 @@ executables:
109
109
  extensions: []
110
110
  extra_rdoc_files: []
111
111
  files:
112
+ - ".gitignore"
112
113
  - ".rspec"
113
114
  - ".travis.yml"
114
115
  - Gemfile
115
- - Gemfile.lock
116
116
  - LICENSE.txt
117
117
  - README.md
118
118
  - Rakefile
@@ -142,6 +142,7 @@ files:
142
142
  - lib/generators/active_record_survey/active_record_survey_generator.rb
143
143
  - lib/generators/active_record_survey/next_migration_version.rb
144
144
  - lib/generators/active_record_survey/templates/migration_0.1.0.rb
145
+ - rspec_rvm
145
146
  - spec/active_record_survey/node/answer/boolean_spec.rb
146
147
  - spec/active_record_survey/node/answer/scale_spec.rb
147
148
  - spec/active_record_survey/survey_spec.rb
data/Gemfile.lock DELETED
@@ -1,111 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- active_record_survey (0.1.1)
5
- activerecord (>= 2.0)
6
- awesome_nested_set (>= 3.0, < 5.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activemodel (4.2.4)
12
- activesupport (= 4.2.4)
13
- builder (~> 3.1)
14
- activerecord (4.2.4)
15
- activemodel (= 4.2.4)
16
- activesupport (= 4.2.4)
17
- arel (~> 6.0)
18
- activesupport (4.2.4)
19
- i18n (~> 0.7)
20
- json (~> 1.7, >= 1.7.7)
21
- minitest (~> 5.1)
22
- thread_safe (~> 0.3, >= 0.3.4)
23
- tzinfo (~> 1.1)
24
- arel (6.0.3)
25
- ast (2.1.0)
26
- astrolabe (1.3.1)
27
- parser (~> 2.2)
28
- awesome_nested_set (3.0.2)
29
- activerecord (>= 4.0.0, < 5)
30
- builder (3.2.2)
31
- coveralls (0.8.2)
32
- json (~> 1.8)
33
- rest-client (>= 1.6.8, < 2)
34
- simplecov (~> 0.10.0)
35
- term-ansicolor (~> 1.3)
36
- thor (~> 0.19.1)
37
- diff-lcs (1.2.5)
38
- docile (1.1.5)
39
- domain_name (0.5.24)
40
- unf (>= 0.0.5, < 1.0.0)
41
- factory_girl (4.5.0)
42
- activesupport (>= 3.0.0)
43
- http-cookie (1.0.2)
44
- domain_name (~> 0.5)
45
- i18n (0.7.0)
46
- json (1.8.3)
47
- mime-types (2.6.2)
48
- minitest (5.8.1)
49
- netrc (0.10.3)
50
- parser (2.2.2.6)
51
- ast (>= 1.1, < 3.0)
52
- powerpack (0.1.1)
53
- rainbow (2.0.0)
54
- rake (10.4.2)
55
- rest-client (1.8.0)
56
- http-cookie (>= 1.0.2, < 2.0)
57
- mime-types (>= 1.16, < 3.0)
58
- netrc (~> 0.7)
59
- rspec (3.3.0)
60
- rspec-core (~> 3.3.0)
61
- rspec-expectations (~> 3.3.0)
62
- rspec-mocks (~> 3.3.0)
63
- rspec-core (3.3.2)
64
- rspec-support (~> 3.3.0)
65
- rspec-expectations (3.3.1)
66
- diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.3.0)
68
- rspec-mocks (3.3.2)
69
- diff-lcs (>= 1.2.0, < 2.0)
70
- rspec-support (~> 3.3.0)
71
- rspec-support (3.3.0)
72
- rubocop (0.34.2)
73
- astrolabe (~> 1.3)
74
- parser (>= 2.2.2.5, < 3.0)
75
- powerpack (~> 0.1)
76
- rainbow (>= 1.99.1, < 3.0)
77
- ruby-progressbar (~> 1.4)
78
- ruby-progressbar (1.7.5)
79
- simplecov (0.10.0)
80
- docile (~> 1.1.0)
81
- json (~> 1.8)
82
- simplecov-html (~> 0.10.0)
83
- simplecov-html (0.10.0)
84
- sqlite3 (1.3.10)
85
- term-ansicolor (1.3.2)
86
- tins (~> 1.0)
87
- thor (0.19.1)
88
- thread_safe (0.3.5)
89
- tins (1.6.0)
90
- tzinfo (1.2.2)
91
- thread_safe (~> 0.1)
92
- unf (0.1.4)
93
- unf_ext
94
- unf_ext (0.0.7.1)
95
-
96
- PLATFORMS
97
- ruby
98
-
99
- DEPENDENCIES
100
- active_record_survey!
101
- activerecord (>= 3.0, < 5.0)
102
- bundler (~> 1.7)
103
- coveralls
104
- factory_girl (> 4.0)
105
- rake
106
- rspec (>= 3)
107
- rubocop (>= 0.25)
108
- sqlite3 (> 0)
109
-
110
- BUNDLED WITH
111
- 1.10.6