activesupport-inflector 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTZjNzQzNmViZTNiMDY4Yjc1NDgzMjIxNjgwODdlMjFjZGJmOGRmNw==
4
+ ZWJkYWRkZjQ0NjFiNDE0MDA1MGY0YTFmNWYxMDZjNGU0M2Q5MDE2NA==
5
5
  data.tar.gz: !binary |-
6
- Y2IzODljMTRjMzkxYWNlODE3MzgxZWQxMTBlZjZlZGI0ZGNiYWIzZQ==
6
+ ZDI3NTgwOTJmY2UxZDI2M2MxMzkwMDgxYzM1Zjc4MGY0NGMxYjkxMg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YzY0ZWYyZDNhZDFkYjAxYzBmMTU2ZmJjY2ZmOTZiOGE1OGI2Y2FkYzFmNjkw
10
- Yjc2ODM4ZmY1ZTUyMDA5M2FhZjA1ZmVlOTUxODUzOTdiOGVlOGJmZjU0MzBm
11
- M2M4M2E2MmY4NWI3ZmE5MzIxYjAxZGNhNGY2YjFkYzVjNDdlYjU=
9
+ ZTYzYTY1MmUyMGU3Nzk3MjFiOGEzZjNiMzdjZTdkZDNjZmIxNzkyZGJjMWVh
10
+ ZDcwNTBmMTFiNzI3MmI3ODkxY2IxNjhhZTU2Mjk0ZjNhOWUzMmNlNDRlNDdl
11
+ MGQwYTg1MWVhMjk3MzA1ZDBiMDUyYjRhM2MwMTE0NTM2MWM4ODA=
12
12
  data.tar.gz: !binary |-
13
- ZDYyZTQ0OTk0ZTBjZjc4MGRkNmRlYmY4MDAxNTYyZjI4M2Y4NWRlNmVlMWY0
14
- YzgyMTk5NzIwMzkxNjZlODc3YmRmZTNmYjhjMWIxMjExYmU2ZDdiZjZhYzg3
15
- ZWU1M2Y1YzU3YWY5Yjk3M2UxMjdjNDVkNGRiYWJjYTA3ZGE1NWM=
13
+ MjM2MDMxMjczYmY1ZWQxMDE2ODc4YzJjYmEyZThhNTI0YjQxMGQwNDYxYWNk
14
+ OThlZmIzZTAyMmVlOWY0Mzc0YmMwNTgxNmExMmU3YWQ2MDE1ZDNiMzBkYzVm
15
+ MmI2YjUyZTU1NWJhN2FiNTNjNjM5N2RkZWY1ZDIxMTU1Nzg1YzI=
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = 'activesupport-inflector'
7
- gem.version = '0.0.1'
7
+ gem.version = '0.0.2'
8
8
  gem.date = '2012-10-19'
9
9
  gem.summary = %q{Only the Inflector part of ActiveRecord.}
10
10
  gem.authors = ['Caleb Clark']
@@ -0,0 +1,36 @@
1
+ en:
2
+ date:
3
+ formats:
4
+ # Use the strftime parameters for formats.
5
+ # When no format has been given, it uses default.
6
+ # You can provide other formats here if you like!
7
+ default: "%Y-%m-%d"
8
+ short: "%b %d"
9
+ long: "%B %d, %Y"
10
+
11
+ day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
12
+ abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
13
+
14
+ # Don't forget the nil at the beginning; there's no such thing as a 0th month
15
+ month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
16
+ abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
17
+ # Used in date_select and datetime_select.
18
+ order:
19
+ - :year
20
+ - :month
21
+ - :day
22
+
23
+ time:
24
+ formats:
25
+ default: "%a, %d %b %Y %H:%M:%S %z"
26
+ short: "%d %b %H:%M"
27
+ long: "%B %d, %Y %H:%M"
28
+ am: "am"
29
+ pm: "pm"
30
+
31
+ # Used in array.to_sentence.
32
+ support:
33
+ array:
34
+ words_connector: ", "
35
+ two_words_connector: " and "
36
+ last_word_connector: ", and "
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport-inflector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark
@@ -35,6 +35,7 @@ files:
35
35
  - lib/active_support/inflector/methods.rb
36
36
  - lib/active_support/inflector/transliterate.rb
37
37
  - lib/active_support/lazy_load_hooks.rb
38
+ - lib/active_support/locale/en.yml
38
39
  - lib/active_support/multibyte.rb
39
40
  - lib/active_support/multibyte/chars.rb
40
41
  - lib/active_support/multibyte/exceptions.rb