axlsx_rails 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +7 -3
- data/Gemfile.lock +124 -114
- data/Gemfile.lock.3.1 +12 -8
- data/Gemfile.lock.3.2 +12 -8
- data/{Gemfile.lock.4.0 → Gemfile.lock.4.1} +92 -87
- data/Gemfile.lock.4.2 +237 -0
- data/README.md +66 -7
- data/lib/axlsx_rails/action_controller.rb +21 -7
- data/lib/axlsx_rails/template_handler.rb +10 -8
- data/lib/axlsx_rails/version.rb +1 -1
- data/spec/axlsx_request_spec.rb +8 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +108 -0
- data/spec/dummy/log/test.log +1487 -0
- data/spec/dummy_4/config/environments/test.rb +2 -1
- data/spec/dummy_4/config/initializers/secret_token.rb +2 -0
- data/spec/dummy_4/db/development.sqlite3 +0 -0
- data/spec/dummy_4/db/test.sqlite3 +0 -0
- data/spec/dummy_4/log/development.log +105 -0
- data/spec/dummy_4/log/test.log +15996 -0
- data/spec/spec_helper.rb +1 -1
- data/spec/test_4.1.sh +16 -0
- data/spec/test_4.2.sh +16 -0
- metadata +28 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed0a20e9c229bff4269b30ed218bc0df3925d883
|
4
|
+
data.tar.gz: 1594709279eb14b48ad04d5743250288a8b8c1b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7db474030ee2a5d57efd2f9bd1dcf76ae525ddde4cae62edb054ecc3121aea47c14ea231402c53c33ee548299f1a9e5999d4c9436bf23d1bf2376c97b2531f02
|
7
|
+
data.tar.gz: e85559bfec63ae7a829c61a93d17e8ab1a9596de404730c8e9a891dde43d33319bfb681060e8aa25a7d18148237c4e8e3a295e05e90a7cdcbc9d8cbfabe51653
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
**September 4, 2014**: 0.2.1 release
|
4
|
+
|
5
|
+
- Rails 4.2.beta1 no longer includes responder. This release checks for the existence of responder before configuring a default responder.
|
6
|
+
- Rails 4.2 testing, though not yet on Travis CI
|
7
|
+
- Author, created_at, and use_shared_strings parameters for Axlsx::Package.new
|
8
|
+
|
3
9
|
**April 9, 2014**: 0.2.0 release
|
4
10
|
|
5
11
|
- Require Axlsx 2.0.1, which requires rubyzip 1.0.0
|
data/Gemfile
CHANGED
@@ -9,7 +9,12 @@ case ENV['RAILS_VERSION']
|
|
9
9
|
when '3.1', '3.2'
|
10
10
|
gem 'rails', "~> #{ENV['RAILS_VERSION']}.0"
|
11
11
|
when '4.0'
|
12
|
-
gem 'rails', "
|
12
|
+
gem 'rails', "~> 4.0.0"
|
13
|
+
when '4.1'
|
14
|
+
gem 'rails', "~> 4.1.0"
|
15
|
+
when '4.2'
|
16
|
+
gem 'rails', "4.2.0.beta1"
|
17
|
+
gem 'responders', '~> 2.0'
|
13
18
|
end
|
14
19
|
|
15
20
|
# jquery-rails is used by the dummy application
|
@@ -20,9 +25,8 @@ gem "thin"
|
|
20
25
|
# your gemspec. These might include edge Rails or gems from your path or
|
21
26
|
# Git. Remember to move these dependencies to your gemspec before releasing
|
22
27
|
# your gem to rubygems.org.
|
23
|
-
gem 'axlsx', '~> 2.0'
|
24
28
|
gem 'acts_as_xlsx', git: 'git://github.com/straydogstudio/acts_as_xlsx.git'
|
25
|
-
gem 'capybara', '~> 2.1
|
29
|
+
gem 'capybara', '~> 2.1'
|
26
30
|
|
27
31
|
# To use debugger
|
28
32
|
# gem 'pry-debugger'
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/straydogstudio/acts_as_xlsx.git
|
3
|
-
revision:
|
3
|
+
revision: 74c00b5054ef96ced7bd55753015164f6aaf13ab
|
4
4
|
specs:
|
5
5
|
acts_as_xlsx (1.0.6)
|
6
6
|
activerecord (>= 2.3.9)
|
@@ -10,47 +10,53 @@ GIT
|
|
10
10
|
PATH
|
11
11
|
remote: .
|
12
12
|
specs:
|
13
|
-
axlsx_rails (0.2.
|
13
|
+
axlsx_rails (0.2.1)
|
14
14
|
axlsx (>= 2.0.1)
|
15
15
|
rails (>= 3.1)
|
16
16
|
|
17
17
|
GEM
|
18
18
|
remote: http://rubygems.org/
|
19
19
|
specs:
|
20
|
-
actionmailer (
|
21
|
-
actionpack (=
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
actionmailer (4.2.0.beta1)
|
21
|
+
actionpack (= 4.2.0.beta1)
|
22
|
+
actionview (= 4.2.0.beta1)
|
23
|
+
mail (~> 2.5, >= 2.5.4)
|
24
|
+
rails-dom-testing (~> 1.0, >= 1.0.2)
|
25
|
+
actionpack (4.2.0.beta1)
|
26
|
+
actionview (= 4.2.0.beta1)
|
27
|
+
activesupport (= 4.2.0.beta1)
|
28
|
+
rack (~> 1.6.0.beta)
|
29
|
+
rack-test (~> 0.6.2)
|
30
|
+
rails-deprecated_sanitizer (~> 1.0, >= 1.0.2)
|
31
|
+
rails-dom-testing (~> 1.0, >= 1.0.2)
|
32
|
+
actionview (4.2.0.beta1)
|
33
|
+
activesupport (= 4.2.0.beta1)
|
34
|
+
builder (~> 3.1)
|
27
35
|
erubis (~> 2.7.0)
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
multi_json (~> 1.0)
|
47
|
-
arel (3.0.3)
|
36
|
+
rails-deprecated_sanitizer (~> 1.0, >= 1.0.2)
|
37
|
+
rails-dom-testing (~> 1.0, >= 1.0.2)
|
38
|
+
activejob (4.2.0.beta1)
|
39
|
+
globalid (>= 0.2.3)
|
40
|
+
activemodel (4.2.0.beta1)
|
41
|
+
activesupport (= 4.2.0.beta1)
|
42
|
+
builder (~> 3.1)
|
43
|
+
activerecord (4.2.0.beta1)
|
44
|
+
activemodel (= 4.2.0.beta1)
|
45
|
+
activesupport (= 4.2.0.beta1)
|
46
|
+
arel (>= 6.0.0.beta1, < 6.1)
|
47
|
+
activesupport (4.2.0.beta1)
|
48
|
+
i18n (>= 0.7.0.beta1, < 0.8)
|
49
|
+
json (~> 1.7, >= 1.7.7)
|
50
|
+
minitest (~> 5.1)
|
51
|
+
thread_safe (~> 0.1)
|
52
|
+
tzinfo (~> 1.1)
|
53
|
+
arel (6.0.0.beta1)
|
48
54
|
axlsx (2.0.1)
|
49
55
|
htmlentities (~> 4.3.1)
|
50
56
|
nokogiri (>= 1.4.1)
|
51
57
|
rubyzip (~> 1.0.0)
|
52
|
-
builder (3.
|
53
|
-
capybara (2.1
|
58
|
+
builder (3.2.2)
|
59
|
+
capybara (2.4.1)
|
54
60
|
mime-types (>= 1.16)
|
55
61
|
nokogiri (>= 1.3.3)
|
56
62
|
rack (>= 1.0.0)
|
@@ -58,11 +64,8 @@ GEM
|
|
58
64
|
xpath (~> 2.0)
|
59
65
|
celluloid (0.15.2)
|
60
66
|
timers (~> 1.1.0)
|
61
|
-
celluloid-io (0.15.0)
|
62
|
-
celluloid (>= 0.15.0)
|
63
|
-
nio4r (>= 0.5.0)
|
64
67
|
coderay (1.1.0)
|
65
|
-
coveralls (0.7.
|
68
|
+
coveralls (0.7.1)
|
66
69
|
multi_json (~> 1.3)
|
67
70
|
rest-client
|
68
71
|
simplecov (>= 0.7)
|
@@ -70,132 +73,140 @@ GEM
|
|
70
73
|
thor
|
71
74
|
daemons (1.1.9)
|
72
75
|
diff-lcs (1.2.5)
|
73
|
-
docile (1.1.
|
76
|
+
docile (1.1.5)
|
74
77
|
erubis (2.7.0)
|
75
78
|
eventmachine (1.0.3)
|
76
79
|
ffi (1.9.3)
|
77
|
-
formatador (0.2.
|
80
|
+
formatador (0.2.5)
|
81
|
+
globalid (0.2.3)
|
82
|
+
activesupport (>= 4.1.0)
|
78
83
|
growl (1.0.3)
|
79
|
-
guard (2.
|
84
|
+
guard (2.6.1)
|
80
85
|
formatador (>= 0.2.4)
|
81
|
-
listen (~> 2.
|
86
|
+
listen (~> 2.7)
|
82
87
|
lumberjack (~> 1.0)
|
83
88
|
pry (>= 0.9.12)
|
84
89
|
thor (>= 0.18.1)
|
85
|
-
guard-rspec (4.
|
90
|
+
guard-rspec (4.3.1)
|
86
91
|
guard (~> 2.1)
|
87
92
|
rspec (>= 2.14, < 4.0)
|
88
93
|
hike (1.2.3)
|
89
|
-
htmlentities (4.3.
|
90
|
-
i18n (0.
|
91
|
-
|
92
|
-
jquery-rails (3.1.0)
|
94
|
+
htmlentities (4.3.2)
|
95
|
+
i18n (0.7.0.beta1)
|
96
|
+
jquery-rails (3.1.2)
|
93
97
|
railties (>= 3.0, < 5.0)
|
94
98
|
thor (>= 0.14, < 2.0)
|
95
99
|
json (1.8.1)
|
96
|
-
listen (2.
|
100
|
+
listen (2.7.9)
|
97
101
|
celluloid (>= 0.15.2)
|
98
|
-
celluloid-io (>= 0.15.0)
|
99
102
|
rb-fsevent (>= 0.9.3)
|
100
103
|
rb-inotify (>= 0.9)
|
101
|
-
lumberjack (1.0.
|
102
|
-
mail (2.
|
103
|
-
mime-types (
|
104
|
-
treetop (~> 1.4.8)
|
104
|
+
lumberjack (1.0.9)
|
105
|
+
mail (2.6.1)
|
106
|
+
mime-types (>= 1.16, < 3)
|
105
107
|
method_source (0.8.2)
|
106
|
-
mime-types (
|
107
|
-
mini_portile (0.
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
pry (0.
|
114
|
-
coderay (~> 1.0)
|
115
|
-
method_source (~> 0.8)
|
108
|
+
mime-types (2.3)
|
109
|
+
mini_portile (0.6.0)
|
110
|
+
minitest (5.4.1)
|
111
|
+
multi_json (1.10.1)
|
112
|
+
netrc (0.7.7)
|
113
|
+
nokogiri (1.6.3.1)
|
114
|
+
mini_portile (= 0.6.0)
|
115
|
+
pry (0.10.1)
|
116
|
+
coderay (~> 1.1.0)
|
117
|
+
method_source (~> 0.8.1)
|
116
118
|
slop (~> 3.4)
|
117
|
-
pry-nav (0.2.
|
118
|
-
pry (
|
119
|
-
rack (1.
|
120
|
-
rack-cache (1.2)
|
121
|
-
rack (>= 0.4)
|
122
|
-
rack-ssl (1.3.3)
|
123
|
-
rack
|
119
|
+
pry-nav (0.2.4)
|
120
|
+
pry (>= 0.9.10, < 0.11.0)
|
121
|
+
rack (1.6.0.beta)
|
124
122
|
rack-test (0.6.2)
|
125
123
|
rack (>= 1.0)
|
126
|
-
rails (
|
127
|
-
actionmailer (=
|
128
|
-
actionpack (=
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
124
|
+
rails (4.2.0.beta1)
|
125
|
+
actionmailer (= 4.2.0.beta1)
|
126
|
+
actionpack (= 4.2.0.beta1)
|
127
|
+
actionview (= 4.2.0.beta1)
|
128
|
+
activejob (= 4.2.0.beta1)
|
129
|
+
activemodel (= 4.2.0.beta1)
|
130
|
+
activerecord (= 4.2.0.beta1)
|
131
|
+
activesupport (= 4.2.0.beta1)
|
132
|
+
bundler (>= 1.3.0, < 2.0)
|
133
|
+
railties (= 4.2.0.beta1)
|
134
|
+
sprockets-rails (~> 3.0.0.beta1)
|
135
|
+
rails-deprecated_sanitizer (1.0.2)
|
136
|
+
activesupport (>= 4.2.0.alpha)
|
137
|
+
rails-dom-testing (1.0.2)
|
138
|
+
activesupport
|
139
|
+
nokogiri (~> 1.6.0)
|
140
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
141
|
+
railties (4.2.0.beta1)
|
142
|
+
actionpack (= 4.2.0.beta1)
|
143
|
+
activesupport (= 4.2.0.beta1)
|
138
144
|
rake (>= 0.8.7)
|
139
|
-
|
140
|
-
|
141
|
-
rake (10.1.1)
|
145
|
+
thor (>= 0.18.1, < 2.0)
|
146
|
+
rake (10.3.2)
|
142
147
|
rb-fsevent (0.9.4)
|
143
|
-
rb-inotify (0.9.
|
148
|
+
rb-inotify (0.9.5)
|
144
149
|
ffi (>= 0.5.0)
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
mime-types (>= 1.16)
|
150
|
+
rest-client (1.7.2)
|
151
|
+
mime-types (>= 1.16, < 3.0)
|
152
|
+
netrc (~> 0.7)
|
149
153
|
roo (1.13.2)
|
150
154
|
nokogiri
|
151
155
|
rubyzip
|
152
156
|
spreadsheet (> 0.6.4)
|
153
|
-
rspec (
|
154
|
-
rspec-core (~>
|
155
|
-
rspec-expectations (~>
|
156
|
-
rspec-mocks (~>
|
157
|
-
rspec-core (
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
157
|
+
rspec (3.0.0)
|
158
|
+
rspec-core (~> 3.0.0)
|
159
|
+
rspec-expectations (~> 3.0.0)
|
160
|
+
rspec-mocks (~> 3.0.0)
|
161
|
+
rspec-core (3.0.4)
|
162
|
+
rspec-support (~> 3.0.0)
|
163
|
+
rspec-expectations (3.0.4)
|
164
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
165
|
+
rspec-support (~> 3.0.0)
|
166
|
+
rspec-mocks (3.0.4)
|
167
|
+
rspec-support (~> 3.0.0)
|
168
|
+
rspec-rails (3.0.2)
|
162
169
|
actionpack (>= 3.0)
|
163
|
-
activemodel (>= 3.0)
|
164
170
|
activesupport (>= 3.0)
|
165
171
|
railties (>= 3.0)
|
166
|
-
rspec-core (~>
|
167
|
-
rspec-expectations (~>
|
168
|
-
rspec-mocks (~>
|
172
|
+
rspec-core (~> 3.0.0)
|
173
|
+
rspec-expectations (~> 3.0.0)
|
174
|
+
rspec-mocks (~> 3.0.0)
|
175
|
+
rspec-support (~> 3.0.0)
|
176
|
+
rspec-support (3.0.4)
|
169
177
|
ruby-ole (1.2.11.7)
|
170
178
|
rubyzip (1.0.0)
|
171
|
-
simplecov (0.
|
179
|
+
simplecov (0.9.0)
|
172
180
|
docile (~> 1.1.0)
|
173
181
|
multi_json
|
174
182
|
simplecov-html (~> 0.8.0)
|
175
183
|
simplecov-html (0.8.0)
|
176
|
-
slop (3.
|
177
|
-
spreadsheet (0.
|
184
|
+
slop (3.6.0)
|
185
|
+
spreadsheet (1.0.0)
|
178
186
|
ruby-ole (>= 1.0)
|
179
|
-
sprockets (2.
|
187
|
+
sprockets (2.12.1)
|
180
188
|
hike (~> 1.2)
|
181
189
|
multi_json (~> 1.0)
|
182
190
|
rack (~> 1.0)
|
183
191
|
tilt (~> 1.1, != 1.3.0)
|
184
|
-
|
192
|
+
sprockets-rails (3.0.0.beta1)
|
193
|
+
actionpack (>= 4.0)
|
194
|
+
activesupport (>= 4.0)
|
195
|
+
sprockets (~> 2.8)
|
196
|
+
sqlite3 (1.3.9)
|
185
197
|
term-ansicolor (1.3.0)
|
186
198
|
tins (~> 1.0)
|
187
|
-
thin (1.6.
|
199
|
+
thin (1.6.2)
|
188
200
|
daemons (>= 1.0.9)
|
189
201
|
eventmachine (>= 1.0.0)
|
190
202
|
rack (>= 1.0.0)
|
191
|
-
thor (0.
|
203
|
+
thor (0.19.1)
|
204
|
+
thread_safe (0.3.4)
|
192
205
|
tilt (1.4.1)
|
193
206
|
timers (1.1.0)
|
194
|
-
tins (1.
|
195
|
-
|
196
|
-
|
197
|
-
polyglot (>= 0.3.1)
|
198
|
-
tzinfo (0.3.38)
|
207
|
+
tins (1.3.2)
|
208
|
+
tzinfo (1.2.2)
|
209
|
+
thread_safe (~> 0.1)
|
199
210
|
xpath (2.0.0)
|
200
211
|
nokogiri (~> 1.3)
|
201
212
|
|
@@ -204,10 +215,9 @@ PLATFORMS
|
|
204
215
|
|
205
216
|
DEPENDENCIES
|
206
217
|
acts_as_xlsx!
|
207
|
-
axlsx (~> 2.0)
|
208
218
|
axlsx_rails!
|
209
219
|
bundler
|
210
|
-
capybara (~> 2.1
|
220
|
+
capybara (~> 2.1)
|
211
221
|
coveralls
|
212
222
|
growl
|
213
223
|
guard-rspec
|
data/Gemfile.lock.3.1
CHANGED
@@ -1,7 +1,16 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/straydogstudio/acts_as_xlsx.git
|
3
|
+
revision: 74c00b5054ef96ced7bd55753015164f6aaf13ab
|
4
|
+
specs:
|
5
|
+
acts_as_xlsx (1.0.6)
|
6
|
+
activerecord (>= 2.3.9)
|
7
|
+
axlsx (>= 1.0.13)
|
8
|
+
i18n (>= 0.4.1)
|
9
|
+
|
1
10
|
PATH
|
2
11
|
remote: .
|
3
12
|
specs:
|
4
|
-
axlsx_rails (0.2.
|
13
|
+
axlsx_rails (0.2.1)
|
5
14
|
axlsx (>= 2.0.1)
|
6
15
|
rails (>= 3.1)
|
7
16
|
|
@@ -36,10 +45,6 @@ GEM
|
|
36
45
|
activesupport (= 3.1.12)
|
37
46
|
activesupport (3.1.12)
|
38
47
|
multi_json (~> 1.0)
|
39
|
-
acts_as_xlsx (1.0.6)
|
40
|
-
activerecord (>= 2.3.9)
|
41
|
-
axlsx (>= 1.0.13)
|
42
|
-
i18n (>= 0.4.1)
|
43
48
|
arel (2.2.3)
|
44
49
|
axlsx (2.0.1)
|
45
50
|
htmlentities (~> 4.3.1)
|
@@ -194,11 +199,10 @@ PLATFORMS
|
|
194
199
|
ruby
|
195
200
|
|
196
201
|
DEPENDENCIES
|
197
|
-
acts_as_xlsx
|
198
|
-
axlsx (~> 2.0)
|
202
|
+
acts_as_xlsx!
|
199
203
|
axlsx_rails!
|
200
204
|
bundler
|
201
|
-
capybara (~> 2.1
|
205
|
+
capybara (~> 2.1)
|
202
206
|
coveralls
|
203
207
|
growl
|
204
208
|
guard-rspec
|
data/Gemfile.lock.3.2
CHANGED
@@ -1,7 +1,16 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/straydogstudio/acts_as_xlsx.git
|
3
|
+
revision: 74c00b5054ef96ced7bd55753015164f6aaf13ab
|
4
|
+
specs:
|
5
|
+
acts_as_xlsx (1.0.6)
|
6
|
+
activerecord (>= 2.3.9)
|
7
|
+
axlsx (>= 1.0.13)
|
8
|
+
i18n (>= 0.4.1)
|
9
|
+
|
1
10
|
PATH
|
2
11
|
remote: .
|
3
12
|
specs:
|
4
|
-
axlsx_rails (0.2.
|
13
|
+
axlsx_rails (0.2.1)
|
5
14
|
axlsx (>= 2.0.1)
|
6
15
|
rails (>= 3.1)
|
7
16
|
|
@@ -35,10 +44,6 @@ GEM
|
|
35
44
|
activesupport (3.2.17)
|
36
45
|
i18n (~> 0.6, >= 0.6.4)
|
37
46
|
multi_json (~> 1.0)
|
38
|
-
acts_as_xlsx (1.0.6)
|
39
|
-
activerecord (>= 2.3.9)
|
40
|
-
axlsx (>= 1.0.13)
|
41
|
-
i18n (>= 0.4.1)
|
42
47
|
arel (3.0.3)
|
43
48
|
axlsx (2.0.1)
|
44
49
|
htmlentities (~> 4.3.1)
|
@@ -198,11 +203,10 @@ PLATFORMS
|
|
198
203
|
ruby
|
199
204
|
|
200
205
|
DEPENDENCIES
|
201
|
-
acts_as_xlsx
|
202
|
-
axlsx (~> 2.0)
|
206
|
+
acts_as_xlsx!
|
203
207
|
axlsx_rails!
|
204
208
|
bundler
|
205
|
-
capybara (~> 2.1
|
209
|
+
capybara (~> 2.1)
|
206
210
|
coveralls
|
207
211
|
growl
|
208
212
|
guard-rspec
|