rubysl-rational 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ require File.expand_path('../../../shared/rational/truncate', __FILE__)
2
+
3
+ ruby_version_is ""..."1.9" do
4
+ describe "Rational#truncate" do
5
+ it_behaves_like(:rational_truncate, :truncate)
6
+ end
7
+ end
metadata CHANGED
@@ -1,118 +1,145 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rubysl-rational
3
- version: !ruby/object:Gem::Version
4
- hash: 856480538658449761
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- version: 0.0.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Brian Shirai
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-04-15 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: redcard
11
+ date: 2013-08-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.3'
20
+ type: :development
22
21
  prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
26
24
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 4428665182548103036
29
- segments:
30
- - 1
31
- - 0
32
- version: "1.0"
33
- type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
25
+ - !ruby/object:Gem::Version
26
+ version: '1.3'
27
+ - !ruby/object:Gem::Dependency
36
28
  name: rake
37
- prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
41
31
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 1510892033553700768
44
- segments:
45
- - 10
46
- - 0
47
- version: "10.0"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
48
34
  type: :development
49
- version_requirements: *id002
50
- - !ruby/object:Gem::Dependency
51
- name: mspec
52
35
  prerelease: false
53
- requirement: &id003 !ruby/object:Gem::Requirement
54
- none: false
55
- requirements:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
56
38
  - - ~>
57
- - !ruby/object:Gem::Version
58
- hash: 1660815245844205030
59
- segments:
60
- - 1
61
- - 5
62
- version: "1.5"
63
- type: :development
64
- version_requirements: *id003
65
- description: Ruby Standard Library - rational
66
- email:
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: Ruby standard library rational.
42
+ email:
67
43
  - brixen@gmail.com
68
44
  executables: []
69
-
70
45
  extensions: []
71
-
72
46
  extra_rdoc_files: []
73
-
74
- files:
47
+ files:
75
48
  - .gitignore
49
+ - .travis.yml
76
50
  - Gemfile
77
51
  - LICENSE
78
52
  - README.md
79
53
  - Rakefile
80
- - lib/rubysl-rational.rb
81
- - lib/rubysl-rational/version.rb
54
+ - lib/rational.rb
55
+ - lib/rubysl/rational.rb
56
+ - lib/rubysl/rational/rational.rb
57
+ - lib/rubysl/rational/version.rb
82
58
  - rubysl-rational.gemspec
83
- homepage: ""
84
- licenses: []
85
-
59
+ - spec/Rational_spec.rb
60
+ - spec/abs_spec.rb
61
+ - spec/ceil_spec.rb
62
+ - spec/coerce_spec.rb
63
+ - spec/comparison_spec.rb
64
+ - spec/denominator_spec.rb
65
+ - spec/div_spec.rb
66
+ - spec/divide_spec.rb
67
+ - spec/divmod_spec.rb
68
+ - spec/equal_value_spec.rb
69
+ - spec/exponent_spec.rb
70
+ - spec/fdiv_spec.rb
71
+ - spec/floor_spec.rb
72
+ - spec/hash_spec.rb
73
+ - spec/initialize_spec.rb
74
+ - spec/inspect_spec.rb
75
+ - spec/minus_spec.rb
76
+ - spec/modulo_spec.rb
77
+ - spec/multiply_spec.rb
78
+ - spec/new_spec.rb
79
+ - spec/numerator_spec.rb
80
+ - spec/plus_spec.rb
81
+ - spec/quo_spec.rb
82
+ - spec/reduce_spec.rb
83
+ - spec/remainder_spec.rb
84
+ - spec/round_spec.rb
85
+ - spec/to_f_spec.rb
86
+ - spec/to_i_spec.rb
87
+ - spec/to_r_spec.rb
88
+ - spec/to_s_spec.rb
89
+ - spec/truncate_spec.rb
90
+ homepage: https://github.com/rubysl/rubysl-rational
91
+ licenses:
92
+ - BSD
93
+ metadata: {}
86
94
  post_install_message:
87
95
  rdoc_options: []
88
-
89
- require_paths:
96
+ require_paths:
90
97
  - lib
91
- required_ruby_version: !ruby/object:Gem::Requirement
92
- none: false
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- hash: 2002549777813010636
97
- segments:
98
- - 0
99
- version: "0"
100
- required_rubygems_version: !ruby/object:Gem::Requirement
101
- none: false
102
- requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- hash: 2002549777813010636
106
- segments:
107
- - 0
108
- version: "0"
98
+ required_ruby_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ required_rubygems_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
109
108
  requirements: []
110
-
111
109
  rubyforge_project:
112
- rubygems_version: 1.8.25
110
+ rubygems_version: 2.0.7
113
111
  signing_key:
114
- specification_version: 3
115
- summary: Ruby Standard Library - rational
116
- test_files: []
117
-
118
- has_rdoc:
112
+ specification_version: 4
113
+ summary: Ruby standard library rational.
114
+ test_files:
115
+ - spec/Rational_spec.rb
116
+ - spec/abs_spec.rb
117
+ - spec/ceil_spec.rb
118
+ - spec/coerce_spec.rb
119
+ - spec/comparison_spec.rb
120
+ - spec/denominator_spec.rb
121
+ - spec/div_spec.rb
122
+ - spec/divide_spec.rb
123
+ - spec/divmod_spec.rb
124
+ - spec/equal_value_spec.rb
125
+ - spec/exponent_spec.rb
126
+ - spec/fdiv_spec.rb
127
+ - spec/floor_spec.rb
128
+ - spec/hash_spec.rb
129
+ - spec/initialize_spec.rb
130
+ - spec/inspect_spec.rb
131
+ - spec/minus_spec.rb
132
+ - spec/modulo_spec.rb
133
+ - spec/multiply_spec.rb
134
+ - spec/new_spec.rb
135
+ - spec/numerator_spec.rb
136
+ - spec/plus_spec.rb
137
+ - spec/quo_spec.rb
138
+ - spec/reduce_spec.rb
139
+ - spec/remainder_spec.rb
140
+ - spec/round_spec.rb
141
+ - spec/to_f_spec.rb
142
+ - spec/to_i_spec.rb
143
+ - spec/to_r_spec.rb
144
+ - spec/to_s_spec.rb
145
+ - spec/truncate_spec.rb
@@ -1,7 +0,0 @@
1
- require "rubysl-rational/version"
2
-
3
- module RubySL
4
- module Rational
5
- # Your code goes here...
6
- end
7
- end