kamiflex 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 97f3dbf3bfc26ecc2c071d81cbd97f4118ee0c2efc1f88abeea671c0438a9958
4
- data.tar.gz: 6dc9d9790d72c6bcc07bfb38a6efb7119a5fdb6917a6ff605eb692d8c500aa7a
3
+ metadata.gz: 32440a7814168856b8d83fdfecbaacced9db2760db9d8ab870d0d5eff24cafbc
4
+ data.tar.gz: 58e75fdc79ea7dacb3023d08494812d264468acf990feac6f92339797f778938
5
5
  SHA512:
6
- metadata.gz: d5465b5268c6e3f2657f88b10c3eca98a145104324c9808727218a4bf433a61ac699b5b1be84bfeda1c782274a472c2f940d138a1f3ebb1fa88a77bcc8bc433d
7
- data.tar.gz: 41f4a7c6876ca7df6255094ea06092879371acfebd9bfb8e1bf1f737da2bcdf4071f05bf3634092ab5fdb246592560853045ea3e63d58f21542f5ccb2c40a8e4
6
+ metadata.gz: 549a8c3124a197a9fe198bcc7ce28ceb23202c54026d4d437f31029f0e722f4fe5f50b3bbeedb452be48eff5e48d4a9666a25969daf50ceb24af5955524a2056
7
+ data.tar.gz: '08c0c8f90e241f5c7864aa562bd466bbc81f66cd69054ed6b8ee1fefbc5ac5b4a12984ac967a2c60780281379d183b46c359a7fc468aaccd0572ce2221f7f3ed'
data/README.md CHANGED
@@ -97,7 +97,7 @@ bubble do
97
97
  end
98
98
  end
99
99
  else
100
- text "沒有目前內容", margin: "lg"
100
+ text "no contents yet", margin: "lg"
101
101
  end
102
102
  end
103
103
  end
data/lib/kamiflex.rb CHANGED
@@ -3,8 +3,6 @@ require "kamiflex/basic_elements"
3
3
  require "kamiflex/actions"
4
4
  require "kamiflex/quick_reply"
5
5
 
6
- Mime::Type.register "application/json", :line
7
-
8
6
  module Kamiflex
9
7
  def self.build(parent)
10
8
  parent.class.include Kamiflex::Core
@@ -15,4 +13,5 @@ module Kamiflex
15
13
  end
16
14
  end
17
15
 
16
+ Mime::Type.register "application/json", :line if defined?(Rails)
18
17
  require "kamiflex/railtie" if defined?(Rails)
@@ -1,3 +1,3 @@
1
1
  module Kamiflex
2
- VERSION = '0.3.0'
2
+ VERSION = '0.4.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kamiflex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - etrex kuo