jpmobile 3.0.4 → 3.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/README.rdoc +9 -0
- data/VERSION.yml +1 -1
- data/jpmobile.gemspec +2 -3
- data/lib/jpmobile.rb +10 -1
- data/lib/jpmobile/emoticon.rb +65 -2
- data/lib/jpmobile/emoticon/google.rb +2421 -0
- data/lib/jpmobile/emoticon/unicode.rb +2253 -0
- data/lib/jpmobile/emoticon/z_combine.rb +17 -1
- data/lib/jpmobile/mail.rb +2 -1
- data/lib/jpmobile/mobile/abstract_mobile.rb +1 -1
- data/lib/jpmobile/mobile/android.rb +2 -0
- data/lib/jpmobile/mobile/android_tablet.rb +2 -0
- data/lib/jpmobile/mobile/black_berry.rb +10 -0
- data/lib/jpmobile/mobile/google_emoticon.rb +29 -0
- data/lib/jpmobile/mobile/ipad.rb +2 -0
- data/lib/jpmobile/mobile/iphone.rb +1 -25
- data/lib/jpmobile/mobile/unicode_emoticon.rb +43 -0
- data/lib/jpmobile/rack.rb +6 -1
- data/lib/jpmobile/rack/filter.rb +14 -12
- data/lib/jpmobile/rails.rb +1 -1
- data/lib/jpmobile/util.rb +15 -1
- data/spec/rack/jpmobile/black_berry_spec.rb +20 -0
- data/spec/rack/jpmobile/emoticon_spec.rb +173 -0
- data/spec/rack/jpmobile/mobile_by_ua_spec.rb +1 -0
- data/spec/unit/email-fixtures/au-decomail2.eml +64 -0
- data/spec/unit/emoticon_spec.rb +60 -0
- data/spec/unit/receive_mail_spec.rb +32 -24
- data/spec/unit/spec_helper.rb +1 -1
- data/spec/unit/util_spec.rb +24 -0
- data/test/rails/overrides/Gemfile +3 -1
- data/tools/e4u_conv.rb +122 -0
- data/tools/emoji4unicode.xml +2266 -0
- metadata +13 -4
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jpmobile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-08-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: jeweler
|
@@ -35,7 +35,7 @@ dependencies:
|
|
35
35
|
requirements:
|
36
36
|
- - ~>
|
37
37
|
- !ruby/object:Gem::Version
|
38
|
-
version: 3.2.
|
38
|
+
version: 3.2.8
|
39
39
|
type: :development
|
40
40
|
prerelease: false
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
requirements:
|
44
44
|
- - ~>
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 3.2.
|
46
|
+
version: 3.2.8
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -311,7 +311,9 @@ files:
|
|
311
311
|
- lib/jpmobile/emoticon/au.rb
|
312
312
|
- lib/jpmobile/emoticon/conversion_table.rb
|
313
313
|
- lib/jpmobile/emoticon/docomo.rb
|
314
|
+
- lib/jpmobile/emoticon/google.rb
|
314
315
|
- lib/jpmobile/emoticon/softbank.rb
|
316
|
+
- lib/jpmobile/emoticon/unicode.rb
|
315
317
|
- lib/jpmobile/emoticon/z_combine.rb
|
316
318
|
- lib/jpmobile/encoding.rb
|
317
319
|
- lib/jpmobile/filter.rb
|
@@ -327,14 +329,17 @@ files:
|
|
327
329
|
- lib/jpmobile/mobile/android.rb
|
328
330
|
- lib/jpmobile/mobile/android_tablet.rb
|
329
331
|
- lib/jpmobile/mobile/au.rb
|
332
|
+
- lib/jpmobile/mobile/black_berry.rb
|
330
333
|
- lib/jpmobile/mobile/ddipocket.rb
|
331
334
|
- lib/jpmobile/mobile/docomo.rb
|
332
335
|
- lib/jpmobile/mobile/emobile.rb
|
336
|
+
- lib/jpmobile/mobile/google_emoticon.rb
|
333
337
|
- lib/jpmobile/mobile/ipad.rb
|
334
338
|
- lib/jpmobile/mobile/iphone.rb
|
335
339
|
- lib/jpmobile/mobile/smart_phone.rb
|
336
340
|
- lib/jpmobile/mobile/softbank.rb
|
337
341
|
- lib/jpmobile/mobile/tablet.rb
|
342
|
+
- lib/jpmobile/mobile/unicode_emoticon.rb
|
338
343
|
- lib/jpmobile/mobile/vodafone.rb
|
339
344
|
- lib/jpmobile/mobile/willcom.rb
|
340
345
|
- lib/jpmobile/mobile/windows_phone.rb
|
@@ -355,6 +360,7 @@ files:
|
|
355
360
|
- lib/tasks/jpmobile_tasks.rake
|
356
361
|
- spec/rack/jpmobile/android_spec.rb
|
357
362
|
- spec/rack/jpmobile/au_spec.rb
|
363
|
+
- spec/rack/jpmobile/black_berry_spec.rb
|
358
364
|
- spec/rack/jpmobile/docomo_spec.rb
|
359
365
|
- spec/rack/jpmobile/emoticon_spec.rb
|
360
366
|
- spec/rack/jpmobile/filter_spec.rb
|
@@ -369,6 +375,7 @@ files:
|
|
369
375
|
- spec/unit/decorated_mail_spec.rb
|
370
376
|
- spec/unit/email-fixtures/au-attached.eml
|
371
377
|
- spec/unit/email-fixtures/au-decomail.eml
|
378
|
+
- spec/unit/email-fixtures/au-decomail2.eml
|
372
379
|
- spec/unit/email-fixtures/au-email.eml
|
373
380
|
- spec/unit/email-fixtures/au-emoji.eml
|
374
381
|
- spec/unit/email-fixtures/au-emoji2.eml
|
@@ -514,7 +521,9 @@ files:
|
|
514
521
|
- test/sinatra/test/filter_test.rb
|
515
522
|
- test/sinatra/views/index.erb
|
516
523
|
- test/sinatra/views/index_mobile.erb
|
524
|
+
- tools/e4u_conv.rb
|
517
525
|
- tools/emoji/genregexp.rb
|
526
|
+
- tools/emoji4unicode.xml
|
518
527
|
- tools/generate_au_emoticon_table.rb
|
519
528
|
- tools/generate_docomo_emoticon_table.rb
|
520
529
|
- tools/generate_emoticon_conversion_table.rb
|