Skip to content

Commit 62827e8

Browse files
author
Hirav Gandhi
committed
Bump stable version to 1.4.0 and unstable to 2.0.0-alpha.25
1 parent 21e902a commit 62827e8

29 files changed

+38045
-80285
lines changed

lib/angularjs-rails/version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module AngularJS
22
module Rails
3-
VERSION = "1.3.15"
4-
UNSTABLE_VERSION = "1.3.15"
3+
VERSION = "1.4.0"
4+
UNSTABLE_VERSION = "2.0.0-alpha.25"
55
end
66
end

tasks/angularjs-rails/stable_updater.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ def current_gem_version
66
Versionomy.parse(AngularJS::Rails::VERSION).convert(:rubygems)
77
end
88

9+
# Currently stable versions have even minor
910
def own_version(version)
10-
# Currently stable versions have odd minor
11-
version.minor.odd?
11+
version.release_type == :final
1212
end
1313
end
1414
end

tasks/angularjs-rails/unstable_updater.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ def current_gem_version
1111
end
1212

1313
def own_version(version)
14-
# Currently unstable versions have odd minor
15-
version.minor.odd?
14+
# Currently unstable versions have some minor
15+
version.release_type != :final
1616
end
1717

1818
def version_constant_name

0 commit comments

Comments
 (0)