meteor 0.9.31 → 0.9.33

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
  SHA256:
3
- metadata.gz: 0a07049197feba7588f185bc3e09a1e317311550c569a0a1d9c88b35b691a20a
4
- data.tar.gz: 2c68ad38fa85a94d152d6bcc7164a729783ab9ac65b74849686eff8d3da6607a
3
+ metadata.gz: aee5fe80580b85e242d09084d6b8a62d9441e0f71b6dbed9b5547a7d9f7793c9
4
+ data.tar.gz: 6916f483a9c4c997a99ca621a61f85252e786da041390868a53bb4ae8aa14bb7
5
5
  SHA512:
6
- metadata.gz: f0ec104f5b8efe669f127107361c33e8b8cb67f80e9c2f6d5c364a96f9b80941c2875e46e0879bf75fc6927e6c7f8fc78b5f78c440bb4226d7082819012d47d4
7
- data.tar.gz: fc28df5f7f11cb17bfe6f3323be3fac2713431d9409689cd74289cc83e1d328121d0a75920d55d111c978b9ae643edb06df68756d8b06694fcdafcd0d9ce83e7
6
+ metadata.gz: 34cbbd6f67e78e0a373dbe2f974386f7cd31d4975f84c8d00a3f8cf6c9f9db95d429a54a146f7f13753f5e9381f2bdebd4dbf40b64d6d44084170a20591e308e
7
+ data.tar.gz: 81bf0b803457c58f21c819e29866d02025d8c0749f29665c4dbd40821e3dcbd06a04a271518c25d814bd6c40a7c63af41d58a2d48feb394098b490d4cf15422b
data/ChangeLog CHANGED
@@ -1,3 +1,11 @@
1
+ == 0.9.33 / 2026-07-04 Yasumasa Ashida <ys.ashida@gmail.com>
2
+
3
+ * Refactoring
4
+
5
+ == 0.9.32 / 2026-07-04 Yasumasa Ashida <ys.ashida@gmail.com>
6
+
7
+ * Refactoring
8
+
1
9
  == 0.9.31 / 2026-07-03 Yasumasa Ashida <ys.ashida@gmail.com>
2
10
 
3
11
  * Refactoring
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- meteor (0.9.31)
4
+ meteor (0.9.33)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/demo/xhtml.rb CHANGED
@@ -8,7 +8,7 @@ require 'meteor'
8
8
  Meteor::Elements.add(:xhtml, 'ml/sample_xhtml.html')
9
9
  root = Meteor::Elements.get('/ml/sample_xhtml')
10
10
 
11
- startTime = Time.new.to_f
11
+ start_time = Time.new.to_f
12
12
 
13
13
  elm_hello = root.element(id: 'hello')
14
14
  # elm_hello.attr(class: "red")
@@ -85,11 +85,11 @@ end
85
85
 
86
86
  root.flash
87
87
 
88
- endTime = Time.new.to_f
88
+ end_time = Time.new.to_f
89
89
 
90
90
  puts(root.document)
91
91
 
92
92
  puts("charset:#{root.charset}")
93
93
  puts("content-type:#{root.content_type}")
94
94
 
95
- puts("#{endTime - startTime} sec")
95
+ puts("#{end_time - start_time} sec")
data/demo/xhtml4.rb CHANGED
@@ -8,7 +8,7 @@ require 'meteor'
8
8
  Meteor::Elements.add(:xhtml4, 'ml/sample_xhtml4.html', 'UTF-8')
9
9
  root = Meteor::Elements.get('/ml/sample_xhtml4')
10
10
 
11
- startTime = Time.new.to_f
11
+ start_time = Time.new.to_f
12
12
 
13
13
  elm_hello = root.element('id', 'hello')
14
14
  # elm_hello.attr(class: "red")
@@ -82,11 +82,11 @@ end
82
82
 
83
83
  root.flash
84
84
 
85
- endTime = Time.new.to_f
85
+ end_time = Time.new.to_f
86
86
 
87
87
  puts(root.document)
88
88
 
89
89
  puts("charset:#{root.charset}")
90
90
  puts("content-type:#{root.content_type}")
91
91
 
92
- puts("#{endTime - startTime} sec")
92
+ puts("#{end_time - start_time} sec")
@@ -15,9 +15,9 @@ module Meteor
15
15
  def initialize(*args)
16
16
  case args.length
17
17
  when ZERO
18
- initialize_0
18
+ initialize_zero
19
19
  when ONE
20
- initialize_1(args[0])
20
+ initialize_one(args[0])
21
21
  else
22
22
  raise ArgumentError
23
23
  end
@@ -26,24 +26,24 @@ module Meteor
26
26
  #
27
27
  # initializer (イニシャライザ)
28
28
  #
29
- def initialize_0
29
+ def initialize_zero
30
30
  @map = {}
31
31
  @recordable = false
32
32
  end
33
33
 
34
- private :initialize_0
34
+ private :initialize_zero
35
35
 
36
36
  #
37
37
  # initializer (イニシャライザ)
38
38
  # @param [Meteor::AttributeMap] attr_map attribute map (属性マップ)
39
39
  #
40
- def initialize_1(attr_map)
40
+ def initialize_one(attr_map)
41
41
  # @map = Marshal.load(Marshal.dump(attr_map.map))
42
42
  @map = attr_map.map.dup
43
43
  @recordable = attr_map.recordable
44
44
  end
45
45
 
46
- private :initialize_1
46
+ private :initialize_one
47
47
 
48
48
  #
49
49
  # set a couple of attribute name and attribute value (属性名と属性値を対としてセットする)