smalruby-editor 0.0.2 → 0.0.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: 360c42f513b37db6a8f84589dba9fd3c5c7e0d6e
4
- data.tar.gz: 93b6d05ffa2ccf9a84e9063b2c4fabc5296ee695
3
+ metadata.gz: 33b3bfc48f7cbac22f6100dc642701d88876449b
4
+ data.tar.gz: ef183212d0e7e59c7c57da7628678b3f67858b33
5
5
  SHA512:
6
- metadata.gz: c7abc3976abf11abd20e49524f8a0505f806a7652fa387603cc73f270a2c7facf698941a56a9f87cac11fb795be6bedf9e19486f4642f56834c5840e2166a469
7
- data.tar.gz: 56c0bdcd66fa1dba319f9abb89bea2101a42c99f8215bc760e6a4d6e6a19f89e7e72ba1caa04043d6af0cf79121ef322595921fff41ea44a7bc01efec5c0a424
6
+ metadata.gz: 4c60603a21d92d5387b44d552acf344c79917bd07a9ad37d99aff1910682b616bc561f72b087fbf0d3ace91f34d9e927fa0332ad4ea6b51d9df4031de369ffca
7
+ data.tar.gz: 6104cfa874170157d1fa0fad91e22df473dfe538e84ead7eeaaa799f98e1e88bfe99b15cf3cbb832308dc4fa83481a46ace0c8779b92479e1f6bfe753802c2c9
@@ -9,7 +9,7 @@ require "sprockets/railtie"
9
9
 
10
10
  # Require the gems listed in Gemfile, including any gems
11
11
  # you've limited to :test, :development, or :production.
12
- Bundler.require(:default, Rails.env)
12
+ Bundler.require(:default, Rails.env) if Rails.env != 'standalone'
13
13
 
14
14
  module SmalrubyEditor
15
15
  class Application < Rails::Application
data/config/boot.rb CHANGED
@@ -1,4 +1,14 @@
1
1
  # Set up gems listed in the Gemfile.
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
2
+ if ENV['RAILS_ENV'] == 'standalone'
3
+ path = Pathname('../../smalruby-editor.gemspec').expand_path(__FILE__)
4
+ spec = Dir.chdir(path.dirname.to_s) {
5
+ eval(path.read, TOPLEVEL_BINDING, path.to_s)
6
+ }
7
+ spec.runtime_dependencies.each do |spec_dep|
8
+ require spec_dep.name
9
+ end
10
+ else
11
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
12
 
4
- require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
13
+ require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
14
+ end
@@ -1,3 +1,3 @@
1
1
  module SmalrubyEditor
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
@@ -0,0 +1 @@
1
+ {"files":{"favicon-c7ae857bb9d06de8742ae2d337157e83.ico":{"logical_path":"favicon.ico","mtime":"2013-11-25T21:05:22+09:00","size":16398,"digest":"c7ae857bb9d06de8742ae2d337157e83"},"application-1cd3f5170c998a23c96c9c853c2519a0.js":{"logical_path":"application.js","mtime":"2013-12-01T15:11:39+09:00","size":596934,"digest":"1cd3f5170c998a23c96c9c853c2519a0"},"application-7dfa749c08d706f7273aa6f60cfafefa.css":{"logical_path":"application.css","mtime":"2013-12-01T14:35:21+09:00","size":125752,"digest":"7dfa749c08d706f7273aa6f60cfafefa"},"loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif":{"logical_path":"loading.gif","mtime":"2013-11-27T15:01:42+09:00","size":3897,"digest":"e8e6dd7833131c92a6c3b9c8ccc6a6ac"},"progressbar-82023a146fba2a0f6d925629ed2b09c5.gif":{"logical_path":"progressbar.gif","mtime":"2013-11-27T15:01:42+09:00","size":3323,"digest":"82023a146fba2a0f6d925629ed2b09c5"}},"assets":{"favicon.ico":"favicon-c7ae857bb9d06de8742ae2d337157e83.ico","application.js":"application-1cd3f5170c998a23c96c9c853c2519a0.js","application.css":"application-7dfa749c08d706f7273aa6f60cfafefa.css","loading.gif":"loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif","progressbar.gif":"progressbar-82023a146fba2a0f6d925629ed2b09c5.gif"}}
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.files = []
18
18
  if File.exist?(File.expand_path('../.git', __FILE__))
19
19
  spec.files += `git ls-files`.split($/)
20
+ spec.files -= ['Gemfile', 'Gemfile.lock']
20
21
  end
21
22
  spec.files += Dir.glob('public/assets/**/*')
22
23
  spec.default_executable = 'smalruby-editor'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smalruby-editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kouji Takao
@@ -237,8 +237,6 @@ files:
237
237
  - .ruby-version
238
238
  - .simplecov
239
239
  - .travis.yml
240
- - Gemfile
241
- - Gemfile.lock
242
240
  - LICENSE
243
241
  - Procfile
244
242
  - README.rdoc
@@ -315,7 +313,7 @@ files:
315
313
  - public/assets/application-7dfa749c08d706f7273aa6f60cfafefa.css.gz
316
314
  - public/assets/favicon-c7ae857bb9d06de8742ae2d337157e83.ico
317
315
  - public/assets/loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif
318
- - public/assets/manifest-321187c7a24ba9122c18505055065b0f.json
316
+ - public/assets/manifest-3813515e29606baf063c501afbfdb552.json
319
317
  - public/assets/progressbar-82023a146fba2a0f6d925629ed2b09c5.gif
320
318
  homepage: https://github.com/smalruby/smalruby-editor
321
319
  licenses:
data/Gemfile DELETED
@@ -1,81 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- ruby '2.0.0'
4
-
5
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
6
- gem 'rails', '4.0.1'
7
-
8
- # Use SCSS for stylesheets
9
- gem 'sass-rails', '~> 4.0.0'
10
-
11
- # Use Uglifier as compressor for JavaScript assets
12
- gem 'uglifier', '>= 1.3.0'
13
-
14
- # Use CoffeeScript for .js.coffee assets and views
15
- gem 'coffee-rails', '~> 4.0.0'
16
-
17
- # See https://github.com/sstephenson/execjs#readme for more supported runtimes
18
- # gem 'therubyracer', platforms: :ruby
19
-
20
- # Use jquery as the JavaScript library
21
- gem 'jquery-rails'
22
-
23
- # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
24
- gem 'turbolinks'
25
-
26
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
27
- gem 'jbuilder', '~> 1.2'
28
-
29
- gem 'ace-rails-ap', github: 'dedico/ace-rails-ap'
30
-
31
- gem 'flatstrap-sass'
32
-
33
- gem 'font-awesome-rails'
34
-
35
- gem 'jquery-fileupload-rails', github: 'demiazz/jquery-fileupload-rails'
36
-
37
- gem 'shared-mime-info'
38
-
39
- gem 'launchy'
40
-
41
- group :doc do
42
- # bundle exec rake doc:rails generates the API under doc/api.
43
- gem 'sdoc', require: false
44
- end
45
-
46
- # Use ActiveModel has_secure_password
47
- # gem 'bcrypt-ruby', '~> 3.1.2'
48
-
49
- # Use unicorn as the app server
50
- # gem 'unicorn'
51
-
52
- # Use Capistrano for deployment
53
- # gem 'capistrano', group: :development
54
-
55
- # Use debugger
56
- # gem 'debugger', group: [:development, :test]
57
-
58
- group :production do
59
- # Use mysql as the database for Active Record
60
- gem 'mysql2'
61
-
62
- gem 'rails_12factor'
63
- gem 'unicorn', platforms: :ruby
64
- end
65
-
66
- group :development, :test do
67
- gem 'sqlite3'
68
- gem 'commands'
69
- gem 'rubocop'
70
- gem 'rspec-rails'
71
- end
72
-
73
- group :test do
74
- gem 'shoulda-matchers'
75
- gem 'capybara'
76
- gem 'selenium-webdriver'
77
- gem 'poltergeist'
78
- gem 'turnip'
79
- gem 'coveralls', require: false
80
- gem 'json_spec'
81
- end
data/Gemfile.lock DELETED
@@ -1,264 +0,0 @@
1
- GIT
2
- remote: git://github.com/dedico/ace-rails-ap.git
3
- revision: 7c42a42161d126b5271bfde813129219e997a879
4
- specs:
5
- ace-rails-ap (2.0.0)
6
-
7
- GIT
8
- remote: git://github.com/demiazz/jquery-fileupload-rails.git
9
- revision: 9524ff75e42551ea84cf4aec6210640dddfc000d
10
- specs:
11
- jquery-fileupload-rails (0.4.1)
12
- actionpack (>= 3.1)
13
- railties (>= 3.1)
14
-
15
- GEM
16
- remote: https://rubygems.org/
17
- specs:
18
- actionmailer (4.0.1)
19
- actionpack (= 4.0.1)
20
- mail (~> 2.5.4)
21
- actionpack (4.0.1)
22
- activesupport (= 4.0.1)
23
- builder (~> 3.1.0)
24
- erubis (~> 2.7.0)
25
- rack (~> 1.5.2)
26
- rack-test (~> 0.6.2)
27
- activemodel (4.0.1)
28
- activesupport (= 4.0.1)
29
- builder (~> 3.1.0)
30
- activerecord (4.0.1)
31
- activemodel (= 4.0.1)
32
- activerecord-deprecated_finders (~> 1.0.2)
33
- activesupport (= 4.0.1)
34
- arel (~> 4.0.0)
35
- activerecord-deprecated_finders (1.0.3)
36
- activesupport (4.0.1)
37
- i18n (~> 0.6, >= 0.6.4)
38
- minitest (~> 4.2)
39
- multi_json (~> 1.3)
40
- thread_safe (~> 0.1)
41
- tzinfo (~> 0.3.37)
42
- addressable (2.3.5)
43
- arel (4.0.1)
44
- ast (1.1.0)
45
- atomic (1.1.14)
46
- builder (3.1.4)
47
- capybara (2.1.0)
48
- mime-types (>= 1.16)
49
- nokogiri (>= 1.3.3)
50
- rack (>= 1.0.0)
51
- rack-test (>= 0.5.4)
52
- xpath (~> 2.0)
53
- childprocess (0.3.9)
54
- ffi (~> 1.0, >= 1.0.11)
55
- cliver (0.2.2)
56
- coffee-rails (4.0.1)
57
- coffee-script (>= 2.2.0)
58
- railties (>= 4.0.0, < 5.0)
59
- coffee-script (2.2.0)
60
- coffee-script-source
61
- execjs
62
- coffee-script-source (1.6.3)
63
- commands (0.2.1)
64
- rails (>= 3.2.0)
65
- coveralls (0.7.0)
66
- multi_json (~> 1.3)
67
- rest-client
68
- simplecov (>= 0.7)
69
- term-ansicolor
70
- thor
71
- diff-lcs (1.2.5)
72
- docile (1.1.0)
73
- erubis (2.7.0)
74
- execjs (2.0.2)
75
- ffi (1.9.3)
76
- ffi (1.9.3-x86-mingw32)
77
- flatstrap-sass (2.3.1.0)
78
- font-awesome-rails (~> 3.0.2.0)
79
- sass (~> 3.2)
80
- font-awesome-rails (3.0.2.0)
81
- railties (>= 3.1)
82
- gherkin (2.12.2)
83
- multi_json (~> 1.3)
84
- gherkin (2.12.2-x86-mingw32)
85
- multi_json (~> 1.3)
86
- hike (1.2.3)
87
- i18n (0.6.5)
88
- jbuilder (1.5.2)
89
- activesupport (>= 3.0.0)
90
- multi_json (>= 1.2.0)
91
- jquery-rails (3.0.4)
92
- railties (>= 3.0, < 5.0)
93
- thor (>= 0.14, < 2.0)
94
- json (1.8.1)
95
- json_spec (1.1.1)
96
- multi_json (~> 1.0)
97
- rspec (~> 2.0)
98
- kgio (2.8.1)
99
- launchy (2.4.1)
100
- addressable (~> 2.3)
101
- mail (2.5.4)
102
- mime-types (~> 1.16)
103
- treetop (~> 1.4.8)
104
- mime-types (1.25.1)
105
- mini_portile (0.5.2)
106
- minitest (4.7.5)
107
- multi_json (1.8.2)
108
- mysql2 (0.3.14)
109
- nokogiri (1.6.0)
110
- mini_portile (~> 0.5.0)
111
- nokogiri (1.6.0-x86-mingw32)
112
- mini_portile (~> 0.5.0)
113
- parser (2.0.0)
114
- ast (~> 1.1)
115
- slop (~> 3.4, >= 3.4.5)
116
- poltergeist (1.4.1)
117
- capybara (~> 2.1.0)
118
- cliver (~> 0.2.1)
119
- multi_json (~> 1.0)
120
- websocket-driver (>= 0.2.0)
121
- polyglot (0.3.3)
122
- powerpack (0.0.9)
123
- rack (1.5.2)
124
- rack-test (0.6.2)
125
- rack (>= 1.0)
126
- rails (4.0.1)
127
- actionmailer (= 4.0.1)
128
- actionpack (= 4.0.1)
129
- activerecord (= 4.0.1)
130
- activesupport (= 4.0.1)
131
- bundler (>= 1.3.0, < 2.0)
132
- railties (= 4.0.1)
133
- sprockets-rails (~> 2.0.0)
134
- rails_12factor (0.0.2)
135
- rails_serve_static_assets
136
- rails_stdout_logging
137
- rails_serve_static_assets (0.0.1)
138
- rails_stdout_logging (0.0.3)
139
- railties (4.0.1)
140
- actionpack (= 4.0.1)
141
- activesupport (= 4.0.1)
142
- rake (>= 0.8.7)
143
- thor (>= 0.18.1, < 2.0)
144
- rainbow (1.1.4)
145
- raindrops (0.12.0)
146
- rake (10.1.0)
147
- rdoc (3.12.2)
148
- json (~> 1.4)
149
- rest-client (1.6.7)
150
- mime-types (>= 1.16)
151
- rspec (2.14.1)
152
- rspec-core (~> 2.14.0)
153
- rspec-expectations (~> 2.14.0)
154
- rspec-mocks (~> 2.14.0)
155
- rspec-core (2.14.7)
156
- rspec-expectations (2.14.4)
157
- diff-lcs (>= 1.1.3, < 2.0)
158
- rspec-mocks (2.14.4)
159
- rspec-rails (2.14.0)
160
- actionpack (>= 3.0)
161
- activesupport (>= 3.0)
162
- railties (>= 3.0)
163
- rspec-core (~> 2.14.0)
164
- rspec-expectations (~> 2.14.0)
165
- rspec-mocks (~> 2.14.0)
166
- rubocop (0.15.0)
167
- parser (~> 2.0)
168
- powerpack (~> 0.0.6)
169
- rainbow (>= 1.1.4)
170
- rubyzip (1.0.0)
171
- sass (3.2.12)
172
- sass-rails (4.0.1)
173
- railties (>= 4.0.0, < 5.0)
174
- sass (>= 3.1.10)
175
- sprockets-rails (~> 2.0.0)
176
- sdoc (0.3.20)
177
- json (>= 1.1.3)
178
- rdoc (~> 3.10)
179
- selenium-webdriver (2.37.0)
180
- childprocess (>= 0.2.5)
181
- multi_json (~> 1.0)
182
- rubyzip (~> 1.0.0)
183
- websocket (~> 1.0.4)
184
- shared-mime-info (0.2.5)
185
- shoulda-matchers (2.4.0)
186
- activesupport (>= 3.0.0)
187
- simplecov (0.8.2)
188
- docile (~> 1.1.0)
189
- multi_json
190
- simplecov-html (~> 0.8.0)
191
- simplecov-html (0.8.0)
192
- slop (3.4.7)
193
- sprockets (2.10.1)
194
- hike (~> 1.2)
195
- multi_json (~> 1.0)
196
- rack (~> 1.0)
197
- tilt (~> 1.1, != 1.3.0)
198
- sprockets-rails (2.0.1)
199
- actionpack (>= 3.0)
200
- activesupport (>= 3.0)
201
- sprockets (~> 2.8)
202
- sqlite3 (1.3.8)
203
- sqlite3 (1.3.8-x86-mingw32)
204
- term-ansicolor (1.2.2)
205
- tins (~> 0.8)
206
- thor (0.18.1)
207
- thread_safe (0.1.3)
208
- atomic
209
- tilt (1.4.1)
210
- tins (0.13.1)
211
- treetop (1.4.15)
212
- polyglot
213
- polyglot (>= 0.3.1)
214
- turbolinks (1.3.1)
215
- coffee-rails
216
- turnip (1.1.0)
217
- gherkin (>= 2.5)
218
- rspec (~> 2.0)
219
- tzinfo (0.3.38)
220
- uglifier (2.3.1)
221
- execjs (>= 0.3.0)
222
- json (>= 1.8.0)
223
- unicorn (4.7.0)
224
- kgio (~> 2.6)
225
- rack
226
- raindrops (~> 0.7)
227
- websocket (1.0.7)
228
- websocket-driver (0.3.0)
229
- xpath (2.0.0)
230
- nokogiri (~> 1.3)
231
-
232
- PLATFORMS
233
- ruby
234
- x86-mingw32
235
-
236
- DEPENDENCIES
237
- ace-rails-ap!
238
- capybara
239
- coffee-rails (~> 4.0.0)
240
- commands
241
- coveralls
242
- flatstrap-sass
243
- font-awesome-rails
244
- jbuilder (~> 1.2)
245
- jquery-fileupload-rails!
246
- jquery-rails
247
- json_spec
248
- launchy
249
- mysql2
250
- poltergeist
251
- rails (= 4.0.1)
252
- rails_12factor
253
- rspec-rails
254
- rubocop
255
- sass-rails (~> 4.0.0)
256
- sdoc
257
- selenium-webdriver
258
- shared-mime-info
259
- shoulda-matchers
260
- sqlite3
261
- turbolinks
262
- turnip
263
- uglifier (>= 1.3.0)
264
- unicorn
@@ -1 +0,0 @@
1
- {"files":{"favicon-c7ae857bb9d06de8742ae2d337157e83.ico":{"logical_path":"favicon.ico","mtime":"2013-11-25T21:05:22+09:00","size":16398,"digest":"c7ae857bb9d06de8742ae2d337157e83"},"application-f65f86fb796f63a8dff6fe75592695da.js":{"logical_path":"application.js","mtime":"2013-11-27T15:52:45+09:00","size":596509,"digest":"f65f86fb796f63a8dff6fe75592695da"},"application-deadcb20ebf21fdba3bf726d1c538603.css":{"logical_path":"application.css","mtime":"2013-11-27T15:08:48+09:00","size":125683,"digest":"deadcb20ebf21fdba3bf726d1c538603"},"loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif":{"logical_path":"loading.gif","mtime":"2013-11-27T15:01:42+09:00","size":3897,"digest":"e8e6dd7833131c92a6c3b9c8ccc6a6ac"},"progressbar-82023a146fba2a0f6d925629ed2b09c5.gif":{"logical_path":"progressbar.gif","mtime":"2013-11-27T15:01:42+09:00","size":3323,"digest":"82023a146fba2a0f6d925629ed2b09c5"},"application-1cd3f5170c998a23c96c9c853c2519a0.js":{"logical_path":"application.js","mtime":"2013-12-01T15:11:39+09:00","size":596934,"digest":"1cd3f5170c998a23c96c9c853c2519a0"},"application-7dfa749c08d706f7273aa6f60cfafefa.css":{"logical_path":"application.css","mtime":"2013-12-01T14:35:21+09:00","size":125752,"digest":"7dfa749c08d706f7273aa6f60cfafefa"}},"assets":{"favicon.ico":"favicon-c7ae857bb9d06de8742ae2d337157e83.ico","application.js":"application-1cd3f5170c998a23c96c9c853c2519a0.js","application.css":"application-7dfa749c08d706f7273aa6f60cfafefa.css","loading.gif":"loading-e8e6dd7833131c92a6c3b9c8ccc6a6ac.gif","progressbar.gif":"progressbar-82023a146fba2a0f6d925629ed2b09c5.gif"}}